home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chestnut's Multimedia Mania
/
MM_MANIA.ISO
/
players
/
sndhack
/
examp007.wsn
< prev
next >
Wrap
Text File
|
1991-07-28
|
619b
|
22 lines
; SndHack allows notes to be specified as the
; name of the note with the octave appended to
; the end. Sharps are specified by # or +
; and flats by -.
CloseSound();
OpenSound();
SetVoiceNote(1, 1, 4, 0); This note and the next are equivalent.
SetVoiceNote(1, C1, 4, 0);
SetVoiceNote(1, 13, 4, 0); This note and the next are equivalent.
SetVoiceNote(1, C2, 4, 0);
SetVoiceNote(1, C4, 4, 0); Plays C in Octave 4
SetVoiceNote(1, C#1, 4, 0); Plays C sharp in Octave 1
SetVoiceNote(1, G-3, 4, 0); Plays G flat in Octave 3
StartSound();
WaitSoundState(S_QUEUEEMPTY);
CloseSound();