Category : Windows 3.X Files
Archive   : SNDHACK.ZIP
Filename : EXAMP011.WSN

 
Output of file : EXAMP011.WSN contained in archive : SNDHACK.ZIP
;The call to SetVoiceThreshold sets the
;threshold level to 2 notes in this example.
;This causes the last notes in the voice
;queue to be lost since the last call to
;CloseSound() will flush the voice queue.

CloseSound();
OpenSound();

;Warning: Do not set the threshold level
;to 4 or greater in this example. This
;will cause the WaitSoundState to hang
;forever.

SetVoiceThreshold(1, 2);
SetVoiceNote(1, 1, 4, 0);
SetVoiceNote(1, 13, 4, 0);
SetVoiceNote(1, 25, 4, 0);
SetVoiceNote(1, 37, 4, 0);

StartSound();
WaitSoundState(S_THRESHOLD);
CloseSound();


  3 Responses to “Category : Windows 3.X Files
Archive   : SNDHACK.ZIP
Filename : EXAMP011.WSN

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/