Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uflorida!beach.cis.ufl.edu!se From: se@beach.cis.ufl.edu (Sina Eatemadi) Newsgroups: comp.sys.tandy Subject: Re: Sound from the CoCo-II with Basic09 Summary: sound from OS-9 Lev. 1 & 2 Keywords: OS-9, sound, speech pak Message-ID: <23834@uflorida.cis.ufl.EDU> Date: 13 Jul 90 02:54:00 GMT References: <9527.269c4a2d@pbs.org> <1990Jul12.135709.8232@hellgate.utah.edu> Sender: news@uflorida.cis.ufl.EDU Reply-To: se@beach.cis.ufl.edu () Organization: UF CIS Department Lines: 44 In article <1990Jul12.135709.8232@hellgate.utah.edu> smcgee%albion.utah.edu@cs.utah.edu (Scott Mcgee) writes: >In article <9527.269c4a2d@pbs.org> kellsworth@pbs.org (Video Magician) writes: >>I have a friend who has a Color Computer II and has just discovered >>OS9 and Basic09. (I have a Non-CoCo OS9 system so I can give some >>advice to him, but not to this question!) >> >>He wants to write Basic09 programs that will talk to the sound making >>capabilities of both the internal sound chip and the Sound Speech >>Cartridge. Does anyone have the addresses of these things handy? >>Also, are there any funny tricks to accessing them from Basi09, or >>is it pretty much straightforward POKE-ing? > >I would like any such info too. (for coco II or coco 3, & any version of >OS-9) > >Also, does anyone have a working driver or patches for the Speach/sound >pak and Level 2. > The CoCo's possess no "sound chip" per se, just about everything's handled by the CPU. Therefore, the sound capabilities are limited - especially under OS-9 where cpu-intensive tasks such as sound can't survive along side the operating system. Under Basic09, one can get a beep by sending a G to term. ( shell display 7) Also, one can achieve better effects by using the SS.Tone syscall. Here you can specify volume, duration, and pitch. Check the manual or get back to me if you need examples. If you have a Speech/Sound pak you're in luck. Tandy/MicroWare released both a driver and descriptor to run the Speech/Sound Pak (S/SP). All one needs to do is redirect standard ASCII text to the descriptor. ( list talk_to_me.txt > /ssp ) It's pretty amazing to see (hear) when you have several things going at once. Regarding poking sound - this will get you into trouble quick under such a well-behaved os as OS-9. Use the setstat calls for sound and the /ssp descriptor for speech.... check comp.os.os9 for more details or the listserver at pucc.princeton.edu. later, chris