Mercurial > hg > auditok
annotate doc/installation.rst @ 455:7dae98b84cdd tip master
Merge branch 'master' of https://github.com/amsehili/auditok
author | www-data <www-data@c4dm-xenserv-virt2.eecs.qmul.ac.uk> |
---|---|
date | Tue, 03 Dec 2024 09:18:01 +0000 |
parents | 81bc2375354f |
children |
rev | line source |
---|---|
amine@369 | 1 Installation |
amine@369 | 2 ------------ |
amine@369 | 3 |
amine@432 | 4 **Dependencies** |
amine@369 | 5 |
amine@432 | 6 The following dependencies are required by ``auditok`` and will be installed automatically: |
amine@377 | 7 |
amine@432 | 8 - `numpy <https://numpy.org/>`_: Used for signal processing. |
amine@432 | 9 - `pydub <https://github.com/jiaaro/pydub>`_: to read audio files in popular formats (e.g., ogg, mp3) or extract audio from video files. |
amine@432 | 10 - `pyaudio <https://people.csail.mit.edu/hubert/pyaudio>`_: to read audio data from the microphone and play audio back. |
amine@432 | 11 - `tqdm <https://github.com/tqdm/tqdm>`_: to display a progress bar while playing audio clips. |
amine@432 | 12 - `matplotlib <https://matplotlib.org/stable/index.html>`_: to plot audio signal and detections. |
amine@377 | 13 |
amine@432 | 14 ``auditok`` requires Python 3.7 or higher. |
amine@432 | 15 |
amine@432 | 16 To install the latest stable version, use pip: |
amine@377 | 17 |
amine@377 | 18 .. code:: bash |
amine@377 | 19 |
amine@377 | 20 sudo pip install auditok |
amine@377 | 21 |
amine@432 | 22 To install the latest development version from GitHub: |
amine@377 | 23 |
amine@377 | 24 .. code:: bash |
amine@377 | 25 |
amine@377 | 26 pip install git+https://github.com/amsehili/auditok |
amine@377 | 27 |
amine@432 | 28 Alternatively, clone the repository and install it manually: |
amine@377 | 29 |
amine@377 | 30 .. code:: bash |
amine@377 | 31 |
amine@377 | 32 git clone https://github.com/amsehili/auditok.git |
amine@377 | 33 cd auditok |
amine@377 | 34 python setup.py install |