linux port and OscMap command

After some hard work to port the build process to CMake and fix the necessary changes, rubyk and oscit now work on linux !

In order to do some testing with touchosc (an osc controller for the iPhone), I realized that we need some kind of transcoder in rubyk since touchosc does not let you define the mappings and this might be the case with many simple hardware devices. The transcoder would be a special type of command with the following properties:

  1. input port
  2. output port (for replies)
  3. mappings

The mappings could be written in a script with a syntax like this:

/1/fader3  [0..1] --> /m/tempo [60..240]
/1/toggle1 [0, 1] --> /m/start_stop [0, 1]

To send replies, we would use the same mappings. If we receive more complicated data types then real numbers we just send the values through to the url (checking types) and we use a lua object to filter, route, etc.

Let’s code !

Gaspard Bucher

commentaires

  1. 2009-05-14 18:35 Gaspard Bucher

    Started implementation (wrote parser for the syntax). Should work tomorrow…

  2. leave a comment