Cross Platform Application to allow control with a MIDI controller
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
446 B

// Author: Simon Gockner
// Created: 2021-04-10
// Copyright(c) 2021 SimonG. All Rights Reserved.
using NAudio.Midi;
namespace Lib.Midi.Messages
{
public class NoteMessage : MidiMessage
{
public NoteMessage(NoteEvent noteEvent)
: base(noteEvent)
{
}
private NoteEvent NoteEvent => (NoteEvent) _midiEvent;
public int NoteNumber => NoteEvent.NoteNumber;
}
}