Hello all. I'm writing a program that needs to capture audio from a soundcard 
and run FFTs to determine peak frequency for further processing. The 
soundcard's native capture format is 16-bit little-endian signed integer 
samples (values 0-65535), and of course the FFT function requires 
floating-point values (-1.0 - +1.0).

So, what is the most efficient way to do the necessary conversion? I'm using 
the pyalsaaudio module to access the soundcard, if it matters.

-Joe Veldhuis
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to