music-transcription 0.5.8 → 0.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/music-transcription/tempo.rb +1 -1
- data/lib/music-transcription/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98dcaaa45ed4d2657d10edf7f66c97f2a205dcef
|
4
|
+
data.tar.gz: 65efc0fb101554ab92e3f18e0c12e62ae2ac74a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3092c28906352333a5301395e2ede2e279f116bf4e3f42d185b2bc0f5ff485df91052e0a073bcbc676115bb869bd4eb559d06062d15c05b597194b031530695b
|
7
|
+
data.tar.gz: 548f8c77924977acc44df3cec1c2829f143fab6abd2fe9667c45a870ebea30ab8d3e2b6c47f944a9bfa1fc0ffb74b99421c800f77bad1838b48f58eef8c52d19
|
@@ -6,7 +6,7 @@ class Tempo
|
|
6
6
|
include Comparable
|
7
7
|
attr_reader :beats_per_minute, :beat_duration
|
8
8
|
|
9
|
-
def initialize beats_per_minute, beat_duration
|
9
|
+
def initialize beats_per_minute, beat_duration = Rational(1,4)
|
10
10
|
@beats_per_minute = beats_per_minute
|
11
11
|
@beat_duration = beat_duration
|
12
12
|
end
|