Hello all, i'm trying to control some parts of qlab with osc trough OSCulator but i'm stumbling trough some issue's.
I'm trying to edit values in qlab from cues but qlab is rather picky in accepted values.
Qlab accepts "." dots and "," comma's in different cases and mostly if it accepts dots it won't accept comma and vice versa.
so i try to edit a value what would accept a comma in it or just use integers.
It is not possible to change the "dot" in OSCulator values i suppose what would't be a problem may it not that my osc variable outputs is always added with a "dot"
So what i would like best as a result:
/cue/{cue_number}/opacity 52,38
<f:var[0]> would be 52,38 for example
What would suffice:
/cue/{cue_number}/opacity 52
52 as an integer number
What i get and qlab won't accept because there is a dot in the osc message:
/cue/{cue_number}/opacity 52.00
using <i:var[0]> integer
and /cue/{cue_number}/opacity 52.38
using <f:var[0]> float
Is there a way to solve this (maybe by sending a new osc message with the last 3 digits removed?)
or should i fall back to apple script? ( i would like to not do this because it's way slower and a very bad idea for continues stuff like fades)
Hope you can help and with kind regards!
I'm trying to edit values in qlab from cues but qlab is rather picky in accepted values.
Qlab accepts "." dots and "," comma's in different cases and mostly if it accepts dots it won't accept comma and vice versa.
so i try to edit a value what would accept a comma in it or just use integers.
It is not possible to change the "dot" in OSCulator values i suppose what would't be a problem may it not that my osc variable outputs is always added with a "dot"
So what i would like best as a result:
/cue/{cue_number}/opacity 52,38
<f:var[0]> would be 52,38 for example
What would suffice:
/cue/{cue_number}/opacity 52
52 as an integer number
What i get and qlab won't accept because there is a dot in the osc message:
/cue/{cue_number}/opacity 52.00
using <i:var[0]> integer
and /cue/{cue_number}/opacity 52.38
using <f:var[0]> float
Is there a way to solve this (maybe by sending a new osc message with the last 3 digits removed?)
or should i fall back to apple script? ( i would like to not do this because it's way slower and a very bad idea for continues stuff like fades)
Hope you can help and with kind regards!
Comment