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.

26 lines
606 B

// Author: Gockner, Simon
// Created: 2021-04-09
// Copyright(c) 2021 SimonG. All Rights Reserved.
using Lib.Midi.Messages.Interfaces;
using NAudio.Midi;
namespace Lib.Midi.Messages
{
public abstract class MidiMessage : IMidiMessage
{
protected MidiMessage(MidiEvent midiEvent, int rawMessage)
{
ChannelNumber = midiEvent.Channel;
RawMessage = rawMessage;
}
protected MidiMessage()
{
}
public int ChannelNumber { get; protected init; }
public int RawMessage { get; protected init; }
}
}