Class: HeadMusic::Notation::MusicXML::BeamGrouper::Event

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#beam_break_beforeObject

Returns the value of attribute beam_break_before

Returns:

  • (Object)

    the current value of 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

#levelsObject

Returns the value of attribute levels

Returns:

  • (Object)

    the current value of levels



16
17
18
# File 'lib/head_music/notation/music_xml/beam_grouper.rb', line 16

def levels
  @levels
end

#onsetObject

Returns the value of attribute onset

Returns:

  • (Object)

    the current value of onset



16
17
18
# File 'lib/head_music/notation/music_xml/beam_grouper.rb', line 16

def onset
  @onset
end