Re: musical notes
- Posted by David Cuny <dcuny at LANSET.COM> Oct 27, 2001
- 337 views
Jerry Story wrote: > On the Atari ST way back in 1980s in GFA BASIC > as I recall there was something called "sound()" > or something like that. For the most part, that's been replaced with MIDI. Andrew Greenwood has written a MIDI library that runs under Win32Lib, and a MPU-401 library that runs under DOS. An MPU-401 is a 'generic' type of device for sending information to an external MIDI device, but most SoundBlasters will interpret this for you if you don't have an external MIDI device. I've written a wrapper around Anderew's MIDI library that simplifies working with it. If you are interested in working with .WAV files, Pete Eberlein wrote a MOD tracker for DOS in Euphoria. This can play .WAV file samples in real time, essentially turning your computer into a 4 note digital sampler. I'd take the MIDI route myself. It's a lot simpler to use than real-time mixing, and if you have a decent soundcard, you can get excellent sound quality. -- David Cuny