Pysound soundfile module

Martin McBride
2021-10-03

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.

save

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.

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