; 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();