Re: Midi to OSC routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo,
Stefano Barbi hat gesagt: // Stefano Barbi wrote:

> I was looking for an application able to filter and route MIDI messages,
> such as cc messages from a MIDI controller, to the OSC controls of an
> instrument. Obviously, such application should be able to store and
> retrieve mappings between MIDI and OSC. Do you know if anything of that
> kind exists?

This is easy to do in Pure Data. Attached is a simple example patch
showing how to route midi note or controller data to arbitrary OSC
targets.

Ciao
-- 
 Frank Barknecht                 _ ______footils.org_ __goto10.org__
#N canvas 196 126 579 428 10;
#X obj 57 232 cnv 15 400 180 empty empty OSC 10 12 0 14 -233017 -66577
0;
#X obj 97 356 sendOSC;
#X msg 239 321 connect \$1 \$2;
#X obj 97 260 list prepend send;
#X obj 97 281 list trim;
#X obj 59 31 cnv 15 400 120 empty empty midi 10 12 0 14 -233017 -66577
0;
#X symbolatom 265 276 20 0 0 2 hostname - -;
#X floatatom 413 278 5 0 0 2 port - -;
#X obj 239 300 pack s 0;
#X obj 239 275 bng 15 250 50 0 empty empty set 0 -6 0 8 -262144 -1
-1;
#X msg 239 342 disconnect;
#X obj 98 78 notein;
#X obj 98 106 pack 0 0 0;
#X obj 98 200 list prepend /NOTE;
#X symbolatom 142 179 12 0 0 2 note-target-name - -;
#X obj 307 104 pack 0 0 0;
#X symbolatom 343 175 12 0 0 2 ctl-target-name - -;
#X obj 307 76 ctlin;
#X obj 307 198 list prepend;
#X obj 474 136 loadbang;
#X msg 474 158 symbol /CTL;
#X connect 2 0 1 0;
#X connect 3 0 4 0;
#X connect 4 0 1 0;
#X connect 6 0 8 0;
#X connect 7 0 8 1;
#X connect 8 0 2 0;
#X connect 9 0 8 0;
#X connect 10 0 1 0;
#X connect 11 0 12 0;
#X connect 11 1 12 1;
#X connect 11 2 12 2;
#X connect 12 0 13 0;
#X connect 13 0 3 0;
#X connect 14 0 13 1;
#X connect 15 0 18 0;
#X connect 16 0 18 1;
#X connect 17 0 15 0;
#X connect 17 1 15 1;
#X connect 17 2 15 2;
#X connect 18 0 1 0;
#X connect 19 0 20 0;
#X connect 20 0 16 0;

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux