class SMF::VirtualNote

Attributes

length[RW]
note[RW]
offvel[RW]
vel[RW]

Public Class Methods

new(offset, ch, note, vel, offvel, length) click to toggle source
Calls superclass method SMF::ChannelMessage::new
# File lib/smf/toy/virtual.rb, line 110
def initialize(offset, ch, note, vel, offvel, length)
  super(offset, ch)
  @note, @vel, @offvel, @length = note, vel, offvel, length
end