Class: HeadMusic::Notation::ABC::Writer::Segment

Inherits:
Data
  • Object
show all
Defined in:
lib/head_music/notation/abc/writer.rb

Overview

A placement sounding across a bar line is written as one note per bar, tied, since ABC has no other way to cross the line. A fraction of nil means the placement fits its bar and renders from its own rhythmic value, which keeps the exporter's canonical collapse of tied chains.

Instance Attribute Summary collapse

Instance Attribute Details

#bar_number ⇒ Object (readonly, private)

Returns the value of attribute bar_number

Returns:

  • (Object) —

    the current value of bar_number



129
130
131
# File 'lib/head_music/notation/abc/writer.rb', line 129

def bar_number
  @bar_number
end

#continues ⇒ Object (readonly, private)

Returns the value of attribute continues

Returns:

  • (Object) —

    the current value of continues



129
130
131
# File 'lib/head_music/notation/abc/writer.rb', line 129

def continues
  @continues
end

#fraction ⇒ Object (readonly, private)

Returns the value of attribute fraction

Returns:

  • (Object) —

    the current value of fraction



129
130
131
# File 'lib/head_music/notation/abc/writer.rb', line 129

def fraction
  @fraction
end

#placement ⇒ Object (readonly, private)

Returns the value of attribute placement

Returns:

  • (Object) —

    the current value of placement



129
130
131
# File 'lib/head_music/notation/abc/writer.rb', line 129

def placement
  @placement
end