Skip to content

Instantly share code, notes, and snippets.

@DavitHovhannisyan
DavitHovhannisyan / BPM.py
Last active June 14, 2017 14:32
Untitled_1
#!/usr/bin/env python
'''
Simple program that uses the 'bpmdetect' GStreamer plugin to detect
the BPM of a song, and outputs that to console.
Requires GStreamer 1.x, PyGObject 1.x, and gst-plugins-bad
Copyright (C) 2015 Dustin Spicuzza
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.