alda-rb 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/bwv846_prelude.rb +1 -1
- data/lib/alda-rb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8611e285f17508512f263503da8ef56f9d5763233cf980023738d677c1ffaa7e
|
4
|
+
data.tar.gz: 82cf627eb924cc40f2c033333296daeefb3341f6dd194edc260eb6f986a2d374
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 688aa784bd4581ff144a7a40a35f9d00df3cb662fe938f0bb8fcb8e8690b7f4040620d8332cb407a1726f6b3a9e3fe6e95f279be8062be64c206b56904bba002
|
7
|
+
data.tar.gz: 3f209a0d2cd67c5d39f276d9816ea1af7798c0ad060ed93a5578c8c5ffbedf6ecb056f61d826eeb6275bf9fddccc84ebaf13e2051b096e8d96e4dd11b24ae848
|
data/examples/bwv846_prelude.rb
CHANGED
@@ -15,7 +15,7 @@ class Alda::Sequence
|
|
15
15
|
/(?<letter>[a-g][-+_]*)(?<octave>\d*)/ =~ pitch
|
16
16
|
octave = @@last_octave ||= '4' if octave.empty?
|
17
17
|
result = Alda::Note.new "o#{@@last_octave = octave} #{letter}", duration
|
18
|
-
@events.push result
|
18
|
+
@events.push result.tap { _1.parent = self }
|
19
19
|
result
|
20
20
|
end
|
21
21
|
end
|
data/lib/alda-rb/version.rb
CHANGED