Lastest release
- MARLib - Music Signal Processing and Analysis Library
- Under development by the Music and Audio Research Lab (MARL) at NYU http://marl.smusic.nyu.edu
- Provides
- Abstracted audio file reading & writing (internal buffering)
- Integration with SoX for various CODEC support
- Under Development
- Basic time-frequency transforms
- Integration with SoX for various CODEC support
How to use the documentation
Documentation is available inline as docstrings provided within the code. In time, it is our intention to host a Sphynx-like online reference to facilitate ease of use.
Examples provided assume that each module has been imported as its first characters in uppercase:
>>> import marlib.audiofile as AF >>> import marlib.timefreq as TF ...
...where code snippets are indicated by three greater-than signs.
Use the built-in help function to view a function's docstring:
>>> help(TF.mel)
Available subpackages
audiofile timefreq signal utils
Dependencies
This package builds upon freely available Python libraries at various stages of maturity:
- NumPy: Numerical Computing in Python
- SciPy: Scientific Computing in Python
Additionally, this library takes advantage of SoX, a command line utility for non-wave file support and audio file conversion. If you do not currently have SoX, it can be obtained here:
http://sox.sourceforge.net
SoX functionality is currently supported under Unix-like OS's only, (sorry, Windows). However, extending this library should be straightforward if necessary. Note that SoX is required only for file conversions and non-wave file formats, so - while strongly encouraged - SoX is not truly mandatory.