Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!kent From: kent@swrinde.nde.swri.edu (Kent D. Polk) Newsgroups: comp.sys.amiga Subject: Re: looking for music/sound C code Keywords: sound music C C++ source code Message-ID: <25706@swrinde.nde.swri.edu> Date: 22 Mar 90 21:02:09 GMT References: <2240@osc.COM> Reply-To: kent@swrinde.UUCP (Kent D. Polk) Organization: Southwest Research Institute, San Antonio, Texas Lines: 21 In article <2240@osc.COM> george@flamingo.UUCP (George Baggott) writes: > >I'm looking for some C or C++ code that will allow me to access the Amiga's >sound capabilities to play a musical note or a frequency. The function I >have in mind might be used something like: > > frequency_play(440.0); /* play a 440 Hz signal */ Get a copy of Rob Peck's AudioTools.c. It has lots of nice features to get you up and running very quickly. It has a bit of overhead, so may not be the best for really fast applications, but for simple ones it really takes the pain out of programming sound on this machine. You can queue up notes, frequencies, samples & light them off. You can Wait() at a message port for a particular note to start playing & more... ==================================================================== Kent Polk - Southwest Research Institute - kent@swrinde.nde.swri.edu Motto : "Anything worth doing is worth overdoing" ====================================================================