source: python/README.md @ 007c0a1

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change on this file since 007c0a1 was 007c0a1, checked in by Paul Brossier <piem@piem.org>, 6 years ago

[doc] move api references to doc, simplify pip instructions, add conda section

  • Property mode set to 100644
File size: 2.8 KB
Line 
1aubio
2=====
3
4aubio is a collection of tools for music and audio analysis.
5
6This package integrates the aubio library with [NumPy] to provide a set of
7efficient tools to process and analyse audio signals, including:
8
9- read audio from any media file, including videos and remote streams
10- high quality phase vocoder, spectral filterbanks, and linear filters
11- Mel-Frequency Cepstrum Coefficients and standard spectral descriptors
12- detection of note attacks (onset)
13- pitch tracking (fundamental frequency estimation)
14- beat detection and tempo tracking
15
16aubio works with both Python 2 and Python 3.
17
18Built with
19----------
20
21The core of aubio is written in C for portability and speed. In addition to
22[NumPy], aubio can be optionally built to use one or more of the following
23libraries:
24
25- media file reading:
26
27    - [ffmpeg](https://ffmpeg.org) / [avcodec](https://libav.org) to decode and
28      read audio from almost any format,
29    - [libsndfile](http://www.mega-nerd.com/libsndfile/) to read audio from
30      uncompressed sound files,
31    - [libsamplerate](http://www.mega-nerd.com/SRC/) to re-sample audio signals
32    - [CoreAudio](https://developer.apple.com/reference/coreaudio) to read all
33      media files supported natively on macOS, iOS, and tvOS.
34
35- hardware acceleration:
36
37    - [Atlas](http://math-atlas.sourceforge.net/) and
38      [Blas](https://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms),
39      for accelerated vector and matrix computations,
40    - [fftw3](http://fftw.org), to compute fast Fourier Transforms of any size.
41    - [Accelerate](https://developer.apple.com/reference/accelerate) for
42      hardware accelerated FFT and matrix computations on macOs and iOS,
43    - [Intel IPP](https://software.intel.com/en-us/intel-ipp), accelerated
44      vector computation and FFT implementation,
45
46Documentation
47-------------
48
49- [module documentation][doc_python]
50- [installation][doc_python_install]
51- [aubio manual][manual]
52- [aubio homepage][homepage]
53
54[manual]: https://aubio.org/manual/latest/
55[doc_python]: https://aubio.org/manual/latest/python.html
56[doc_python_install]: https://aubio.org/manual/latest/python_module.html
57[homepage]: https://aubio.org
58[NumPy]: https://www.numpy.org
59
60Finding some inspiration
61------------------------
62
63Some examples are available in the `python/demos` directory. These scripts are
64small programs written in python and using python-aubio.
65
66For instance, `demo_source.py` reads a media file.
67
68    $ ./python/demos/demo_source.py /path/to/sound/sample.wav
69
70and `demo_timestretch_online.py` stretches the original file into a new one:
71
72    $ ./python/demo/demo_timestretch_online.py loop.wav stretched_loop.wav 0.92`
73
74Note: you might need to install additional modules to run some of the demos.
75Some demos use [matplotlib](http://matplotlib.org/) to draw plots, others use
76[PySoundCard](https://github.com/bastibe/PySoundCard) to play and record
77sounds.
Note: See TracBrowser for help on using the repository browser.