Struct SequencerEvent<T>
- Namespace
- NAudio.Sequencing
- Assembly
- NAudio.Core.dll
An event placed at a musical position (in canonical ticks) with a consumer-defined payload.
public readonly record struct SequencerEvent<T> : IEquatable<SequencerEvent<T>>
Type Parameters
TPayload type. The sequencer core never inspects the payload — the consuming sink (audio mixer, MIDI out, VST3 host, sampler voice allocator) interprets it.
- Implements
- Inherited Members
Constructors
SequencerEvent(long, T)
An event placed at a musical position (in canonical ticks) with a consumer-defined payload.
public SequencerEvent(long Tick, T Payload)
Parameters
TicklongPayloadT
Properties
Payload
public T Payload { get; init; }
Property Value
- T
Tick
public long Tick { get; init; }