[Tutor] Writing to Sound

kb1pkl at aim.com kb1pkl at aim.com
Wed Sep 15 18:48:01 CEST 2010

-----Original Message-----
From: Alan Gauld <alan.gauld at btinternet.com>
To: tutor <tutor at python.org>
Sent: Wed, Sep 15, 2010 5:26 am
Subject: Re: [Tutor] Writing to Sound

"Corey Richardson" <kb1pkl at aim.com> wrote

> First off, here is what I'm doing. I'm taking pi (3.141592 etc. etc.
> etc.), taking two values at a time, and then mapping the two values
> to pitch and length. I'm then using winsound.Beep to beep for x ms,
> at y frequency.

So far I understand.

> What I want to do, is write that to file.

Write what?
The sound generated by Beep or the data used to drive Beep?


Alan Gauld
Author of the Learn to Program web site


  I want to write the sound generated by Beep to file, or sound at the 
same pitch and length. Sorry that that wasn't clear
~Corey RIchardson

More information about the Tutor mailing list