[Coco] NitrOS9/BASIC09 equivalent SOUND and PLAY Commands

pfitchjr at bellsouth.net pfitchjr at bellsouth.net
Mon Mar 2 18:45:31 EST 2020


Curtis, forgive me. I thought Nitros 3.3.0 was EOU. I now know it isn't.  I've downloaded EOU Beta 4.  Lets see what I can do with this.

-----Original Message-----
From: Coco <coco-bounces at maltedmedia.com> On Behalf Of L. Curtis Boyle
Sent: Sunday, March 1, 2020 9:59 PM
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Subject: Re: [Coco] NitrOS9/BASIC09 equivalent SOUND and PLAY Commands

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
> 


-- 
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list