Closed dpcb0001 closed 5 years ago
When using the path
option in the midi
config, you need to pass the full path to the executable file, not just the directory. It should look like path="C:\Program Files (x86)\Python37-32\python3.exe"
Thanks a lot jean-emmanuel, that was it !
By any chance do you know why o-s-c calls py
instead of python
when I don't use the path
option? python
is in my PATH.
Now I don't have errors in PowerShell anymore but the button with settings from the documentation doesn't produce any sound. Whereas a .py file with rtmidi usage example does (https://pypi.org/project/python-rtmidi/). I will investigate more. Thanks again.
EDIT: Also the list option (.\open-stage-control.exe -m list path="C:\Program Files (x86)\Python37-32\python.exe"
) most often doesn't return anything, although I would have guessed it should because there is always at least the Microsoft GS Wavetable Synth as an output device no?
By any chance do you know why o-s-c calls py instead of python when I don't use the path option? python is in my PATH.
The library used to launch python assumes the executable is called this way, unfortunately python installation is very inconsistent accross different windows system. I'll try to make it try both py and python
.
I would have guessed it should because there is always at least the Microsoft GS Wavetable Synth as an output device
The issue is documented (https://github.com/thestk/rtmidi/issues/77), I'll try to implement the workaround.
This is very probable that I'm not using the midi options properly but I keep having the following errors in the PowerShell console. Once the errors are printed, o-s-c does start but midi doesn't work.
In any case, if I close the o-s-c window, the following is printed in the PowerShell window:
If I don't close the window but instead try to send a midi message using the /note address and the settings from the documentation (push button with address: /note, preArgs: [1, 60], on: 100, off: 0, target: ["midi:device_name"]) I get the following message printed in the PowerShell console:
I tried running the rtmidi usage example (https://pypi.org/project/python-rtmidi/) and I do hear the sound produced by Microsoft GS Wavetable Synth but the input midi device created by python-rtmidi doesn't seem to be recognized by the MIDI-OX utility