Not Responding to External OSC input
Posted: Wed Dec 16, 2015 1:20 pm
This was originally posted to https://github.com/mcallegari/qlcplus/issues/715 - which was the wrong place.
I am trying to get TouchOSC working with the OSC plugin.
The problem I am encountering is getting a QLC button to fire when sent an OSC command.
I am sure I have all of the network configuration working.
This screen shot (output.png) shows that packets are being received - the count increments whenever I hit a button on TouchOSC.
I figure that count is being incremented by OSCController::processPendingPackets, line 388.
I have a VC button configured to receive the message, see image button.png.
I have verified that "/2/toggle2" is being transmitted via another program. I haven't figure out what the "50239" is. Is it the hash?
No specific messages are showing up in the debug output ... but all of the qDebug lines in the key method are commented out.
I am seeing some universe error messages in the debug output, but don't know if it is relevant or not.
Massimo suggested that there was indeed a problem with Universe 5 which is the OSC universe.
Plugz asked some questions:
What is the program sending OSC ? - TouchOSC - version information below.
What type of OSC messages is it sending ? (int or float or whatever) - I was sending "/2/toggle2", but I don't know the payload datatype. It would be a good thing to add to the QLC+ plugin debug messages.
Is the joystick icon showing when you send OSC messages to QLC+ ? - I think you are referring to the dot in the corner of the TouchOSC interface. So yes, the green light flashes. Also the message count on QLC increases everytime I press the button.
./qlcplus -d
Q Light Controller Plus version 4.10.1
This program is licensed under the terms of the Apache 2.0 license.
Copyright (c) Heikki Junnila (hjunnila@users.sf.net)
Copyright (c) Massimo Callegari (massimocallegari@yahoo.it)
bool QLCFixtureDefCache::loadMap(const QDir &) Unknown Fixture Map tag: "FixturesMap"
bool QLCFixtureDefCache::loadMap(const QDir &) Unknown Fixture Map tag: ""
void IOPluginCache::load(const QDir &) "libolaio.dylib" doesn't contain an I/O plugin: "Cannot load library /Applications/QLC+.app/Contents/PlugIns/libolaio.dylib: (dlopen(/Applications/QLC+.app/Contents/PlugIns/libolaio.dylib, 5): Library not loaded: /opt/local/lib/libolaserver.0.dylib\n Referenced from: /Applications/QLC+.app/Contents/PlugIns/libolaio.dylib\n Reason: image not found)"
libpng warning: iCCP: known incorrect sRGB profile
InputPatch *InputOutputMap::inputPatch(quint32) const Universe 5 out of bounds.
OutputPatch *InputOutputMap::outputPatch(quint32) const Universe 5 out of bounds.
OutputPatch *InputOutputMap::feedbackPatch(quint32) const Universe 5 out of bounds.
----- Version Information ----
QLC+: 4.10.1 running on OSX: 10,11,1
TouchOSC v1.9.5 running on iOS 9.2 on iPhone 6.
For debugging purposes i used the program "oscP5sendReceive.pde" with modifications to IP and Port. Using this program I could confirm that my laptop was receivign the OSC messages from touchOSC. And with a different config I could also independently transmit OSC messages to QLC+. Using either TouchOSC or oscP5sendReceive I can see the message counts increment in QLC+.
My qxw file is here https://www.dropbox.com/s/fnzva1f299ofc ... b.qxw?dl=0
I am trying to get TouchOSC working with the OSC plugin.
The problem I am encountering is getting a QLC button to fire when sent an OSC command.
I am sure I have all of the network configuration working.
This screen shot (output.png) shows that packets are being received - the count increments whenever I hit a button on TouchOSC.
I figure that count is being incremented by OSCController::processPendingPackets, line 388.
I have a VC button configured to receive the message, see image button.png.
I have verified that "/2/toggle2" is being transmitted via another program. I haven't figure out what the "50239" is. Is it the hash?
No specific messages are showing up in the debug output ... but all of the qDebug lines in the key method are commented out.
I am seeing some universe error messages in the debug output, but don't know if it is relevant or not.
Massimo suggested that there was indeed a problem with Universe 5 which is the OSC universe.
Plugz asked some questions:
What is the program sending OSC ? - TouchOSC - version information below.
What type of OSC messages is it sending ? (int or float or whatever) - I was sending "/2/toggle2", but I don't know the payload datatype. It would be a good thing to add to the QLC+ plugin debug messages.
Is the joystick icon showing when you send OSC messages to QLC+ ? - I think you are referring to the dot in the corner of the TouchOSC interface. So yes, the green light flashes. Also the message count on QLC increases everytime I press the button.
./qlcplus -d
Q Light Controller Plus version 4.10.1
This program is licensed under the terms of the Apache 2.0 license.
Copyright (c) Heikki Junnila (hjunnila@users.sf.net)
Copyright (c) Massimo Callegari (massimocallegari@yahoo.it)
bool QLCFixtureDefCache::loadMap(const QDir &) Unknown Fixture Map tag: "FixturesMap"
bool QLCFixtureDefCache::loadMap(const QDir &) Unknown Fixture Map tag: ""
void IOPluginCache::load(const QDir &) "libolaio.dylib" doesn't contain an I/O plugin: "Cannot load library /Applications/QLC+.app/Contents/PlugIns/libolaio.dylib: (dlopen(/Applications/QLC+.app/Contents/PlugIns/libolaio.dylib, 5): Library not loaded: /opt/local/lib/libolaserver.0.dylib\n Referenced from: /Applications/QLC+.app/Contents/PlugIns/libolaio.dylib\n Reason: image not found)"
libpng warning: iCCP: known incorrect sRGB profile
InputPatch *InputOutputMap::inputPatch(quint32) const Universe 5 out of bounds.
OutputPatch *InputOutputMap::outputPatch(quint32) const Universe 5 out of bounds.
OutputPatch *InputOutputMap::feedbackPatch(quint32) const Universe 5 out of bounds.
----- Version Information ----
QLC+: 4.10.1 running on OSX: 10,11,1
TouchOSC v1.9.5 running on iOS 9.2 on iPhone 6.
For debugging purposes i used the program "oscP5sendReceive.pde" with modifications to IP and Port. Using this program I could confirm that my laptop was receivign the OSC messages from touchOSC. And with a different config I could also independently transmit OSC messages to QLC+. Using either TouchOSC or oscP5sendReceive I can see the message counts increment in QLC+.
My qxw file is here https://www.dropbox.com/s/fnzva1f299ofc ... b.qxw?dl=0