MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Scripting Questions >> None of the demos send midi after diverting SOLVED
(Message started by: Soul-Burn on May 14th, 2013, 7:28pm)

Title: None of the demos send midi after diverting SOLVED
Post by Soul-Burn on May 14th, 2013, 7:28pm
I have tried running the demos at C:\Program Files (x86)\MIDIOX\WSH including:
MOXScriptDemo.vbs
MOXScriptPoll.vbs
MOXPythonDemo.py

In all of them, when selecting "divert midi", no data sent from the controller is propagated onwards (unlike when just midi-ox, without a script, is running). The data is received in the script (added prints for debugging), but the OutputMidiMsg function fails to do anything.


This is my mapping (if relevant)

Inputs:
Midi controller 1
Midi controller 2
teMidiloop return

Outputs:
teMidiloop 1
teMidiloop 2
teMidiloop both

Mapping:
teMidiloop 1
- Midi controller 1
teMidiloop 2
- Midi controller 2
teMidiloop both
- Midi controller 1
- Midi controller 2


-- SOLUTION --
I didn't add the Midi-OX events to the channels, causing the generated events to go nowhere.

Title: Re: None of the demos send midi after diverting
Post by Soul-Burn on May 15th, 2013, 2:12am
Ok so regardless of diverting, the call "mox.OutputMidiMsg(-1, status, data1, data2)" does not seem to send the data back to midi-ox.
Other calls seems to work (GetInPortID etc) and return usable values.
The output monitor screen stays empty until diversion is over.
The input monitor screen shows the input, but seems to stutter quite a bit.



MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.