Drawing sound

Elaine Jackson elainejackson7355 at home.com
Fri Sep 24 19:00:32 EDT 2004


It sounds like you are looking for something along the following lines:

<QUOTE>
The Snack Sound Toolkit is designed to be used with a scripting language such as
Tcl/Tk or Python. Using Snack you can create powerful multi-platform audio
applications with just a few lines of code. Snack has commands for basic sound
handling, such as playback, recording, file and socket I/O. Snack also provides
primitives for sound visualization, e.g. waveforms and spectrograms. It was
developed mainly to handle digital recordings of speech, but is just as useful
for general audio. Snack has also successfully been applied to other
one-dimensional signals.
</QUOTE>

If so, you can download it from here:

http://www.speech.kth.se/snack/

HTH

"Chris" <nospam@[127.0.0.1]> wrote in message
news:ttNMvZB0zGVBFwRQ@[127.0.0.1]...
| 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