Class: CoreMIDI::Events::ProgramChange

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



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

def channel
  @channel
end

#presetObject

Returns the value of attribute preset

Returns:

  • (Object)

    the current value of preset



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

def preset
  @preset
end