Drawing sound

Chris nospam at [127.0.0.1]
Fri Sep 24 20:52:36 CEST 2004


I want a program that can "draw" sound.

Imagine drawing a graph of frequency against time -
and then being able to play it over the computer speakers.

Can this be done in Python?

As a start, consider this simple QBASIC program that generates random 
frequencies:

10 frequency = 40 + 400 * RND
20 SOUND frequency, 7
30 GOTO 10

That's fine - except that it plays over the PC speaker - the one that's 
just there for the happy beep - and not through the sound card and 
proper speakers.

Can that be done in Python?
Or in any other language?
-- 
Chris



More information about the Python-list mailing list