[Coco] NitrOS9/BASIC09 equivalent SOUND and PLAY Commands

L. Curtis Boyle curtisboyle at sasktel.net
Sun Mar 1 21:58:39 EST 2020


SS.Tone (A SetStat call) can be called from BASIC09 with Syscall. If you are running the current NitrOS9 EOU, the GFX2 package also includes ‘Tone’, which will let you play a single not (ex. RUN gfx2(“Tone”,100,6,60), which lets you pick frequency, duration and volume).

L. Curtis Boyle
curtisboyle at sasktel.net



> On Mar 1, 2020, at 8:48 PM, Allen Huffman <alsplace at pobox.com> wrote:
> 
> On Mar 1, 2020, at 8:27 PM, pfitchjr at bellsouth.net wrote:
>> 
>> So do they exist?  I'm looking to use them with Basic09, not shell scripts. And a full featured music package isn't really what I need for my project.
> 
> OS-9 only had the built in S$Tone command, or whatever it was. It did a single voice, like BASIC. There were wrappers written that could translate PLAY style commands into the appropriate frequency and duration, but it wasn’t built in.
> 
> An OS-9 driver that halted IRQs and played multi voice music would certainly be doable, if multitasking was not needed during the music playback.
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
> 



More information about the Coco mailing list