InstallationΒΆ
To install audb run:
$ pip install audb
To interactively test it run:
$ uvx --with audb ipython
audb uses audiofile to access media files,
which supports WAV, FLAC, OGG out of the box.
audiofile requires the libsndfile C library,
which should be installed on most systems.
Under Ubuntu you can install it with
$ sudo apt install libsndfile1
In order to handle all possible audio files, please make sure ffmpeg, sox, and mediainfo are installed on your system. Under Ubuntu this can be achieved with
$ sudo apt install ffmpeg mediainfo sox libsox-fmt-mp3
Under Windows you have to install those libraries manually,
and ensure that they are added to the PATH variable.