musical notes
- Posted by jstory at freenet.edmonton.ab.ca Oct 26, 2001
- 346 views
On the Atari ST way back in 1980s in GFA BASIC as I recall there was something called "sound()" or something like that. And it took four arguments: pitch, volume, duration, quality. The Atari ST had a special chip for sound that operated independently of the main chip. It was easy to make original "music" on the Atari ST. With DOS32 Euphoria we have "sound()" but with only pitch. With Win32 Euphoria, with win32lib.ew, we have playSound(), but it plays a WAV file. Is there any way with Win32 Euphoria to do what I used to do on the Atari ST? That is: sound(pitch,volume,duration,quality) One way might be to have a bunch of WAV files, each representing a musical note and a specific instrument. They could be named by instrument and frequency. For example "piano320.wav". Each one would be the duration of the shortest note in music. Where can I gitta holduv these wav files? Or is there a better idea? Jerry Story