Class SmpteOffsetEvent
SMPTE Offset Event
public class SmpteOffsetEvent : MetaEvent, ICloneable
- Inheritance
-
SmpteOffsetEvent
- Implements
- Inherited Members
Constructors
SmpteOffsetEvent(byte, byte, byte, byte, byte)
Creates a new time signature event
public SmpteOffsetEvent(byte hours, byte minutes, byte seconds, byte frames, byte subFrames)
Parameters
SmpteOffsetEvent(BinaryReader, int)
Reads a new time signature event from a MIDI stream
public SmpteOffsetEvent(BinaryReader br, int length)
Parameters
brBinaryReaderThe MIDI stream
lengthintThe data length
Properties
Frames
Frames
public int Frames { get; }
Property Value
Hours
Hours
public int Hours { get; }
Property Value
Minutes
Minutes
public int Minutes { get; }
Property Value
Seconds
Seconds
public int Seconds { get; }
Property Value
SubFrames
SubFrames
public int SubFrames { get; }
Property Value
Methods
Clone()
Creates a deep clone of this MIDI event.
public override MidiEvent Clone()
Returns
Export(ref long, BinaryWriter)
Calls base class export first, then exports the data specific to this event MidiEvent.Export
public override void Export(ref long absoluteTime, BinaryWriter writer)
Parameters
absoluteTimelongwriterBinaryWriter
ToString()
Describes this time signature event
public override string ToString()
Returns
- string
A string describing this event