public void sendMidiCC(int midiChannel, int midiControl, float value)
        {
            if (currentOutputDevice != null)
            {
                Midi.Channel channel = (Midi.Channel)midiChannel;
                Midi.Control control = (Midi.Control)midiControl;

                currentOutputDevice.SendControlChange(channel, control, (int)value * 127);
            }
        }
Example #2
0
 public MidiChannel(Midi.Channel c)
 {
     channel = c;
     Name = Enum.GetName(typeof(Midi.Channel), c);
 }
 public kinectInterpreter()
 {
     // Midikanal wird gesetzt (Standard 0)
     midiChannel = (Midi.Channel)MIDI_CHANNEL;
 }
Example #4
0
 public MidiChannel(Midi.Channel c)
 {
     channel = c;
     Name    = Enum.GetName(typeof(Midi.Channel), c);
 }