Class: Vizcore::Audio::MidiInput::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/vizcore/audio/midi_input.rb

Overview

Normalized MIDI event payload.

Instance Attribute Summary collapse

Instance Attribute Details

#channelObject

Returns the value of attribute channel

Returns:

  • (Object)

    the current value of channel



11
12
13
# File 'lib/vizcore/audio/midi_input.rb', line 11

def channel
  @channel
end

#data1Object

Returns the value of attribute data1

Returns:

  • (Object)

    the current value of data1



11
12
13
# File 'lib/vizcore/audio/midi_input.rb', line 11

def data1
  @data1
end

#data2Object

Returns the value of attribute data2

Returns:

  • (Object)

    the current value of data2



11
12
13
# File 'lib/vizcore/audio/midi_input.rb', line 11

def data2
  @data2
end

#rawObject

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



11
12
13
# File 'lib/vizcore/audio/midi_input.rb', line 11

def raw
  @raw
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



11
12
13
# File 'lib/vizcore/audio/midi_input.rb', line 11

def timestamp
  @timestamp
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



11
12
13
# File 'lib/vizcore/audio/midi_input.rb', line 11

def type
  @type
end