examples/hip.yml in music-transcription-0.10.0 vs examples/hip.yml in music-transcription-0.11.0
- old
+ new
@@ -5,13 +5,10 @@
denominator: 4
numerator: 1
measure_duration: !ruby/object:Rational
denominator: 1
numerator: 1
- check_methods:
- - :check_beats_per_measure
- - :check_beat_duration
start_tempo: 120
meter_changes: {}
tempo_changes: {}
parts:
lead: !ruby/object:Music::Transcription::Part
@@ -19,63 +16,59 @@
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
- - &2 !ruby/object:Music::Transcription::Pitch
+ - !ruby/object:Music::Transcription::Pitch
octave: 3
semitone: 10
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 4
numerator: 1
pitches: []
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 12
numerator: 1
pitches:
- &1 !ruby/object:Music::Transcription::Pitch
octave: 4
semitone: 1
- articulation: :slur
+ articulation: :normal
accented: false
- links: {}
- check_methods:
- - :ensure_positive_duration
+ links:
+ *1: !ruby/object:Music::Transcription::Link::Tie {}
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
- - *1
- articulation: :slur
+ - &2 !ruby/object:Music::Transcription::Pitch
+ octave: 4
+ semitone: 1
+ articulation: :normal
accented: false
- links: {}
- check_methods:
- - :ensure_positive_duration
+ links:
+ *2: !ruby/object:Music::Transcription::Link::Tie {}
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 36
numerator: 1
pitches:
- - *1
+ - !ruby/object:Music::Transcription::Pitch
+ octave: 4
+ semitone: 1
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 36
numerator: 1
pitches:
@@ -83,23 +76,21 @@
octave: 4
semitone: 3
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 36
numerator: 1
pitches:
- - *1
+ - !ruby/object:Music::Transcription::Pitch
+ octave: 4
+ semitone: 1
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
@@ -107,88 +98,86 @@
octave: 3
semitone: 8
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 12
numerator: 1
pitches:
- - *1
+ - !ruby/object:Music::Transcription::Pitch
+ octave: 4
+ semitone: 1
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
- - *2
+ - !ruby/object:Music::Transcription::Pitch
+ octave: 3
+ semitone: 10
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 4
numerator: 1
pitches: []
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 12
numerator: 1
pitches:
- - *1
- articulation: :slur
+ - &3 !ruby/object:Music::Transcription::Pitch
+ octave: 4
+ semitone: 1
+ articulation: :normal
accented: false
- links: {}
- check_methods:
- - :ensure_positive_duration
+ links:
+ *3: !ruby/object:Music::Transcription::Link::Tie {}
- !ruby/object:Music::Transcription::Note
- duration: &6 !ruby/object:Rational
+ duration: !ruby/object:Rational
denominator: 4
numerator: 1
pitches:
- - *1
- articulation: :slur
+ - &4 !ruby/object:Music::Transcription::Pitch
+ octave: 4
+ semitone: 1
+ articulation: :normal
accented: false
- links: {}
- check_methods:
- - :ensure_positive_duration
+ links:
+ *4: !ruby/object:Music::Transcription::Link::Tie {}
- !ruby/object:Music::Transcription::Note
- duration: &3 !ruby/object:Rational
+ duration: !ruby/object:Rational
denominator: 8
numerator: 1
pitches:
- - *1
+ - !ruby/object:Music::Transcription::Pitch
+ octave: 4
+ semitone: 1
articulation: :slur
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
- duration: *3
+ duration: !ruby/object:Rational
+ denominator: 8
+ numerator: 1
pitches:
- !ruby/object:Music::Transcription::Pitch
octave: 4
semitone: 0
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
@@ -196,48 +185,48 @@
octave: 4
semitone: 0
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 4
numerator: 1
pitches: []
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 12
numerator: 1
pitches:
- !ruby/object:Music::Transcription::Pitch
octave: 4
semitone: 3
- articulation: :slur
+ articulation: :normal
accented: false
- links: {}
- check_methods:
- - :ensure_positive_duration
+ links:
+ ? !ruby/object:Music::Transcription::Pitch
+ octave: 4
+ semitone: 3
+ : !ruby/object:Music::Transcription::Link::Tie {}
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
- !ruby/object:Music::Transcription::Pitch
octave: 4
semitone: 3
- articulation: :slur
+ articulation: :normal
accented: false
- links: {}
- check_methods:
- - :ensure_positive_duration
+ links:
+ ? !ruby/object:Music::Transcription::Pitch
+ octave: 4
+ semitone: 3
+ : !ruby/object:Music::Transcription::Link::Tie {}
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 36
numerator: 1
pitches:
@@ -245,12 +234,10 @@
octave: 4
semitone: 3
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 36
numerator: 1
pitches:
@@ -258,12 +245,10 @@
octave: 4
semitone: 5
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 36
numerator: 1
pitches:
@@ -271,12 +256,10 @@
octave: 4
semitone: 3
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
@@ -284,12 +267,10 @@
octave: 3
semitone: 10
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 12
numerator: 1
pitches:
@@ -297,12 +278,10 @@
octave: 4
semitone: 3
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
@@ -310,48 +289,48 @@
octave: 4
semitone: 0
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 4
numerator: 1
pitches: []
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 12
numerator: 1
pitches:
- !ruby/object:Music::Transcription::Pitch
octave: 4
semitone: 3
- articulation: :slur
+ articulation: :normal
accented: false
- links: {}
- check_methods:
- - :ensure_positive_duration
+ links:
+ ? !ruby/object:Music::Transcription::Pitch
+ octave: 4
+ semitone: 3
+ : !ruby/object:Music::Transcription::Link::Tie {}
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 4
numerator: 1
pitches:
- !ruby/object:Music::Transcription::Pitch
octave: 4
semitone: 3
- articulation: :slur
+ articulation: :normal
accented: false
- links: {}
- check_methods:
- - :ensure_positive_duration
+ links:
+ ? !ruby/object:Music::Transcription::Pitch
+ octave: 4
+ semitone: 3
+ : !ruby/object:Music::Transcription::Link::Tie {}
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 8
numerator: 1
pitches:
@@ -359,12 +338,10 @@
octave: 4
semitone: 3
articulation: :slur
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 8
numerator: 1
pitches:
@@ -372,55 +349,44 @@
octave: 4
semitone: 2
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
start_dynamic: 0.625
dynamic_changes: {}
- check_methods:
- - :ensure_start_dynamic
- - :ensure_dynamic_change_values_range
bass: !ruby/object:Music::Transcription::Part
notes:
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
- - &5 !ruby/object:Music::Transcription::Pitch
+ - !ruby/object:Music::Transcription::Pitch
octave: 2
semitone: 10
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 4
numerator: 1
pitches: []
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 3
numerator: 1
pitches:
- - &4 !ruby/object:Music::Transcription::Pitch
+ - !ruby/object:Music::Transcription::Pitch
octave: 2
semitone: 8
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
@@ -428,62 +394,62 @@
octave: 2
semitone: 5
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 12
numerator: 1
pitches:
- - *4
+ - !ruby/object:Music::Transcription::Pitch
+ octave: 2
+ semitone: 8
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
- - *5
+ - !ruby/object:Music::Transcription::Pitch
+ octave: 2
+ semitone: 10
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
- duration: *6
+ duration: !ruby/object:Rational
+ denominator: 4
+ numerator: 1
pitches: []
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 3
numerator: 1
pitches:
- - *4
+ - !ruby/object:Music::Transcription::Pitch
+ octave: 2
+ semitone: 8
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
- duration: *6
+ duration: !ruby/object:Rational
+ denominator: 4
+ numerator: 1
pitches:
- - *4
+ - !ruby/object:Music::Transcription::Pitch
+ octave: 2
+ semitone: 8
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
@@ -491,22 +457,18 @@
octave: 3
semitone: 0
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 4
numerator: 1
pitches: []
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 3
numerator: 1
pitches:
@@ -514,12 +476,10 @@
octave: 2
semitone: 10
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
@@ -527,12 +487,10 @@
octave: 2
semitone: 7
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 12
numerator: 1
pitches:
@@ -540,12 +498,10 @@
octave: 2
semitone: 10
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 6
numerator: 1
pitches:
@@ -553,22 +509,18 @@
octave: 3
semitone: 0
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 4
numerator: 1
pitches: []
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 3
numerator: 1
pitches:
@@ -576,12 +528,10 @@
octave: 2
semitone: 10
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
- !ruby/object:Music::Transcription::Note
duration: !ruby/object:Rational
denominator: 4
numerator: 1
pitches:
@@ -589,17 +539,12 @@
octave: 2
semitone: 10
articulation: :normal
accented: false
links: {}
- check_methods:
- - :ensure_positive_duration
start_dynamic: 0.5
dynamic_changes: {}
- check_methods:
- - :ensure_start_dynamic
- - :ensure_dynamic_change_values_range
program: !ruby/object:Music::Transcription::Program
segments:
- !ruby/range
begin: 0
end: 2
@@ -614,12 +559,5 @@
excl: true
- !ruby/range
begin: 0
end: 2
excl: true
- check_methods:
- - :ensure_increasing_segments
- - :ensure_nonnegative_segments
-check_methods:
-- :check_start_tempo
-- :check_tempo_changes
-- :check_meter_changes