Simple python app for retrieving BMP and KEY from an audio file.
It is based on the librosa
python library and inspired from jackmcarthur/musical-key-finder
GitHub repo.
The complete python script is in gui.py
file.
- click on the top-left button
Select Audio File
- the analyzer starts automatically after imported the audio
- the progress bar fills itself while the process is on working
- then at the right of titles
BPM
andKEY
will appear computed values of respective objects - lastly will be printed the chromagram of the import audio
- click on the bottom-right button
Details Chart
to open a dedicated window of the chromagram, rendered bypyplot.show()
function
The python application can be packaged and deployed using pyinstaller
python module.
As mentioned in the official documentation, PyInstaller bundles a Python application and all its dependencies into a single package. The user can run the packaged app without installing a Python interpreter or any modules.
pyinstaller --onefile --windowed gui.py
Attention: PyInstaller is tested against Windows, MacOS X, and Linux. However, it is not a cross-compiler; to make a Windows app you run PyInstaller on Windows, and to make a Linux app you run it on Linux, etc.