FAQ
Why is the name of the package find-delay when installing, and find_delay when importing?
The proper name of the package is find_delay
, with an underscore. Use it when importing the package in any of
your projects. However, PIP (the Package Installer for Python) automatically converts underscores to dashes when
creating packages, to uniformize with other programming languages. Hence, when installing the package in an environment,
you should run `pip install find-delay`
(with a dash). Note that calling `pip install find_delay`
(with an
underscore) should also work most of the time.
I want to use find_delay with audio files, but my audio files are not WAV…
find_delay only accepts WAV files as input. In the case where your files are in other formats, you first need to convert your files to WAV, or to open the files with other Python libraries to access their arrays and frequency.
In the case where you opt for converting your files, you can use ffmpeg:
`ffmpeg -i original_file.mp3 converted_file.wav`
. You can also use
MediaHuman Audio Converter, which provides a graphical user interface
and allows to process files in batches. Note that with file format conversion generally comes data loss and quality
reduction.
To avoid this, you can also try to open your file directly in Python, as long as you manage to get an array of samples and their frequency. You can look into pydub or audio2numpy.
I found an issue! How can I contact the developers?
If you found a bug, or if the package is not functioning as expected, please open an issue on GitHub, explaining your problem. Thanks in advance for your help :)
I have an idea for improvement!
If you have an idea for improving the package, please open an issue on Github too!