Example #1
0
 private static MidiMessage BuildMessageFromConfiguration(HauptwerkConfiguration.MidiNote command)
 {
     return(new NoteMessage((ushort)command.Channel, (ushort)command.Note, true));
 }
Example #2
0
        private void SendMessageAsConfigured(HauptwerkConfiguration.MidiNote command)
        {
            var message = BuildMessageFromConfiguration(command);

            midi.Send(message);
        }