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