;=========================================================================== ; MODULE: WavManl.Txt ; AUTHOR: JohnMil ; DATE: 9/10/92 ; ; This data file is meant to act as a sanity check for the MCI WaveAudio ; driver. It attempts to run a representative set of commands on known ; audio files, and asks the user whether or not the results were as expected. ; It is IMPERATIVE that all questions be phrased in a manner such as 'Yes' ; indicates the correct behaviour, and 'No' indicates an error. ; ; Rules for construction of this data file can be found in MCI\MCIGen\TestLoop. ; ;=========================================================================== ; ; ; ;====================== TestCase TC_WAVE_SANITY ;====================== ; close all 0 open short.wav alias %alias% 0 1 capability %alias% inputs 0 ?Is the number displayed equal to the number of wave input devices on this machine? capability %alias% outputs 0 ?Is the number displayed equal to the number of wave output devices on this machine? info %alias% file 0 ?Is the path and filename for short.wav displayed? info %alias% input 0 ?Does the input shown correspond to the wave driver you have loaded? info %alias% output 0 ?Does the output shown correspond to the wave driver you have loaded? info %alias% input 0 =%InpDev% info %alias% output 0 =%OutDev% info %element% input 0 %InpDev% info %element% output 0 =%OutDev% info %element% product 0 ?Does the product name shown correspond to the output device? play %alias% wait 0 ?Did you hear the word 'Nie!'? seek %alias% to start wait 0 play %alias% wait 0 ?Did you hear the word 'Nie!'? set %alias% time format ms wait 0 play %alias% from 0 0 play %alias% from 0 0 play %alias% from 0 0 play %alias% from 0 0 play %alias% from 0 0 ?Did you hear 'Nie!' asynchronously at least once? close %alias% wait 0 play short.wav wait 0 ?Did you hear the word 'Nie!'? open medium.wav alias %alias% wait 0 1 play %alias% wait 0 ?Did you hear 'Welcome'? set %alias% time format ms wait 0 delete %alias% from 840 wait 0 play %alias% from 0 wait 0 ?Did you hear the 'Wel-' part of 'Welcome'? close %alias% wait 0 open medium.wav alias %alias% wait 0 1 delete %alias% to 840 wait 0 play %alias% from 0 wait 0 ?Did you hear the '-come' part of 'Welcome'? stop %alias% 0 close %alias% wait 0 open medium.wav alias %alias% wait 0 1 play %alias% 0 pause %alias% 0 ?Did 'Welcome' stop playing in the middle somewhere? resume %alias% wait 0 ?Did 'Welcome' pick up from the point where it left off? close %alias% wait 0 open new type %driver% alias %alias% wait 0 ?Select 'Yes', then speak into the microphone, then select 'Yes' to stop. record %alias% 0 ?Please select 'Yes' to stop recording. seek %alias% to start wait 0 play %alias% wait 0 ?Did the Sound you recorded play back? seek %alias% to start wait 0 ?Click on 'Yes' and speak for one second. record %alias% to 1000 insert wait 0 seek %alias% to start wait 0 play %alias% wait 0 ?Did you hear your new 1-second of sound inserted before your original recording? close %alias% wait 0 open medium.wav alias %alias% wait 0 1 save %alias% c:dog.tmp wait 0 close %alias% wait 0 open c:dog.tmp type waveaudio alias %alias% wait 0 1 play %alias% wait 0 ?Did you hear 'Welcome'? close %alias% 0 open %element% alias %alias% 0 1 play %alias% 0 status %alias% position 0 * status %alias% position 0 ?Look at the two positions given while the sound played. Are they realistic? seek %alias% to start 0 close all 0