Class: HeadMusic::Notation::MusicXML::BeamGrouper::Event
- Inherits:
-
Struct
- Object
- Struct
- HeadMusic::Notation::MusicXML::BeamGrouper::Event
- Defined in:
- lib/head_music/notation/music_xml/beam_grouper.rb
Overview
One notehead’s beaming inputs. - levels: beams this notehead carries alone (eighth=1, sixteenth=2, …); a rest or quarter-or-longer note is 0 (unbeamable). - onset: integer offset from the start of the bar, in MusicXML divisions. - beam_break_before: tri-state override vs. the previous event (nil = meter default, true = force break, false = force join).
Instance Attribute Summary collapse
-
#beam_break_before ⇒ Object
Returns the value of attribute beam_break_before.
-
#levels ⇒ Object
Returns the value of attribute levels.
-
#onset ⇒ Object
Returns the value of attribute onset.
Instance Attribute Details
#beam_break_before ⇒ Object
Returns the value of attribute beam_break_before
16 17 18 |
# File 'lib/head_music/notation/music_xml/beam_grouper.rb', line 16 def beam_break_before @beam_break_before end |
#levels ⇒ Object
Returns the value of attribute levels
16 17 18 |
# File 'lib/head_music/notation/music_xml/beam_grouper.rb', line 16 def levels @levels end |
#onset ⇒ Object
Returns the value of attribute onset
16 17 18 |
# File 'lib/head_music/notation/music_xml/beam_grouper.rb', line 16 def onset @onset end |