You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
big thanks for sharing this addon ! seems usefull !
i'm trying to link an ofxOscVariable to a ofxFloatSlider of ofxGui in OF073 .
my idea is that a parameter could be controlled on the gui and then send updates of it's value, an receive also values from the osc receiver ...
simply i followed your example changing this :
in .h
ofxIntSlider delay;
in .cpp
oscVar.addVariableToPath(delay, "/pm/delay");
i get this compilation issue :
/../../../addons/ofxOscVariable/src/ofxOSCvariable.h: line 120:0
/../../../addons/ofxOscVariable/src/ofxOSCvariable.h:120: error: no matching function for call to 'ofxSlider::ofxSlider(int)'
on this line(120 of ofxOscVariable.h) T value = getValueFromMessage(m,(T)0);
i was hopping that this could work or even be a nice and clean idea to link gui + osc in and out ...
do you think it's possible to get this ?
thanks again.
e*
The text was updated successfully, but these errors were encountered:
hi.
ofxOSCVariable was designed to be used with standard types like int, float and string, whereas ofxGUI has its own ofParameter.
ofParameter wraps standard types to shared ofPtr which makes it hard to integrate with ofxOSCVariable.
Although I haven't tried, there is ofOscParameter in ofxGUI it might be good idea to use that instead.
or you can use other gui with ofxOSCVariable like ofxUI, which also uses standard variable types.
please do share how your doing.
I haven't quite polished this addon yet as I didn't have OSC project since, but I will look in to it on your request.
hi there !
big thanks for sharing this addon ! seems usefull !
i'm trying to link an ofxOscVariable to a ofxFloatSlider of ofxGui in OF073 .
my idea is that a parameter could be controlled on the gui and then send updates of it's value, an receive also values from the osc receiver ...
simply i followed your example changing this :
in .h
ofxIntSlider delay;
in .cpp
oscVar.addVariableToPath(delay, "/pm/delay");
i get this compilation issue :
/../../../addons/ofxOscVariable/src/ofxOSCvariable.h: line 120:0
/../../../addons/ofxOscVariable/src/ofxOSCvariable.h:120: error: no matching function for call to 'ofxSlider::ofxSlider(int)'
on this line(120 of ofxOscVariable.h) T value = getValueFromMessage(m,(T)0);
i was hopping that this could work or even be a nice and clean idea to link gui + osc in and out ...
do you think it's possible to get this ?
thanks again.
e*
The text was updated successfully, but these errors were encountered: