class SMF::PolyphonicKeyPressure

Attributes

note[RW]
val[RW]
value[RW]
value=[RW]

Public Class Methods

new(offset, ch, note, val) click to toggle source
Calls superclass method SMF::ChannelMessage::new
# File lib/smf.rb, line 360
def initialize(offset, ch, note, val)
  # note:0/2**7-1, val:0/2**7-1
  super(offset, ch)
  @note, @val = note, val
end

Public Instance Methods

==(other) click to toggle source
Calls superclass method SMF::ChannelMessage#==
# File lib/smf.rb, line 371
def == (other)
  super && note == other.note && val == other.val
end