hy, > But how can I distinguish between bass or treble values, so i can write > seperate handlers for the synchronisation of music like well, first you have to calculate the range each bin (frequency bands) has. compare to the supplied readme.txt
<snip> The width of the bin in Hertz (the frequency range of a value) is computed with the equation: df = 22050/(nbBins + 1) Hz. </snip> then you can decide which range the bass and treble covers e.g. the bass goes up to 400 Hz: bassValues = 400 / df so, now you have the number of values given by the xtra hope it helps. oli [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]