Class: CoreMIDI::Events::KeyPressure

Inherits:
Struct
  • Object
show all
Defined in:
lib/coremidi.rb

Instance Attribute Summary collapse

Instance Attribute Details

#channelObject

Returns the value of attribute channel

Returns:

  • (Object)

    the current value of channel



43
44
45
# File 'lib/coremidi.rb', line 43

def channel
  @channel
end

#pitchObject

Returns the value of attribute pitch

Returns:

  • (Object)

    the current value of pitch



43
44
45
# File 'lib/coremidi.rb', line 43

def pitch
  @pitch
end

#pressureObject

Returns the value of attribute pressure

Returns:

  • (Object)

    the current value of pressure



43
44
45
# File 'lib/coremidi.rb', line 43

def pressure
  @pressure
end