Message-ID: <8D53104ECD0CD211AF4000A0C9D60AE3511F54@probe-2.acclaim-euro.net> From: Shawn Hargreaves To: djgpp AT delorie DOT com Subject: Re: sound spectrum analysis Date: Thu, 11 Feb 1999 09:52:32 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1460.8) Content-Type: text/plain Reply-To: djgpp AT delorie DOT com Cminnican writes: > I am interested in writing some code to analyse sound in realtime > through the line in input on my soundcard. I would like to be able > to extract certain frequencies from the incoming sound and use these > values to create visual effects that respond to the music as it is > playing. You need to do a Fourier analysis of the input data. That's quite a complex operation, but you can probably find some code for it on the net (sorry, I don't know where). Alternatively, you should be able to find descriptions of the algorithm in a computing or math textbook: check the library. > Any help would be appreciated such as how to receive data from the > line in The Allegro library (http://www.talula.demon.co.uk/allegro) can do this for you. Look at the akaitest program for some example code. Shawn Hargreaves.