[PD] midiout clock metro slips

florian grassl souterrain at web.de
Sat Oct 22 00:49:45 CEST 2005


hello everybody,

i have got a problem with a patch that sends a raw midi message to a external device (korg es-1 / sampler, sequencer). The message starts and stops the device and the bpm speed is controlable. Basically works fine, yet midi slips heavily when a pd window is moved around or any other action taken.
setup:
suse 9.3
pd-0.39-1
iemlib R-1.15 (patch uses t3_metro)
midi setting: OSS midi device #1 --- i can't figure out how to pass the midi message through alsa)
(midisport2x2 -- patch slips independently from the device as seen in a "surveillance flashing bang")

would using alsa solve this or is there a way of making an abstraction to replace t3_metro?
most of the patch was made by eric from audionerd.com -- lots of thanks for this btw.!
greetings,
flo

---------------------------------------------------------------------------------------

#N canvas 46 45 451 238 10;
#N canvas 234 45 735 405 bpmguts 1;
#X obj 269 238 f;
#X msg 269 164 248;
#X obj 156 161 sel start stop;
#X obj 156 109 symbol;
#X msg 146 86 start;
#X msg 188 85 stop;
#X obj 265 259 midiout;
#X text 285 190 midi-out example;
#X text 284 202 e.skogen/audionerd.com;
#X text 282 216 uses t3_metro from IEM;
#X floatatom 305 237 5 0 0 0 - - -;
#X obj 370 237 loadbang;
#X obj 146 50 sel 0 1;
#X obj 143 24 r startstop;
#X obj 232 85 r globalBPM;
#X floatatom 229 109 5 0 0 0 - - -;
#X msg 341 237 1;
#X msg 156 197 250;
#X msg 195 198 252;
#N canvas 86 274 684 347 make.clock 0;
#X obj 286 10 inlet;
#X obj 51 24 inlet;
#X obj 183 240 outlet;
#X msg 87 115 start 0;
#X msg 144 113 stop;
#X obj 146 64 sel start stop;
#X obj 189 208 spigot;
#X msg 311 177 1;
#X msg 339 176 0;
#X obj 50 257 outlet;
#X obj 265 116 expr 60000 / (24 * $f1);
#X obj 313 74 / 24;
#X floatatom 315 142 5 0 0 0 - - -;
#X obj 190 148 t3_metro 25;
#X connect 0 0 11 0;
#X connect 1 0 5 0;
#X connect 1 0 9 0;
#X connect 3 0 13 0;
#X connect 4 0 13 0;
#X connect 5 0 7 0;
#X connect 5 0 3 0;
#X connect 5 1 8 0;
#X connect 5 1 4 0;
#X connect 6 0 2 0;
#X connect 7 0 6 1;
#X connect 8 0 6 1;
#X connect 10 0 12 0;
#X connect 10 0 13 1;
#X connect 11 0 10 0;
#X connect 13 0 6 0;
#X restore 142 132 pd make.clock;
#X text 430 233 this is the port of the external midi device;
#X text 254 274 to external clock;
#X obj 41 348 bng 15 100 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 60 348 move another pd window around and observe the bang;
#X text 237 132 i guess it's got something to do with the t3_metro
inside...;
#X connect 0 0 6 0;
#X connect 1 0 0 0;
#X connect 1 0 22 0;
#X connect 2 0 17 0;
#X connect 2 1 18 0;
#X connect 3 0 19 0;
#X connect 4 0 3 0;
#X connect 5 0 3 0;
#X connect 10 0 6 1;
#X connect 11 0 16 0;
#X connect 12 0 5 0;
#X connect 12 1 4 0;
#X connect 13 0 12 0;
#X connect 14 0 15 0;
#X connect 15 0 19 1;
#X connect 16 0 10 0;
#X connect 17 0 0 0;
#X connect 18 0 0 0;
#X connect 19 0 2 0;
#X connect 19 1 1 0;
#X restore 47 103 pd bpmguts;
#X obj 100 51 nbx 4 50 2 1e+37 0 1 globalBPM globalBPM empty 0 -6 0
30 -262144 -1 -1 127 256;
#X obj 47 51 tgl 50 0 startstop startstop empty 0 -6 0 8 -262144 -1
-1 1 1;
#X text 235 48 when set to app. 127 \, the bang in the guts is flashing
nicely continously so it can be observed.;

______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!		
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130





More information about the Pd-list mailing list