Hey All, 

I don't know if anyone's done this but I've attached a midi learn abstraction 
I've been working on. The logic's a bit messy but I got it working in the end.

Basically from banging the learn patch it listens to the next signal, either a 
note or a control signal, and then filters out only the velocity or control 
value from that. (I've started taking an interest in controlling patches with 
the velocity, as opposed to the note number). 

Let me know what you think, and if you know of anything similar being done. 

Cheers

Andrew
                                          
#N canvas 247 70 644 446 10;
#X floatatom 141 165 3 0 0 0 - - -;
#X obj 37 45 notein;
#X obj 37 71 stripnote;
#X floatatom 106 165 3 0 0 0 - - -;
#X text 37 21 MIDI IN;
#X floatatom 106 140 3 0 0 0 - - -;
#X floatatom 140 140 3 0 0 0 - - -;
#X obj 130 70 ctlin;
#X text 108 186 id;
#X text 138 187 value;
#X text 169 142 control;
#X text 170 167 note;
#X obj 268 156 spigot;
#X obj 323 154 spigot;
#X msg 370 228 0;
#X msg 307 117 1;
#X msg 295 240 1;
#X msg 294 262 0;
#X obj 188 285 spigot;
#X obj 92 284 spigot;
#X msg 326 241 1;
#X msg 327 260 0;
#X floatatom 87 317 5 0 0 0 - - -;
#X floatatom 192 317 5 0 0 0 - - -;
#X obj 315 201 select 1 2;
#X msg 276 178 1;
#X msg 327 176 2;
#X obj 362 267 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 390 267 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 20 264 spigot;
#X obj 16 337 sel;
#X msg 12 364 1;
#X msg 48 364 0;
#X floatatom 20 391 5 0 0 0 - - -;
#X obj 416 233 pipe 10;
#X obj 109 384 spigot;
#X obj 112 408 outlet;
#X obj 341 63 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 109 362 pipe 10;
#X connect 0 0 13 0;
#X connect 0 0 18 0;
#X connect 1 0 2 0;
#X connect 1 1 2 1;
#X connect 2 0 3 0;
#X connect 2 1 0 0;
#X connect 3 0 29 0;
#X connect 3 0 30 0;
#X connect 5 0 29 0;
#X connect 5 0 30 0;
#X connect 6 0 12 0;
#X connect 6 0 19 0;
#X connect 7 0 6 0;
#X connect 7 1 5 0;
#X connect 12 0 25 0;
#X connect 13 0 26 0;
#X connect 14 0 12 1;
#X connect 14 0 13 1;
#X connect 14 0 34 0;
#X connect 15 0 12 1;
#X connect 15 0 13 1;
#X connect 15 0 29 1;
#X connect 16 0 19 1;
#X connect 17 0 18 1;
#X connect 18 0 23 0;
#X connect 19 0 22 0;
#X connect 20 0 18 1;
#X connect 21 0 19 1;
#X connect 22 0 38 0;
#X connect 23 0 38 0;
#X connect 24 0 14 0;
#X connect 24 0 16 0;
#X connect 24 0 17 0;
#X connect 24 0 27 0;
#X connect 24 1 14 0;
#X connect 24 1 20 0;
#X connect 24 1 28 0;
#X connect 24 1 21 0;
#X connect 25 0 24 0;
#X connect 26 0 24 0;
#X connect 29 0 30 1;
#X connect 30 0 31 0;
#X connect 30 1 32 0;
#X connect 31 0 33 0;
#X connect 32 0 33 0;
#X connect 33 0 35 1;
#X connect 34 0 29 1;
#X connect 35 0 36 0;
#X connect 37 0 15 0;
#X connect 38 0 35 0;
#X coords 0 -1 1 1 60 20 1 300 60;
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to