home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Sensations!
/
sound_sensations.iso
/
soundb
/
sndhack
/
examp008.wsn
< prev
next >
Wrap
Text File
|
1991-07-28
|
431b
|
16 lines
; Be careful when setting the voice queue
; size. If it is set too small, subsequent
; requests to queue items to a voice queue
; will fail.
CloseSound();
OpenSound();
SetVoiceQueueSize(1, 10); 10 bytes is too small!!
SetVoiceNote(1, C4, 4, 0);
SetVoiceNote(1, C1, 4, 0); This request will fail!
SetVoiceNote(1, C1, 8, 0);
SetVoiceNote(1, C1, 4, 0);
StartSound();
WaitSoundState(S_QUEUEEMPTY);
CloseSound();