Pysound soundfile module

Martin McBride

The Pysound soundfile module stores a buffer as an uncompressed WAV file.

A future version will support reading WAV files, and may support other formats.


Saves a sound buffer as a WAV file.

save(params, filename, source)
Parameter Type Description
params BufferParams Length and sample rate of output sound
filename String File path of sound file to be created
source Sound buffer Buffer containing sound to be saved

Save the data in teh sound buffer as a WAV file. params specifies the sample rate.

Sign up to the Creative Coding Newletter

Join my newsletter to receive occasional emails when new content is added, using the form below:

Popular tags

ebooks fractal generative art generativepy generativepy tutorials github koch curve l systems mandelbrot open source productivity pysound python recursion scipy sine sound spriograph tinkerbell turtle writing