Mathematics of the Discrete Fourier Transform (DFT)



<< Previous page  TOC  INDEX  Next page >>

Pulse Code Modulation (PCM)

The ``standard'' number format for sampled audio signals is officially called Pulse Code Modulation (PCM). This term simply means that each signal sample is interpreted as a ``pulse'' (e.g., a voltage or current pulse) at a particular amplitude which is binary encoded, typically in two's complement binary fixed-point format (discussed below). When someons says they are giving you a soundfile in ``raw binary format'', they pretty much always mean (nowadays) 16-bit, two's-complement PCM data. Most mainstream computer soundfile formats consist of a ``header'' (containing the length, etc.) followed by 16-bit two's-complement PCM.

You can normally convert a soundfile from one computer's format to another by stripping off its header and prepending the header for the new machine (or simply treating it as raw binary format on the destination computer). The UNIX ``cat'' command can be used for this, as can the Emacs text editor (which handles binary data just fine). The only issue usually is whether the bytes have to be swapped (an issue discussed further below).

<< Previous page  TOC  INDEX  Next page >>

Back to Hardware Guides
"Music 320 Background Reader" by Julius O. Smith III, (Course Background Reader, Music 320). Copyright © 2001-01-02 by Julius O. Smith III. - Center for Computer Research in Music and Acoustics (CCRMA), Department of Electrical Engineering, Stanford University. This is a modified HTML version reproduced by permission.
| TXT | TXT+
Unless otherwise indicated, the contents of this site are copyright © Nicola Asuni - Tecnick.com s.r.l.
Tecnick.com s.r.l. - Sede Legale: Via Della Pace, 11 – 09044 – Quartucciu (CA) – ITALY - Capitale Sociale € 10.000,00 i.v. - P. IVA e C.F.: 02574420929 - C.C.I.A.A.: CA-2000-19195 - R.E.A.: 208980

Powered by Tecnick.com AIOCP (All In One Control Panel) GetJava Download Button
 
Technick.net - Tons of Hardware Information





Bookmark and Share