Package voltage.core

# Class VoltageObjects.MIDIEvent

java.lang.Object
voltage.core.VoltageObjects.MIDIEvent

Enclosing class:
  `VoltageObjects`

public static class VoltageObjects.MIDIEvent extends Object
Constains a MIDI message with a sample time.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `ShortMessage`
  `midiMessage`
  The MIDI message.
  `int`
  `sampleTime`
  The message's time in terms of samples passed.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MIDIEvent(int sampleT, ShortMessage message)`
  Constructor

- ## Method Summary

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### sampleTime

    public int sampleTime
    The message's time in terms of samples passed.

  - ### midiMessage

    public ShortMessage midiMessage
    The MIDI message.

- ## Constructor Details

  - ### MIDIEvent

    public MIDIEvent(int sampleT, ShortMessage message)
    Constructor
    Parameters:
      `sampleT` - the message's time in terms of samples passed.
      `message` - the MIDI message.