source: doc/python_module.rst @ 34abeaf

Last change on this file since 34abeaf was 34abeaf, checked in by Paul Brossier <>, 5 years ago

doc/*.rst: add simple documentation basis

  • Property mode set to 100644
File size: 658 bytes

aubio Python module

Building the module

From aubio source directory, run the following:

$ cd python
$ ./ build
$ sudo ./ install

Using the module

To use the python module, simply import aubio:

#! /usr/bin/env python
import aubio
s = aubio.source(sys.argv[1], 0, 256)
while True:
  samples, read = s()
  print samples
  if read < 256: break

Check out the python demos for aubio for more examples.

Note: See TracBrowser for help on using the repository browser.