Generating sin/square waves sound
Paulo da Silva
p_s_d_a_s_i_l_v_a at netcabo.pt
Mon Jan 2 02:31:13 EST 2012
Em 30-12-2011 11:23, mblume escreveu:
> Am Fri, 30 Dec 2011 07:17:13 +0000 schrieb Paulo da Silva:
...
> Alternatively you might just generate (t,signal) samples, write them to
> a file and convert them using "sox" (under Linux, might also be available
> under Windows) to another format.
>
As much as I could understand at a 1st look you are writing to a wav
file and then play the file.
It would be nice if I could play directly the samples.
Anyway I'll take a look at the wave module.
Thanks
More information about the Python-list
mailing list