Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Python library to create an image of a song's waveform
C Python
Branch: cmodule
Pull request Compare This branch is 9 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
deprecated
.gitignore
README
cwaveformmodule.c
setup.py
waveform.py

README

waveform python module. Synopsis:

import waveform

# quickly draw the waveform of an mp3 file to 
waveform.draw("infile.mp3", "outfile.png", (800, 100), bgColor=(0,0,0,0),
    fgColor=(0,0,128,255))


Supported audio formats:
libsndfile + libmad123, e.g.:
wav
aiff
au
ogg
flac
mp3

Supported graphic formats:
pretty much anything as far as I know. ImageMagick is pretty hefty.
Something went wrong with that request. Please try again.