Hallo, Joshua Boyd hat gesagt: // Joshua Boyd wrote: > A lot of devices and software systems (of the commercial type at least) > seem to have a tap tempo system where two taps are all that is needed to > set the tempo of an effect or sequence. Two tabs normally aren't enough IMO, however that really is easy to do in, guess it: Pd. Attached is the naive idiom which just spits out the time interval between two events. Uwing [mavg] - which is an object to do a moving average, it's part of Pd's zexy externals - you can do a simple averaging, and for more advanced tempo finders, check out the objects in the "maxlib" Pd-externals-library and [borax]. Using the [ctlout] or [noteout] object you can generate midi messages (there are more midi objects in Pd, too.) Ciao -- Frank Barknecht _ ______footils.org_ __goto10.org__
#N canvas 380 308 505 376 10; #X obj 214 165 bng 32 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 214 207 t b b; #X obj 214 232 timer; #X floatatom 214 280 8 0 0 0 - - -; #X obj 215 111 key; #X obj 215 145 select 32; #X floatatom 291 280 8 0 0 0 - - -; #X text 290 233 part of zexy lib:; #X obj 291 258 mavg 3; #X text 288 144 space bar; #X obj 128 92 notein; #X obj 128 113 select 60; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 1 1 2 1; #X connect 2 0 3 0; #X connect 2 0 8 0; #X connect 4 0 5 0; #X connect 5 0 0 0; #X connect 8 0 6 0; #X connect 10 0 11 0; #X connect 11 0 0 0;