Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rdeits/beattrack

Predictive beat tracking, eventually to be used with Bemis100
https://github.com/rdeits/beattrack

Last synced: 2 days ago
JSON representation

Predictive beat tracking, eventually to be used with Bemis100

Awesome Lists containing this project

README

        

Try me:
=======

cd src
python listener.py

Requirements:
=============
* Python (2.7 tested)
* PyAudio
* NumPy
* SciPy
* Matplotlib
* SoundFlower (or some other way to get the audio input)

Sample output:
==============
This is from "Americano" by Lady Gaga:

Most likely BPM: 0 phase: 0 confidence: nan
Most likely BPM: 107 phase: 0.201927437642 confidence: 3.30196103941
Most likely BPM: 90 phase: 0.447346938776 confidence: 2.47415671218
Most likely BPM: 125 phase: 0.099410430839 confidence: 2.28210448804
Most likely BPM: 132 phase: 0.130476190476 confidence: 2.01506079468
Most likely BPM: 95 phase: 0.173968253968 confidence: 2.84546781187
Most likely BPM: 128 phase: 0.0807709750567 confidence: 3.82743152455
Most likely BPM: 127 phase: 0.366575963719 confidence: 3.90412416396
Most likely BPM: 128 phase: 0.232993197279 confidence: 3.97602020586
Most likely BPM: 127 phase: 0.0465986394558 confidence: 3.33901587564
Most likely BPM: 128 phase: 0.382108843537 confidence: 3.18024151891
Most likely BPM: 128 phase: 0.232993197279 confidence: 4.12257055192
Most likely BPM: 128 phase: 0.077664399093 confidence: 4.51396973206
Most likely BPM: 127 phase: 0.37589569161 confidence: 4.06769393238
Most likely BPM: 128 phase: 0.24231292517 confidence: 4.2448083995
Most likely BPM: 127 phase: 0.0528117913832 confidence: 3.78504629056
Most likely BPM: 127 phase: 0.372789115646 confidence: 4.00258498464
Most likely BPM: 128 phase: 0.236099773243 confidence: 4.10335513524
Most likely BPM: 128 phase: 0.077664399093 confidence: 3.94111203256
Most likely BPM: 128 phase: 0.403854875283 confidence: 3.89134740492
Most likely BPM: 128 phase: 0.236099773243 confidence: 3.8164185206
Most likely BPM: 128 phase: 0.152222222222 confidence: 4.20237811323
Most likely BPM: 128 phase: 0.456666666667 confidence: 4.28353173625
Most likely BPM: 128 phase: 0.310657596372 confidence: 3.89243611727
Most likely BPM: 128 phase: 0.152222222222 confidence: 4.45525833681
Most likely BPM: 127 phase: 0.444240362812 confidence: 4.16278185914
Most likely BPM: 128 phase: 0.298231292517 confidence: 3.48364418584
Most likely BPM: 128 phase: 0.146009070295 confidence: 3.30333815962
Most likely BPM: 127 phase: 0.410068027211 confidence: 3.47546887603
Most likely BPM: 128 phase: 0.310657596372 confidence: 4.21258989284
Most likely BPM: 128 phase: 0.152222222222 confidence: 4.18045079414
Most likely BPM: 127 phase: 0.379002267574 confidence: 4.15071420462
Most likely BPM: 128 phase: 0.229886621315 confidence: 4.05392453249
Most likely BPM: 128 phase: 0.0745578231293 confidence: 4.0004686094
Most likely BPM: 128 phase: 0.388321995465 confidence: 4.07314516714
Most likely BPM: 128 phase: 0.313764172336 confidence: 4.1346792728
Most likely BPM: 127 phase: 0.0465986394558 confidence: 4.27861288817
Most likely BPM: 127 phase: 0.357256235828 confidence: 2.53022524636
Most likely BPM: 128 phase: 0.21746031746 confidence: 2.76869509262
Most likely BPM: 128 phase: 0.0745578231293 confidence: 3.86259332727
Most likely BPM: 127 phase: 0.360362811791 confidence: 3.62197453739
Most likely BPM: 127 phase: 0.273378684807 confidence: 3.85305496951
Most likely BPM: 128 phase: 0.0714512471655 confidence: 3.99755925411
Most likely BPM: 100 phase: 0.450453514739 confidence: 2.29623316303
Most likely BPM: 128 phase: 0.307551020408 confidence: 3.50443971221
Most likely BPM: 128 phase: 0.142902494331 confidence: 4.35385042465
Most likely BPM: 127 phase: 0.366575963719 confidence: 4.18988601253
Most likely BPM: 128 phase: 0.307551020408 confidence: 3.70793791101
Most likely BPM: 128 phase: 0.139795918367 confidence: 4.3457835832
Most likely BPM: 127 phase: 0.431814058957 confidence: 3.30636952015
Most likely BPM: 95 phase: 0.0869841269841 confidence: 2.42922104094
Most likely BPM: 0 phase: 0 confidence: nan