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.

18 lines
462 B

// Author: Gockner, Simon
// Created: 2021-04-07
// Copyright(c) 2021 SimonG. All Rights Reserved.
using Lib.Audio.Interfaces;
using Lib.Midi.Messages.Interfaces;
namespace Lib.Audio.Controls.Buttons.Interfaces
{
public interface IButton
{
int NoteNumber { get; }
byte Controller { get; }
IMidiMessage? HandlePressed(IControllable? controllable, Velocity velocity);
IMidiMessage ToggleLed(LedState ledState);
}
}