Struct PatternEvent<T>
- Namespace
- Sigil.Sound
- Assembly
- Sigil.Sound.Notes.dll
A value placed in time. Sigil.Sound.PatternEvent`1.Whole is the full extent of the event; Sigil.Sound.PatternEvent`1.Part is the piece of it that falls inside the queried arc (a query that cuts an event in two returns two events sharing a whole).
public readonly record struct PatternEvent<T> : IEquatable<PatternEvent<T>>Type Parameters
T
Implements
Inherited Members
Constructors
PatternEvent(Arc, Arc, T)
A value placed in time. Sigil.Sound.PatternEvent`1.Whole is the full extent of the event; Sigil.Sound.PatternEvent`1.Part is the piece of it that falls inside the queried arc (a query that cuts an event in two returns two events sharing a whole).
public PatternEvent(Arc Whole, Arc Part, T Value)Parameters
Properties
HasOnset
True when this event starts inside the queried arc, rather than carrying on from before it. Play these.
public bool HasOnset { get; }Property Value
Part
public Arc Part { get; init; }Property Value
Value
public T Value { get; init; }Property Value
- T
Whole
public Arc Whole { get; init; }