void PedalOff(PedalEnum aPedal, int aValue, int aChannel) { if (pedalOff) { Debug.Log("Pedal ON : " + aPedal.ToString() + " Channel : " + aChannel); } }
public void Pedal(PedalEnum aPedal, int aValue) { if (MIDISettings.instance.playmakerSettings.midiOut) { midiOutHelper.Pedal(aPedal, aValue, GetMidiChannel()); } }
void OnPedalOffEvent(PedalEnum aPedal, int aValue, int aChannel) { if (PedalOffEvent != null) { PedalOffEvent(aPedal, aValue, aChannel); } }
public static int Pedal(PedalEnum aPedal, int aValue, ChannelEnum aChannel = ChannelEnum.C0) { if (aChannel == ChannelEnum.None) { return(0); } return(Pedal((int)aPedal, aValue, (int)aChannel)); }
public void Pedal(PedalEnum aPedal, int aValue, ChannelEnum aChannel = ChannelEnum.C0) { SendShortMessage((int)aChannel + (int)CommandEnum.Controller, (int)aPedal, aValue); }