Struct Event.CbNoteOn
- Namespace
- SpessaSharp.Synthesizer
- Assembly
- SpessaSharp.dll
This event fires when a note is played.
public readonly record struct Event.CbNoteOn : IEquatable<Event.CbNoteOn>
- Implements
- Inherited Members
Constructors
CbNoteOn(int, int, int)
This event fires when a note is played.
public CbNoteOn(int MidiNote, int Channel, int Velocity)
Parameters
MidiNoteintThe MIDI note number.
ChannelintThe MIDI channel number.
VelocityintThe velocity of the note.
Properties
Channel
The MIDI channel number.
public int Channel { get; init; }
Property Value
MidiNote
The MIDI note number.
public int MidiNote { get; init; }
Property Value
Velocity
The velocity of the note.
public int Velocity { get; init; }