delaycalc
Get Version
0.2.0→ ‘delaycalc’
What
delaycalc is a Ruby application used to calculate delay times for digital delay processors that will match the tempo of music in bpm.
Installing
sudo gem install delaycalc
Basics
$ ruby <bpm>
Demonstration of usage
$ ruby delaycalc 120 BPM: 120 W(1/1): 2000 ms HD(1/2.): 1500 ms H(1/2): 1000 ms HT(1/2T): 667 ms QD(1/4.): 750 ms Q(1/4): 500 ms QT(1/4T): 333 ms ED(1/8.): 375 ms E(1/8): 250 ms ET(1/8T): 167 ms SD(1/16.): 188 ms S(1/16): 125 ms ST(1/16T): 83 ms TD(1/32.): 94 ms T(1/32): 63 ms TT(1/32T): 42 ms Q(1/4): 500 ms
License
This code is free to use under the terms of the MIT license.
Contact
Comments are welcome. Send an email to Doug Sparling
Doug Sparlinge, 12th December 2007
Theme extended from Paul Battley