class SMF::NoteOn
Attributes
note[RW]
vel[RW]
velocity[RW]
velocity=[RW]
Public Class Methods
new(offset, ch, note, vel)
click to toggle source
Calls superclass method
SMF::ChannelMessage::new
# File lib/smf.rb, line 341 def initialize(offset, ch, note, vel) # note:0/2**7-1, vel:0/2**7-1 super(offset, ch) @note, @vel = note, vel end
Public Instance Methods
==(other)
click to toggle source
Calls superclass method
SMF::ChannelMessage#==
# File lib/smf.rb, line 352 def == (other) super && note == other.note && vel == other.vel end