|
| 1 | +auditok, an AUDIo TOKenization tool |
| 2 | +=================================== |
| 3 | + |
| 4 | +.. image:: https://travis-ci.org/amsehili/auditok.svg?branch=master |
| 5 | + :target: https://travis-ci.org/amsehili/auditok |
| 6 | + |
| 7 | +.. image:: https://readthedocs.org/projects/auditok/badge/?version=latest |
| 8 | + :target: http://auditok.readthedocs.org/en/latest/?badge=latest |
| 9 | + :alt: Documentation Status |
| 10 | + |
| 11 | +**auditok** is an **Audio Activity Detection** tool that can process online data (read from an audio device or from standard input) as well as audio files. It can be used as a command line program and offers an easy to use API. |
| 12 | + |
| 13 | +The latest version of this documentation can be found at `Readthedocs <http://auditok.readthedocs.org/en/latest/>`_. |
| 14 | + |
| 15 | +Requirements |
| 16 | +------------ |
| 17 | + |
| 18 | +`auditok` can be used with standard Python! |
| 19 | + |
| 20 | +However if you want more features, the following packages are needed: |
| 21 | + |
| 22 | +- `Pydub <https://github.com/jiaaro/pydub>`_ : read audio files of popular audio formats (ogg, mp3, etc.) or extract audio from a video file |
| 23 | + |
| 24 | +- `PyAudio <http://people.csail.mit.edu/hubert/pyaudio/>`_ : read audio data from the microphone and play back detections |
| 25 | + |
| 26 | +- `matplotlib <http://matplotlib.org/>`_ : plot audio signal and detections (see figures above) |
| 27 | + |
| 28 | +- `numpy <http://www.numpy.org>`_ : required by matplotlib. Also used for math operations instead of standard python if available |
| 29 | + |
| 30 | +- Optionally, you can use **sox** or **parecord** for data acquisition and feed **auditok** using a pipe. |
| 31 | + |
| 32 | +Installation |
| 33 | +------------ |
| 34 | + |
| 35 | +.. code:: bash |
| 36 | +
|
| 37 | + git clone https://github.com/amsehili/auditok.git |
| 38 | + cd auditok |
| 39 | + sudo python setup.py install |
| 40 | +
|
| 41 | +
|
| 42 | +
|
| 43 | +Getting started |
| 44 | +--------------- |
| 45 | + |
| 46 | +- `Command-line Usage Guide <http://auditok.readthedocs.org/en/latest/cmdline.html>`_ |
| 47 | +- `API Tutorial <http://auditok.readthedocs.org/en/latest/apitutorial.html>`_ |
| 48 | +- `API Reference <http://auditok.readthedocs.org/en/latest/index.html>`_ |
0 commit comments