main
Adam Adhiyatma 2017-01-03 18:18:36 -05:00
parent d3ba6264c2
commit 0813b17f7a
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -16,8 +16,12 @@ Currently does not support OSC bundles (each control source must send a separate
Example code: Example code:
//args = [port or path, baudrate, number of addresses/knobs/whatever] //args = [port or path, baudrate, number of addresses/knobs/whatever]
k = SLIPDecoder.new("/dev/your_USB_device", 9600, 3); k = SLIPDecoder.new("/dev/your_USB_device", 9600, 3);
k.start; k.start;
k.actions[0] = {|input| input.postln;}; k.actions[0] = {|input| input.postln;};
k.actions[1] = {|input| input.postln;}; //define functions to do something with the incoming data. k.actions[1] = {|input| input.postln;}; //define functions to do something with the incoming data.