music-transcription 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/hip.yml +86 -148
- data/examples/make_hip.rb +16 -53
- data/examples/make_missed_connection.rb +10 -55
- data/examples/make_song1.rb +17 -61
- data/examples/make_song2.rb +17 -47
- data/examples/missed_connection.yml +120 -196
- data/examples/song1.yml +168 -158
- data/examples/song2.yml +46 -180
- data/lib/music-transcription.rb +14 -13
- data/lib/music-transcription/{articulations.rb → model/articulations.rb} +0 -0
- data/lib/music-transcription/{change.rb → model/change.rb} +0 -0
- data/lib/music-transcription/{dynamics.rb → model/dynamics.rb} +0 -0
- data/lib/music-transcription/{link.rb → model/link.rb} +8 -0
- data/lib/music-transcription/{meter.rb → model/meter.rb} +0 -0
- data/lib/music-transcription/{meters.rb → model/meters.rb} +0 -0
- data/lib/music-transcription/{note.rb → model/note.rb} +1 -1
- data/lib/music-transcription/{part.rb → model/part.rb} +1 -1
- data/lib/music-transcription/{pitch.rb → model/pitch.rb} +0 -0
- data/lib/music-transcription/{pitches.rb → model/pitches.rb} +0 -0
- data/lib/music-transcription/{program.rb → model/program.rb} +0 -0
- data/lib/music-transcription/{score.rb → model/score.rb} +1 -1
- data/lib/music-transcription/{tempo.rb → model/tempo.rb} +0 -0
- data/lib/music-transcription/parsing/convenience_methods.rb +10 -0
- data/lib/music-transcription/parsing/meter_parsing.rb +84 -0
- data/lib/music-transcription/parsing/meter_parsing.treetop +19 -0
- data/lib/music-transcription/version.rb +1 -1
- data/spec/{change_spec.rb → model/change_spec.rb} +1 -1
- data/spec/{link_spec.rb → model/link_spec.rb} +1 -1
- data/spec/{meter_spec.rb → model/meter_spec.rb} +1 -1
- data/spec/{note_spec.rb → model/note_spec.rb} +8 -1
- data/spec/{part_spec.rb → model/part_spec.rb} +1 -1
- data/spec/{pitch_spec.rb → model/pitch_spec.rb} +1 -1
- data/spec/{program_spec.rb → model/program_spec.rb} +1 -1
- data/spec/{score_spec.rb → model/score_spec.rb} +1 -1
- data/spec/{tempo_spec.rb → model/tempo_spec.rb} +1 -1
- data/spec/parsing/convenience_methods_spec.rb +13 -2
- data/spec/parsing/meter_parsing_spec.rb +23 -0
- metadata +37 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed4e612a8a80448e988a75202595e4ae4d845f05
|
4
|
+
data.tar.gz: 63bfe1347b0faf23627be072b3ae37b7b674ce94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8498194327951219f0011f4ad48e68eef2a5a10fcd8781da4f17b4fd40528f7e593d075a18389bf815392c074a6b94d9d8c1dbb7508bb6a693a71e54b64155a8
|
7
|
+
data.tar.gz: b268880e97c17b46128a7f350bbda0fc64f0a4ddbfbd7b9f884d46a32ed0d41ef3091b02899b8fcab16091b0855cb935d9993a1aa717a35960949e44289af86e
|
data/examples/hip.yml
CHANGED
@@ -7,9 +7,6 @@ start_meter: !ruby/object:Music::Transcription::Meter
|
|
7
7
|
measure_duration: !ruby/object:Rational
|
8
8
|
denominator: 1
|
9
9
|
numerator: 1
|
10
|
-
check_methods:
|
11
|
-
- :check_beats_per_measure
|
12
|
-
- :check_beat_duration
|
13
10
|
start_tempo: 120
|
14
11
|
meter_changes: {}
|
15
12
|
tempo_changes: {}
|
@@ -21,14 +18,12 @@ parts:
|
|
21
18
|
denominator: 6
|
22
19
|
numerator: 1
|
23
20
|
pitches:
|
24
|
-
-
|
21
|
+
- !ruby/object:Music::Transcription::Pitch
|
25
22
|
octave: 3
|
26
23
|
semitone: 10
|
27
24
|
articulation: :normal
|
28
25
|
accented: false
|
29
26
|
links: {}
|
30
|
-
check_methods:
|
31
|
-
- :ensure_positive_duration
|
32
27
|
- !ruby/object:Music::Transcription::Note
|
33
28
|
duration: !ruby/object:Rational
|
34
29
|
denominator: 4
|
@@ -37,8 +32,6 @@ parts:
|
|
37
32
|
articulation: :normal
|
38
33
|
accented: false
|
39
34
|
links: {}
|
40
|
-
check_methods:
|
41
|
-
- :ensure_positive_duration
|
42
35
|
- !ruby/object:Music::Transcription::Note
|
43
36
|
duration: !ruby/object:Rational
|
44
37
|
denominator: 12
|
@@ -47,33 +40,33 @@ parts:
|
|
47
40
|
- &1 !ruby/object:Music::Transcription::Pitch
|
48
41
|
octave: 4
|
49
42
|
semitone: 1
|
50
|
-
articulation: :
|
43
|
+
articulation: :normal
|
51
44
|
accented: false
|
52
|
-
links:
|
53
|
-
|
54
|
-
- :ensure_positive_duration
|
45
|
+
links:
|
46
|
+
*1: !ruby/object:Music::Transcription::Link::Tie {}
|
55
47
|
- !ruby/object:Music::Transcription::Note
|
56
48
|
duration: !ruby/object:Rational
|
57
49
|
denominator: 6
|
58
50
|
numerator: 1
|
59
51
|
pitches:
|
60
|
-
-
|
61
|
-
|
52
|
+
- &2 !ruby/object:Music::Transcription::Pitch
|
53
|
+
octave: 4
|
54
|
+
semitone: 1
|
55
|
+
articulation: :normal
|
62
56
|
accented: false
|
63
|
-
links:
|
64
|
-
|
65
|
-
- :ensure_positive_duration
|
57
|
+
links:
|
58
|
+
*2: !ruby/object:Music::Transcription::Link::Tie {}
|
66
59
|
- !ruby/object:Music::Transcription::Note
|
67
60
|
duration: !ruby/object:Rational
|
68
61
|
denominator: 36
|
69
62
|
numerator: 1
|
70
63
|
pitches:
|
71
|
-
-
|
64
|
+
- !ruby/object:Music::Transcription::Pitch
|
65
|
+
octave: 4
|
66
|
+
semitone: 1
|
72
67
|
articulation: :normal
|
73
68
|
accented: false
|
74
69
|
links: {}
|
75
|
-
check_methods:
|
76
|
-
- :ensure_positive_duration
|
77
70
|
- !ruby/object:Music::Transcription::Note
|
78
71
|
duration: !ruby/object:Rational
|
79
72
|
denominator: 36
|
@@ -85,19 +78,17 @@ parts:
|
|
85
78
|
articulation: :normal
|
86
79
|
accented: false
|
87
80
|
links: {}
|
88
|
-
check_methods:
|
89
|
-
- :ensure_positive_duration
|
90
81
|
- !ruby/object:Music::Transcription::Note
|
91
82
|
duration: !ruby/object:Rational
|
92
83
|
denominator: 36
|
93
84
|
numerator: 1
|
94
85
|
pitches:
|
95
|
-
-
|
86
|
+
- !ruby/object:Music::Transcription::Pitch
|
87
|
+
octave: 4
|
88
|
+
semitone: 1
|
96
89
|
articulation: :normal
|
97
90
|
accented: false
|
98
91
|
links: {}
|
99
|
-
check_methods:
|
100
|
-
- :ensure_positive_duration
|
101
92
|
- !ruby/object:Music::Transcription::Note
|
102
93
|
duration: !ruby/object:Rational
|
103
94
|
denominator: 6
|
@@ -109,30 +100,28 @@ parts:
|
|
109
100
|
articulation: :normal
|
110
101
|
accented: false
|
111
102
|
links: {}
|
112
|
-
check_methods:
|
113
|
-
- :ensure_positive_duration
|
114
103
|
- !ruby/object:Music::Transcription::Note
|
115
104
|
duration: !ruby/object:Rational
|
116
105
|
denominator: 12
|
117
106
|
numerator: 1
|
118
107
|
pitches:
|
119
|
-
-
|
108
|
+
- !ruby/object:Music::Transcription::Pitch
|
109
|
+
octave: 4
|
110
|
+
semitone: 1
|
120
111
|
articulation: :normal
|
121
112
|
accented: false
|
122
113
|
links: {}
|
123
|
-
check_methods:
|
124
|
-
- :ensure_positive_duration
|
125
114
|
- !ruby/object:Music::Transcription::Note
|
126
115
|
duration: !ruby/object:Rational
|
127
116
|
denominator: 6
|
128
117
|
numerator: 1
|
129
118
|
pitches:
|
130
|
-
-
|
119
|
+
- !ruby/object:Music::Transcription::Pitch
|
120
|
+
octave: 3
|
121
|
+
semitone: 10
|
131
122
|
articulation: :normal
|
132
123
|
accented: false
|
133
124
|
links: {}
|
134
|
-
check_methods:
|
135
|
-
- :ensure_positive_duration
|
136
125
|
- !ruby/object:Music::Transcription::Note
|
137
126
|
duration: !ruby/object:Rational
|
138
127
|
denominator: 4
|
@@ -141,43 +130,45 @@ parts:
|
|
141
130
|
articulation: :normal
|
142
131
|
accented: false
|
143
132
|
links: {}
|
144
|
-
check_methods:
|
145
|
-
- :ensure_positive_duration
|
146
133
|
- !ruby/object:Music::Transcription::Note
|
147
134
|
duration: !ruby/object:Rational
|
148
135
|
denominator: 12
|
149
136
|
numerator: 1
|
150
137
|
pitches:
|
151
|
-
-
|
152
|
-
|
138
|
+
- &3 !ruby/object:Music::Transcription::Pitch
|
139
|
+
octave: 4
|
140
|
+
semitone: 1
|
141
|
+
articulation: :normal
|
153
142
|
accented: false
|
154
|
-
links:
|
155
|
-
|
156
|
-
- :ensure_positive_duration
|
143
|
+
links:
|
144
|
+
*3: !ruby/object:Music::Transcription::Link::Tie {}
|
157
145
|
- !ruby/object:Music::Transcription::Note
|
158
|
-
duration:
|
146
|
+
duration: !ruby/object:Rational
|
159
147
|
denominator: 4
|
160
148
|
numerator: 1
|
161
149
|
pitches:
|
162
|
-
-
|
163
|
-
|
150
|
+
- &4 !ruby/object:Music::Transcription::Pitch
|
151
|
+
octave: 4
|
152
|
+
semitone: 1
|
153
|
+
articulation: :normal
|
164
154
|
accented: false
|
165
|
-
links:
|
166
|
-
|
167
|
-
- :ensure_positive_duration
|
155
|
+
links:
|
156
|
+
*4: !ruby/object:Music::Transcription::Link::Tie {}
|
168
157
|
- !ruby/object:Music::Transcription::Note
|
169
|
-
duration:
|
158
|
+
duration: !ruby/object:Rational
|
170
159
|
denominator: 8
|
171
160
|
numerator: 1
|
172
161
|
pitches:
|
173
|
-
-
|
162
|
+
- !ruby/object:Music::Transcription::Pitch
|
163
|
+
octave: 4
|
164
|
+
semitone: 1
|
174
165
|
articulation: :slur
|
175
166
|
accented: false
|
176
167
|
links: {}
|
177
|
-
check_methods:
|
178
|
-
- :ensure_positive_duration
|
179
168
|
- !ruby/object:Music::Transcription::Note
|
180
|
-
duration:
|
169
|
+
duration: !ruby/object:Rational
|
170
|
+
denominator: 8
|
171
|
+
numerator: 1
|
181
172
|
pitches:
|
182
173
|
- !ruby/object:Music::Transcription::Pitch
|
183
174
|
octave: 4
|
@@ -185,8 +176,6 @@ parts:
|
|
185
176
|
articulation: :normal
|
186
177
|
accented: false
|
187
178
|
links: {}
|
188
|
-
check_methods:
|
189
|
-
- :ensure_positive_duration
|
190
179
|
- !ruby/object:Music::Transcription::Note
|
191
180
|
duration: !ruby/object:Rational
|
192
181
|
denominator: 6
|
@@ -198,8 +187,6 @@ parts:
|
|
198
187
|
articulation: :normal
|
199
188
|
accented: false
|
200
189
|
links: {}
|
201
|
-
check_methods:
|
202
|
-
- :ensure_positive_duration
|
203
190
|
- !ruby/object:Music::Transcription::Note
|
204
191
|
duration: !ruby/object:Rational
|
205
192
|
denominator: 4
|
@@ -208,8 +195,6 @@ parts:
|
|
208
195
|
articulation: :normal
|
209
196
|
accented: false
|
210
197
|
links: {}
|
211
|
-
check_methods:
|
212
|
-
- :ensure_positive_duration
|
213
198
|
- !ruby/object:Music::Transcription::Note
|
214
199
|
duration: !ruby/object:Rational
|
215
200
|
denominator: 12
|
@@ -218,11 +203,13 @@ parts:
|
|
218
203
|
- !ruby/object:Music::Transcription::Pitch
|
219
204
|
octave: 4
|
220
205
|
semitone: 3
|
221
|
-
articulation: :
|
206
|
+
articulation: :normal
|
222
207
|
accented: false
|
223
|
-
links:
|
224
|
-
|
225
|
-
|
208
|
+
links:
|
209
|
+
? !ruby/object:Music::Transcription::Pitch
|
210
|
+
octave: 4
|
211
|
+
semitone: 3
|
212
|
+
: !ruby/object:Music::Transcription::Link::Tie {}
|
226
213
|
- !ruby/object:Music::Transcription::Note
|
227
214
|
duration: !ruby/object:Rational
|
228
215
|
denominator: 6
|
@@ -231,11 +218,13 @@ parts:
|
|
231
218
|
- !ruby/object:Music::Transcription::Pitch
|
232
219
|
octave: 4
|
233
220
|
semitone: 3
|
234
|
-
articulation: :
|
221
|
+
articulation: :normal
|
235
222
|
accented: false
|
236
|
-
links:
|
237
|
-
|
238
|
-
|
223
|
+
links:
|
224
|
+
? !ruby/object:Music::Transcription::Pitch
|
225
|
+
octave: 4
|
226
|
+
semitone: 3
|
227
|
+
: !ruby/object:Music::Transcription::Link::Tie {}
|
239
228
|
- !ruby/object:Music::Transcription::Note
|
240
229
|
duration: !ruby/object:Rational
|
241
230
|
denominator: 36
|
@@ -247,8 +236,6 @@ parts:
|
|
247
236
|
articulation: :normal
|
248
237
|
accented: false
|
249
238
|
links: {}
|
250
|
-
check_methods:
|
251
|
-
- :ensure_positive_duration
|
252
239
|
- !ruby/object:Music::Transcription::Note
|
253
240
|
duration: !ruby/object:Rational
|
254
241
|
denominator: 36
|
@@ -260,8 +247,6 @@ parts:
|
|
260
247
|
articulation: :normal
|
261
248
|
accented: false
|
262
249
|
links: {}
|
263
|
-
check_methods:
|
264
|
-
- :ensure_positive_duration
|
265
250
|
- !ruby/object:Music::Transcription::Note
|
266
251
|
duration: !ruby/object:Rational
|
267
252
|
denominator: 36
|
@@ -273,8 +258,6 @@ parts:
|
|
273
258
|
articulation: :normal
|
274
259
|
accented: false
|
275
260
|
links: {}
|
276
|
-
check_methods:
|
277
|
-
- :ensure_positive_duration
|
278
261
|
- !ruby/object:Music::Transcription::Note
|
279
262
|
duration: !ruby/object:Rational
|
280
263
|
denominator: 6
|
@@ -286,8 +269,6 @@ parts:
|
|
286
269
|
articulation: :normal
|
287
270
|
accented: false
|
288
271
|
links: {}
|
289
|
-
check_methods:
|
290
|
-
- :ensure_positive_duration
|
291
272
|
- !ruby/object:Music::Transcription::Note
|
292
273
|
duration: !ruby/object:Rational
|
293
274
|
denominator: 12
|
@@ -299,8 +280,6 @@ parts:
|
|
299
280
|
articulation: :normal
|
300
281
|
accented: false
|
301
282
|
links: {}
|
302
|
-
check_methods:
|
303
|
-
- :ensure_positive_duration
|
304
283
|
- !ruby/object:Music::Transcription::Note
|
305
284
|
duration: !ruby/object:Rational
|
306
285
|
denominator: 6
|
@@ -312,8 +291,6 @@ parts:
|
|
312
291
|
articulation: :normal
|
313
292
|
accented: false
|
314
293
|
links: {}
|
315
|
-
check_methods:
|
316
|
-
- :ensure_positive_duration
|
317
294
|
- !ruby/object:Music::Transcription::Note
|
318
295
|
duration: !ruby/object:Rational
|
319
296
|
denominator: 4
|
@@ -322,8 +299,6 @@ parts:
|
|
322
299
|
articulation: :normal
|
323
300
|
accented: false
|
324
301
|
links: {}
|
325
|
-
check_methods:
|
326
|
-
- :ensure_positive_duration
|
327
302
|
- !ruby/object:Music::Transcription::Note
|
328
303
|
duration: !ruby/object:Rational
|
329
304
|
denominator: 12
|
@@ -332,11 +307,13 @@ parts:
|
|
332
307
|
- !ruby/object:Music::Transcription::Pitch
|
333
308
|
octave: 4
|
334
309
|
semitone: 3
|
335
|
-
articulation: :
|
310
|
+
articulation: :normal
|
336
311
|
accented: false
|
337
|
-
links:
|
338
|
-
|
339
|
-
|
312
|
+
links:
|
313
|
+
? !ruby/object:Music::Transcription::Pitch
|
314
|
+
octave: 4
|
315
|
+
semitone: 3
|
316
|
+
: !ruby/object:Music::Transcription::Link::Tie {}
|
340
317
|
- !ruby/object:Music::Transcription::Note
|
341
318
|
duration: !ruby/object:Rational
|
342
319
|
denominator: 4
|
@@ -345,11 +322,13 @@ parts:
|
|
345
322
|
- !ruby/object:Music::Transcription::Pitch
|
346
323
|
octave: 4
|
347
324
|
semitone: 3
|
348
|
-
articulation: :
|
325
|
+
articulation: :normal
|
349
326
|
accented: false
|
350
|
-
links:
|
351
|
-
|
352
|
-
|
327
|
+
links:
|
328
|
+
? !ruby/object:Music::Transcription::Pitch
|
329
|
+
octave: 4
|
330
|
+
semitone: 3
|
331
|
+
: !ruby/object:Music::Transcription::Link::Tie {}
|
353
332
|
- !ruby/object:Music::Transcription::Note
|
354
333
|
duration: !ruby/object:Rational
|
355
334
|
denominator: 8
|
@@ -361,8 +340,6 @@ parts:
|
|
361
340
|
articulation: :slur
|
362
341
|
accented: false
|
363
342
|
links: {}
|
364
|
-
check_methods:
|
365
|
-
- :ensure_positive_duration
|
366
343
|
- !ruby/object:Music::Transcription::Note
|
367
344
|
duration: !ruby/object:Rational
|
368
345
|
denominator: 8
|
@@ -374,13 +351,8 @@ parts:
|
|
374
351
|
articulation: :normal
|
375
352
|
accented: false
|
376
353
|
links: {}
|
377
|
-
check_methods:
|
378
|
-
- :ensure_positive_duration
|
379
354
|
start_dynamic: 0.625
|
380
355
|
dynamic_changes: {}
|
381
|
-
check_methods:
|
382
|
-
- :ensure_start_dynamic
|
383
|
-
- :ensure_dynamic_change_values_range
|
384
356
|
bass: !ruby/object:Music::Transcription::Part
|
385
357
|
notes:
|
386
358
|
- !ruby/object:Music::Transcription::Note
|
@@ -388,14 +360,12 @@ parts:
|
|
388
360
|
denominator: 6
|
389
361
|
numerator: 1
|
390
362
|
pitches:
|
391
|
-
-
|
363
|
+
- !ruby/object:Music::Transcription::Pitch
|
392
364
|
octave: 2
|
393
365
|
semitone: 10
|
394
366
|
articulation: :normal
|
395
367
|
accented: false
|
396
368
|
links: {}
|
397
|
-
check_methods:
|
398
|
-
- :ensure_positive_duration
|
399
369
|
- !ruby/object:Music::Transcription::Note
|
400
370
|
duration: !ruby/object:Rational
|
401
371
|
denominator: 4
|
@@ -404,21 +374,17 @@ parts:
|
|
404
374
|
articulation: :normal
|
405
375
|
accented: false
|
406
376
|
links: {}
|
407
|
-
check_methods:
|
408
|
-
- :ensure_positive_duration
|
409
377
|
- !ruby/object:Music::Transcription::Note
|
410
378
|
duration: !ruby/object:Rational
|
411
379
|
denominator: 3
|
412
380
|
numerator: 1
|
413
381
|
pitches:
|
414
|
-
-
|
382
|
+
- !ruby/object:Music::Transcription::Pitch
|
415
383
|
octave: 2
|
416
384
|
semitone: 8
|
417
385
|
articulation: :normal
|
418
386
|
accented: false
|
419
387
|
links: {}
|
420
|
-
check_methods:
|
421
|
-
- :ensure_positive_duration
|
422
388
|
- !ruby/object:Music::Transcription::Note
|
423
389
|
duration: !ruby/object:Rational
|
424
390
|
denominator: 6
|
@@ -430,58 +396,58 @@ parts:
|
|
430
396
|
articulation: :normal
|
431
397
|
accented: false
|
432
398
|
links: {}
|
433
|
-
check_methods:
|
434
|
-
- :ensure_positive_duration
|
435
399
|
- !ruby/object:Music::Transcription::Note
|
436
400
|
duration: !ruby/object:Rational
|
437
401
|
denominator: 12
|
438
402
|
numerator: 1
|
439
403
|
pitches:
|
440
|
-
-
|
404
|
+
- !ruby/object:Music::Transcription::Pitch
|
405
|
+
octave: 2
|
406
|
+
semitone: 8
|
441
407
|
articulation: :normal
|
442
408
|
accented: false
|
443
409
|
links: {}
|
444
|
-
check_methods:
|
445
|
-
- :ensure_positive_duration
|
446
410
|
- !ruby/object:Music::Transcription::Note
|
447
411
|
duration: !ruby/object:Rational
|
448
412
|
denominator: 6
|
449
413
|
numerator: 1
|
450
414
|
pitches:
|
451
|
-
-
|
415
|
+
- !ruby/object:Music::Transcription::Pitch
|
416
|
+
octave: 2
|
417
|
+
semitone: 10
|
452
418
|
articulation: :normal
|
453
419
|
accented: false
|
454
420
|
links: {}
|
455
|
-
check_methods:
|
456
|
-
- :ensure_positive_duration
|
457
421
|
- !ruby/object:Music::Transcription::Note
|
458
|
-
duration:
|
422
|
+
duration: !ruby/object:Rational
|
423
|
+
denominator: 4
|
424
|
+
numerator: 1
|
459
425
|
pitches: []
|
460
426
|
articulation: :normal
|
461
427
|
accented: false
|
462
428
|
links: {}
|
463
|
-
check_methods:
|
464
|
-
- :ensure_positive_duration
|
465
429
|
- !ruby/object:Music::Transcription::Note
|
466
430
|
duration: !ruby/object:Rational
|
467
431
|
denominator: 3
|
468
432
|
numerator: 1
|
469
433
|
pitches:
|
470
|
-
-
|
434
|
+
- !ruby/object:Music::Transcription::Pitch
|
435
|
+
octave: 2
|
436
|
+
semitone: 8
|
471
437
|
articulation: :normal
|
472
438
|
accented: false
|
473
439
|
links: {}
|
474
|
-
check_methods:
|
475
|
-
- :ensure_positive_duration
|
476
440
|
- !ruby/object:Music::Transcription::Note
|
477
|
-
duration:
|
441
|
+
duration: !ruby/object:Rational
|
442
|
+
denominator: 4
|
443
|
+
numerator: 1
|
478
444
|
pitches:
|
479
|
-
-
|
445
|
+
- !ruby/object:Music::Transcription::Pitch
|
446
|
+
octave: 2
|
447
|
+
semitone: 8
|
480
448
|
articulation: :normal
|
481
449
|
accented: false
|
482
450
|
links: {}
|
483
|
-
check_methods:
|
484
|
-
- :ensure_positive_duration
|
485
451
|
- !ruby/object:Music::Transcription::Note
|
486
452
|
duration: !ruby/object:Rational
|
487
453
|
denominator: 6
|
@@ -493,8 +459,6 @@ parts:
|
|
493
459
|
articulation: :normal
|
494
460
|
accented: false
|
495
461
|
links: {}
|
496
|
-
check_methods:
|
497
|
-
- :ensure_positive_duration
|
498
462
|
- !ruby/object:Music::Transcription::Note
|
499
463
|
duration: !ruby/object:Rational
|
500
464
|
denominator: 4
|
@@ -503,8 +467,6 @@ parts:
|
|
503
467
|
articulation: :normal
|
504
468
|
accented: false
|
505
469
|
links: {}
|
506
|
-
check_methods:
|
507
|
-
- :ensure_positive_duration
|
508
470
|
- !ruby/object:Music::Transcription::Note
|
509
471
|
duration: !ruby/object:Rational
|
510
472
|
denominator: 3
|
@@ -516,8 +478,6 @@ parts:
|
|
516
478
|
articulation: :normal
|
517
479
|
accented: false
|
518
480
|
links: {}
|
519
|
-
check_methods:
|
520
|
-
- :ensure_positive_duration
|
521
481
|
- !ruby/object:Music::Transcription::Note
|
522
482
|
duration: !ruby/object:Rational
|
523
483
|
denominator: 6
|
@@ -529,8 +489,6 @@ parts:
|
|
529
489
|
articulation: :normal
|
530
490
|
accented: false
|
531
491
|
links: {}
|
532
|
-
check_methods:
|
533
|
-
- :ensure_positive_duration
|
534
492
|
- !ruby/object:Music::Transcription::Note
|
535
493
|
duration: !ruby/object:Rational
|
536
494
|
denominator: 12
|
@@ -542,8 +500,6 @@ parts:
|
|
542
500
|
articulation: :normal
|
543
501
|
accented: false
|
544
502
|
links: {}
|
545
|
-
check_methods:
|
546
|
-
- :ensure_positive_duration
|
547
503
|
- !ruby/object:Music::Transcription::Note
|
548
504
|
duration: !ruby/object:Rational
|
549
505
|
denominator: 6
|
@@ -555,8 +511,6 @@ parts:
|
|
555
511
|
articulation: :normal
|
556
512
|
accented: false
|
557
513
|
links: {}
|
558
|
-
check_methods:
|
559
|
-
- :ensure_positive_duration
|
560
514
|
- !ruby/object:Music::Transcription::Note
|
561
515
|
duration: !ruby/object:Rational
|
562
516
|
denominator: 4
|
@@ -565,8 +519,6 @@ parts:
|
|
565
519
|
articulation: :normal
|
566
520
|
accented: false
|
567
521
|
links: {}
|
568
|
-
check_methods:
|
569
|
-
- :ensure_positive_duration
|
570
522
|
- !ruby/object:Music::Transcription::Note
|
571
523
|
duration: !ruby/object:Rational
|
572
524
|
denominator: 3
|
@@ -578,8 +530,6 @@ parts:
|
|
578
530
|
articulation: :normal
|
579
531
|
accented: false
|
580
532
|
links: {}
|
581
|
-
check_methods:
|
582
|
-
- :ensure_positive_duration
|
583
533
|
- !ruby/object:Music::Transcription::Note
|
584
534
|
duration: !ruby/object:Rational
|
585
535
|
denominator: 4
|
@@ -591,13 +541,8 @@ parts:
|
|
591
541
|
articulation: :normal
|
592
542
|
accented: false
|
593
543
|
links: {}
|
594
|
-
check_methods:
|
595
|
-
- :ensure_positive_duration
|
596
544
|
start_dynamic: 0.5
|
597
545
|
dynamic_changes: {}
|
598
|
-
check_methods:
|
599
|
-
- :ensure_start_dynamic
|
600
|
-
- :ensure_dynamic_change_values_range
|
601
546
|
program: !ruby/object:Music::Transcription::Program
|
602
547
|
segments:
|
603
548
|
- !ruby/range
|
@@ -616,10 +561,3 @@ program: !ruby/object:Music::Transcription::Program
|
|
616
561
|
begin: 0
|
617
562
|
end: 2
|
618
563
|
excl: true
|
619
|
-
check_methods:
|
620
|
-
- :ensure_increasing_segments
|
621
|
-
- :ensure_nonnegative_segments
|
622
|
-
check_methods:
|
623
|
-
- :check_start_tempo
|
624
|
-
- :check_tempo_changes
|
625
|
-
- :check_meter_changes
|