Package voltage.core

# Class VoltagePluginHost.MidiMessageWithSampleOffset

java.lang.Object
voltage.core.VoltagePluginHost.MidiMessageWithSampleOffset

Enclosing class:
  `VoltagePluginHost`

public static class VoltagePluginHost.MidiMessageWithSampleOffset extends Object
Constains a MIDI message with a sample time.

- ## Field Summary

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MidiMessageWithSampleOffset(ShortMessage _sm, int _timeOffset)`
  Constructor

- ## Method Summary

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

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

- ## Field Details

  - ### sm

    public ShortMessage sm
    The MIDI message.

  - ### timeOffset

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

- ## Constructor Details

  - ### MidiMessageWithSampleOffset

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