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

MidiNote int

The MIDI note number.

Channel int

The MIDI channel number.

Velocity int

The velocity of the note.

Properties

Channel

The MIDI channel number.

public int Channel { get; init; }

Property Value

int

MidiNote

The MIDI note number.

public int MidiNote { get; init; }

Property Value

int

Velocity

The velocity of the note.

public int Velocity { get; init; }

Property Value

int