Struct Midi.NoteTime
- Namespace
- SpessaSharp.MIDI
- Assembly
- SpessaSharp.dll
public readonly record struct Midi.NoteTime : IEquatable<Midi.NoteTime>
- Implements
- Inherited Members
Constructors
NoteTime(int, double, double, float)
public NoteTime(int MidiNote, double Start, double Length, float Velocity)
Parameters
MidiNoteintThe MIDI key number.
StartdoubleStart of the note, in seconds.
LengthdoubleLength of the note, in seconds.
VelocityfloatThe MIDI velocity of the note.
Properties
Length
Length of the note, in seconds.
public double Length { get; init; }
Property Value
MidiNote
The MIDI key number.
public int MidiNote { get; init; }
Property Value
Start
Start of the note, in seconds.
public double Start { get; init; }
Property Value
Velocity
The MIDI velocity of the note.
public float Velocity { get; init; }