Class: Ramekin::NoteWrapper
Constant Summary
Constants inherited
from NoteEvent
Ramekin::NoteEvent::NOTES
Instance Attribute Summary
Attributes inherited from NoteEvent
#extensions, #note, #octave
Attributes inherited from Element
#channel, #components, #macro_stack, #start_tick
Instance Method Summary
collapse
Methods inherited from NoteEvent
#default_error_location, #default_length, #inspect, #length_amk, #note_hex, #octave_num, #octave_switching_amk, #repr, #ticks, #to_amk
Methods inherited from Element
make
Constructor Details
Returns a new instance of NoteWrapper.
13
14
15
|
# File 'lib/ramekin/legato.rb', line 13
def initialize(note)
@note = note
end
|
Instance Method Details
#fin ⇒ Object
21
22
23
|
# File 'lib/ramekin/legato.rb', line 21
def fin
@note.fin
end
|
37
38
39
|
# File 'lib/ramekin/legato.rb', line 37
def meta
@note.meta
end
|
#note_name ⇒ Object
41
42
43
|
# File 'lib/ramekin/legato.rb', line 41
def note_name
@note.note_name
end
|
#octave_amk(*a) ⇒ Object
33
34
35
|
# File 'lib/ramekin/legato.rb', line 33
def octave_amk(*a)
@note.octave_amk(*a)
end
|
#rest? ⇒ Boolean
29
30
31
|
# File 'lib/ramekin/legato.rb', line 29
def rest?
@note.rest?
end
|
#start ⇒ Object
17
18
19
|
# File 'lib/ramekin/legato.rb', line 17
def start
@note.start
end
|
#tie? ⇒ Boolean
25
26
27
|
# File 'lib/ramekin/legato.rb', line 25
def tie?
@note.tie?
end
|