Method: Reight::Sound::Note#to_hash

Defined in:
lib/reight/sound.rb

#to_hashObject



182
183
184
# File 'lib/reight/sound.rb', line 182

def to_hash()
  {index: @index, tone: TONES.index(@tone)}
end