Beispiel #1
0
        void setOutput(JObject details)
        {
            switch (type)
            {
            case OutputType.MIDI:
                var content = details != null ? details : MidiOut.CreateJObject();
                output = new MidiOut(content);
                break;

            case OutputType.OSC: output = null; break;
            }

            if (output != null)
            {
                output.OnPropertyUpdate(UpdateProperty);
            }
        }
Beispiel #2
0
 public MidiOutGui(MidiOut parent)
 {
     this.parent = parent;
     InitializeComponent();
     this.DataContext = parent;
 }