Class: PocketMiku::RestNote

Inherits:
Note show all
Defined in:
lib/pocket_miku/note.rb

Instance Attribute Summary

Attributes inherited from Note

#key, #length, #pitchbend, #sound, #velocity

Instance Method Summary collapse

Methods inherited from Note

#to_h, #to_s

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_aObject



119
120
121
# File 'lib/pocket_miku/note.rb', line 119

def to_a
  []
end