Closed qfulmina closed 3 weeks ago
I think there is a misunderstanding here. What you see in the input profile editor is channel + 1 but what is written in the profile is channel. Check for example this https://github.com/mcallegari/qlcplus/blob/master/resources/inputprofiles/TouchOSC-Automat5.qxi#L62 is presented as this
So the calculator is correct, since it outputs what you actually need to write in an input profile or your custom OSC node. Closing.
Thanks for clarifying, @mcallegari
I think there is a misunderstanding here.
True. And sorry for that.
What you see in the input profile editor is channel + 1 but what is written in the profile is channel. Check for example this https://github.com/mcallegari/qlcplus/blob/master/resources/inputprofiles/TouchOSC-Automat5.qxi#L62 is presented as this
Alright. Could we place a hint somewhere near the calculator? Tooltip, text, some kind of question mark icon, or the like?
I might not be the only one wondering that there is a difference and having a hard time remembering if and where to add 1 (or subtract?) when setting up the VC with channels calculated by the calculator.
Documentation updated https://docs.qlcplus.org/v4/plugins/osc
Describe the bug The OSC Channel Number Calculator at the OSC Plugin configuration appears to be off by one.
To Reproduce Go to Input/Output. Choose OSC Plugin. Input /qlc/test to the Channel Number Calculator. You get 46808 as the Channel number. Create a Widget e.g. a Button in the Virtual Console. Edit the properties and Auto detect External Input. Send a test value to /qlc/test and you get 46809. E.g. with this python script
This happens to all OSC paths.
Expected behavior Same Channel Numbers.
Screenshots
![Detected Channel Number](https://github.com/mcallegari/qlcplus/assets/95013050/59262be6-b14b-4d52-a567-95b67f2be3b8)
Desktop (please complete the following information):