Hi,
I’m trying to setup the midi configuration of OSC, but whatever I try, I keep getting errors, with several different things.
Before I go ahead…
-the config-manual notes that midi is bundled in OSC from version 1.7 and I’m using version 1.8.1 win32 x64, so I assumed nothing else needs to be installed except OSC. Is that right? Otherwise, it might be a good idea to change that description…
-I unpacked the zip to “c:/program files/OSCcontrol”, not “c:/program files (x86)/OSCcontrol”. Is that the correct path?
-I want to control external midi hardware: the axoloti circuitboard. From OSCpilot (which worked straight away without any extra installations) I got that the midi port is 4, called “axoloti_core”. So I know the computer recognizes the midi-connection and it’s available for programs.
then:
-When running the launcher (the first menu that starts?) and pressing “list midi devices”, I get the error:
“A JavaScript error occurred in the main process: Uncaught Exception:
Error: spawn py ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:77:11)”
I assume this is the main culprit that makes any further attempt to get the midi to work futile… So how would I fix this?
Anyways, in case this gives some extra information, what I immediately get when I start a new session:
“(ERROR, MIDI) Could not find python binary: py”
This looks like I dó still need to install phyton besides OSC, while the manual seems to say everything is included to make it work… If this is the case, it would be really helpful to add links for these in the configuration manual to the exactly right downloads (don’t let a noob try for himself to find out what he needs, he (in this case me…) will probably fail).
then:
for setting up the midi configuration in the launcher, I tried several different things:
for the send box I tried:
“midi:4,4” (trying out whether it would respond by just setting the midiport instead of the name)
“midi: axoloti,axoloti”
“midi: axoloti_core,axoloti_core” (which should be the right one)
for the midi box I tried:
“midi: 4,4”
“axoloti: 4,4”
“midi: axoloti,axoloti”
“midi: axoloti_core,axoloti_core”
“axoloti: axoloti_core,axoloti_core” (which should be the right one)
then:
when I add a fader in a session and move the slider, it already gives me an error without me even changing any settings:
"
(ERROR) A JavaScript error occurred in the main process:
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
at doWrite (_stream_writable.js:414:19)
at writeOrBuffer (_stream_writable.js:402:5)
at Socket.Writable.write (_stream_writable.js:302:11)
at PythonShell.send (C:\Program Files\OSCcontrol\open-stage-control-1.8.1-win32-x64\resources\app\server\node_modules\python-shell\index.js:285:1)
at MidiConverter.send (C:\Program Files\OSCcontrol\open-stage-control-1.8.1-win32-x64\resources\app\server\src\server\midi.js:55:1)
at OscServer.sendOsc (C:\Program Files\OSCcontrol\open-stage-control-1.8.1-win32-x64\resources\app\server\src\server\osc\index.js:91:1)
at Object.send (C:\Program Files\OSCcontrol\open-stage-control-1.8.1-win32-x64\resources\app\server\src\server\osc\index.js:237:1)
at Object.sendOsc (C:\Program Files\OSCcontrol\open-stage-control-1.8.1-win32-x64\resources\app\server\src\server\callbacks.js:357:1)
at Socket. (C:\Program Files\OSCcontrol\open-stage-control-1.8.1-win32-x64\resources\app\server\src\server\server.js:177:1)
at Socket.emit (events.js:203:13)
"