Table of Contents

Class SmpteOffsetEvent

Namespace
NAudio.Midi
Assembly
NAudio.Midi.dll

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

hours byte
minutes byte
seconds byte
frames byte
subFrames byte

SmpteOffsetEvent(BinaryReader, int)

Reads a new time signature event from a MIDI stream

public SmpteOffsetEvent(BinaryReader br, int length)

Parameters

br BinaryReader

The MIDI stream

length int

The data length

Properties

Frames

Frames

public int Frames { get; }

Property Value

int

Hours

Hours

public int Hours { get; }

Property Value

int

Minutes

Minutes

public int Minutes { get; }

Property Value

int

Seconds

Seconds

public int Seconds { get; }

Property Value

int

SubFrames

SubFrames

public int SubFrames { get; }

Property Value

int

Methods

Clone()

Creates a deep clone of this MIDI event.

public override MidiEvent Clone()

Returns

MidiEvent

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

absoluteTime long
writer BinaryWriter

ToString()

Describes this time signature event

public override string ToString()

Returns

string

A string describing this event