annotate README.md @ 13:a6129c3f3624

Update .travis.yml
author Amine SEHILI <amsehili@users.noreply.github.com>
date Tue, 24 Nov 2015 02:05:43 +0100
parents e4de06f4f6f8
children f26d19ad119d
rev   line source
amsehili@11 1 [![Build Status](https://travis-ci.org/amsehili/auditok.svg?branch=master)](https://travis-ci.org/amsehili/auditok)
amsehili@11 2 AUDIo TOKenizer
amine@2 3 ===============
amine@2 4
amine@4 5 `auditok` is an **Audio Activity Detection** library that can be used with online data (i.e. microphone) or with audio files.
amine@2 6
amine@2 7 Requirements
amine@2 8 ------------
amine@2 9 `auditok` uses [PyAudio](http://people.csail.mit.edu/hubert/pyaudio/) for audio acquisition and playback.
amine@2 10 If installed, numpy will be privileged for math operations on vectors.
amine@2 11
amine@2 12 Installation
amine@2 13 ------------
amine@4 14 python setup.py install
amine@2 15
amine@2 16 Demos
amine@2 17 -----
amine@2 18 This code reads data from the microphone and plays back whatever it detects.
amine@3 19
amine@2 20 python demos/echo.py
amine@2 21
amine@2 22 `echo.py` accepts two arguments: energy threshold (default=45) and duration in seconds (default=10):
amine@2 23
amine@2 24 python demos/echo.py 50 15
amine@2 25
amine@4 26 If only one argument is given it will be used for energy.
amine@4 27
amine@4 28 Try out this demo with an audio file (no argument is required):
amine@4 29
amine@4 30 python demos/audio_tokenize_demo.py
amine@4 31
amsehili@6 32 Finally, in this demo `auditok` is used to remove tailing and leading silence from an audio file:
amine@4 33
amine@4 34 python demos/audio_trim_demo.py
amine@2 35
amine@2 36 Documentation
amine@2 37 -------------
amine@2 38
amsehili@6 39 Check out this [quick start](https://github.com/amsehili/auditok/blob/master/quickstart.rst) or the [API documentation](http://amsehili.github.io/auditok/pdoc/).
amsehili@6 40
amine@2 41
amine@2 42 Contribution
amine@2 43 ------------
amine@2 44 Contributions are very appreciated !
amine@2 45
amine@2 46 License
amine@2 47 -------
amine@2 48 `auditok` is published under the GNU General Public License Version 3.
amine@2 49
amine@2 50 Author
amine@2 51 ------
amine@2 52 Amine Sehili (<amine.sehili@gmail.com>)