diff --git a/OSC_MIDI_OSC.xcodeproj/project.xcworkspace/xcuserdata/fredrodrigues.xcuserdatad/UserInterfaceState.xcuserstate b/OSC_MIDI_OSC.xcodeproj/project.xcworkspace/xcuserdata/fredrodrigues.xcuserdatad/UserInterfaceState.xcuserstate index 9e69a79..bb066f6 100644 Binary files a/OSC_MIDI_OSC.xcodeproj/project.xcworkspace/xcuserdata/fredrodrigues.xcuserdatad/UserInterfaceState.xcuserstate and b/OSC_MIDI_OSC.xcodeproj/project.xcworkspace/xcuserdata/fredrodrigues.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/bin/data/MIDI_OSC_SETTINGS.json b/bin/data/MIDI_OSC_SETTINGS.json index dffd25d..ef67925 100644 --- a/bin/data/MIDI_OSC_SETTINGS.json +++ b/bin/data/MIDI_OSC_SETTINGS.json @@ -9,8 +9,7 @@ "Euphonix MIDI Euphonix Port 1", "Euphonix MIDI Euphonix Port 2", "Euphonix MIDI Euphonix Port 3", - "Euphonix MIDI Euphonix Port 4", - "OSC_MIDI_OSC_OUT" + "Euphonix MIDI Euphonix Port 4" ], "midiOutChannel": 1, "midiOutDevice": 9, @@ -19,9 +18,9 @@ "Euphonix MIDI Euphonix Port 1", "Euphonix MIDI Euphonix Port 2", "Euphonix MIDI Euphonix Port 3", - "Euphonix MIDI Euphonix Port 4", - "OSC_MIDI_OSC_IN" + "Euphonix MIDI Euphonix Port 4" ], "outGoingPortOsc": 1234, - "outgoingIpOSC": "127.0.0.1" + "outgoingIpOSC": "127.0.0.1", + "useVirtualPort": false } \ No newline at end of file diff --git a/src/ofApp.cpp b/src/ofApp.cpp index a3f512d..19991af 100644 --- a/src/ofApp.cpp +++ b/src/ofApp.cpp @@ -19,6 +19,16 @@ void ofApp::setup(){ ofSetLogLevel(OF_LOG_VERBOSE); ofLogVerbose() << "Log level set to OF_LOG_VERBOSE" << endl; } +#ifdef TARGET_OSX + if (!jsonSettings["useVirtualPort"].is_null()) { + useVirtualPort = jsonSettings["useVirtualPort"]; + ofLogVerbose()<<"useVirtualPort set to "<