Class: PocketMiku::RestNote
Instance Attribute Summary
Attributes inherited from Note
#key, #length, #pitchbend, #sound, #velocity
Instance Method Summary collapse
-
#initialize(length) ⇒ RestNote
constructor
A new instance of RestNote.
- #to_a ⇒ Object
Methods inherited from Note
Constructor Details
#initialize(length) ⇒ RestNote
Returns a new instance of RestNote.
115 116 117 |
# File 'lib/pocket_miku/note.rb', line 115 def initialize(length) super(sound:0, key:0, velocity:0, pitchbend:0, length: length) end |
Instance Method Details
#to_a ⇒ Object
119 120 121 |
# File 'lib/pocket_miku/note.rb', line 119 def to_a [] end |