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