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

MidiNote int

The MIDI key number.

Start double

Start of the note, in seconds.

Length double

Length of the note, in seconds.

Velocity float

The MIDI velocity of the note.

Properties

Length

Length of the note, in seconds.

public double Length { get; init; }

Property Value

double

MidiNote

The MIDI key number.

public int MidiNote { get; init; }

Property Value

int

Start

Start of the note, in seconds.

public double Start { get; init; }

Property Value

double

Velocity

The MIDI velocity of the note.

public float Velocity { get; init; }

Property Value

float