[Tutor] Python + Sound

Alan Gauld alan.gauld at btinternet.com
Sat Feb 12 10:43:28 CET 2011


"David Hutto" <smokefloat at gmail.com> wrote

> and what is sound, electromagnetically transmitted, then turned into
> ones and zeroes.

Just to be picky sound is mechanical waves not electromagnetic.
The ear is primarily a mechanical device.

Audio is the more general term to describe signalling which
represents sound. And audio can be transmitted as electromagnetic
waves. The other big thing about audio is that it is analog not 
digital.

So to represent a binary digital signal using audio you need to
define one audio signal frequency for 1 and another for 0.

HTH,

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/




More information about the Tutor mailing list