1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-15 07:54:03 +02:00
wernermisc/midi2osc
2011-11-24 02:51:10 -03:00
..
Makefile midi2osc: slight README and Makefile cleanup 2011-11-08 03:52:02 -03:00
midi2osc.c midi2osc: added channel and control number mapping 2011-11-24 02:51:10 -03:00
README midi2osc: added channel and control number mapping 2011-11-24 02:51:10 -03:00

midi2osc register itself as a writeable MIDI device. It then forwards
the MIDI messages it receives to the specified OSC destination.

Build prerequisites:

libasound(-dev)	(ALSA)
liblo(-dev)	(OSC)

Compilation:

make

To use it with the Milkymist One,

- enable Ethernet on the M1
- ./midi2osc IP-address-or-host-name
- launch qjackctl
- click on the Connect button in qjackctl
- in the "Connections" window, drag a connection from each MIDI device
  you want to connect to midi2osc
- MIDI events will now show up in the MIDI settings dialog, etc.

midi2osc can also remap MIDI controls. The syntax is

c<chan>[.<control>]=c<chan>[.<control>]

where <chan> is a channel number and <control> is the optional control
number. For example,

./midi2osc c8.1=c0.1 c8.2=c0.2 c9.1=c0.3 c9.2=c0.4 c0.7=c0.5 c7.7=c0.6 m1

would map the joysticks and two faders of a Faderfox LV3 to the
controls 1 through 6 on channel 0, and send the OSC messages to
a host called "m1".