X360 as osc controller via joyosc and oscii-bot [SOLVED]
Thought let me test the OSC features of Reaper a little, connected X360 game controller in ubuntu via joyosc*, which generates nicely osc output, Reaper detects them nicely, BUT ...
OSC signals are arriving in Reaper, but when I am trying to map to some fx parameter they have no effect. Is this normal? What am I doing wrong? Or did I simply forget to switch into one of the right automation recording modes? I thought I did all correctly. Any hints?
PHP Code:
GameController: opened 0 X360 Controller /gc0
num buttons: 11
num axes: 6
I can be wrong and I can not test at the moment, but from the description it seems like joyosc sends quite specifically formated OSC messages. Probably Reaper can not work with it:
Quote:
joyosc streams device event information in the following OSC address format:
/joyosc/devices/DEVICE_NAME/INPUT_TYPE ID VALUE
...
axis values are -32767 to 32767 (signed 16 bit)
So, the first parameter is "ID" and the second is (non standard in audio world range) signed integer.
Usual format is "</name> <value>", where <value> is float from 0. to 1.
I guess best would be then translating this via oscii-bot.
joyosc streams device event information in the following OSC address format:
PHP Code:
/joyosc/devices/DEVICE_NAME/INPUT_TYPE ID VALUE ... axis values are -32767 to 32767 (signed 16 bit)
Any ideas what would be the right syntax for oscii-bot? Something in @oscmsg block. Here an example from Stevie using oscmatch, oscparm, oscsend. I would need to convert the value to float also.
string: /joyosc/devices/gc0/button param 1: y param 2: 1.000000
string: /joyosc/devices/gc0/button param 1: y param 2: 0.000000
string: /joyosc/devices/gc0/button param 1: x param 2: 1.000000
string: /joyosc/devices/gc0/button param 1: x param 2: 0.000000
Now how can I construct an osc message for reaper which can use param 1 and param 2 for its fx parameter mappings? Param 1 I can have in string form (my example above) or as float value (example of wwwmaze), is it better just keeping those values as float always? String would help for better understanding the code, e.g. which button on X360 controller is doing what.