]> Shamusworld >> Repos - ardour-manual-diverged/blob - _manual/22_using-control-surfaces/01_controlling-ardour-with-osc/04_parameter-types-in-osc.html
15956d04cea09fd22955a17d62a7ad328d0eab1c
[ardour-manual-diverged] / _manual / 22_using-control-surfaces / 01_controlling-ardour-with-osc / 04_parameter-types-in-osc.html
1 ---
2 layout: default
3 title: Parameter Types in OSC
4 ---
5
6 <p>
7   An OSC message is laid out in this form:
8 </p>
9 <kbd>
10         /path/of/command type parameter
11 </kbd>
12 <p>
13         The type is there to indicate what the parameter is. This gives
14         the idea that parameter types are quite strict and if the command
15         requires an Integer <em>"i"</em> then the controller had better send it.
16         However, the checking of the parameter type is left to the receiving
17         software.
18 </p>
19 <p>
20         What this means in practical terms is that the surface can get away
21         with sending the wrong type of parameter. There are some places
22         where that just doesn't make sense. For example, a parameter that
23         is specified as a Float with a range of 0 to 1, could be sent as
24         an Integer, but would only have full scale and minimum value with
25         nothing in between. This is not much use for a fader, though ok for
26         a button.
27 </p>
28 <p>
29         There are a number of OSC controllers based on iOS and Android
30         tablets that only send or receive parameters as floats or text.
31         These controllers should have no problem sending bool or int values
32         as floats. Ardour will interpret the values as required.
33 </p>