Automatically detect how much a rhythm in a given audio file is swung by determining how the offbeats are positioned relative to the surrounding main beats.
This project uses the librosa library for estimating the positions of the main beats as well as for detecting the intervening note onset events. mutagen is used for writing the metadata back to the audio files if requested by the user.
python swing_detect.py file1.mp3 file2.mp3 file3.flac ...Use --help to get an overview of the available CLI options.
python swing_detect.py --helpstreamlit run swing_detect_streamlit.py