RE: musical notes
- Posted by Larry Mears <LarryMears at hotmail.com> Oct 28, 2001
- 354 views
jstory at freenet.edmonton.ab.ca wrote: > 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. It wasn't all that good. I used GIST to program the sound effects in the "Instant Graphics!" desk accessory. Some called it IGS it was used on Atari ST BBS systems in the 1980's for online graphics before HTML, gee I don't miss the 2400 baud modems! :) Still that was warp speed compared to the 300 baud modem I had when I first went online. > 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. > Jerry Story > > There's a file in the archieve here for EXW that will let you play a pitch using the PC speaker, you could add duration easily but I don't think the volume can be controlled. The file is called soundwin.zip The 2nd option would be to program the sound blaster directly. Maybe use SBFMDRV.COM and program the FM Voices. Look for a Abacus book called "The Sound Blaster Book" by Axel Stolz ISBN 1-55755-164-2 ...Larry Mears