AIFC (Python and audio files.)

Erik de Castro Lopo nospam at mega-nerd.com
Sun Jul 13 22:48:01 EDT 2003


Kelvin Chu wrote:
> 
> Hello, Python Wizards...
> 
> I'm trying to use Python to write an aiff file.  I've used the aifc module
> and I've set the parameters (# of channels, encoding rate, compression,
> etc.)
> 
> What does raw audio data look like?  Is each word of the raw audio data a
> frequency?  If I encode 440 for each of the frames, will I get concert A?

AIFC files contain digitally sampled sound, much like the data
stored on a CDROM.

Try looking up PCM (Pulse Code Modulation) on Google for a deeper 
explanation.

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  nospam at mega-nerd.com (Yes it's valid)
+-----------------------------------------------------------+
The word "Windows" is a word out of an old dialect of the 
Apaches. It means: "White man staring through glass-screen 
onto an hourglass..."




More information about the Python-list mailing list