Il 13/02/2012 09:07, Lorenzo Sutton ha scritto:
On 13/02/12 01:07, Martin Peach wrote:
On 2012-02-12 17:32, Nicola Pandini wrote:
Hi, I'd like to use Pd for midi processing, and I'm trying to find the
flags to have the best "Pd for midi" possible.
For me midi latency is an extremely important factor, so all my efforts
were in the way to optimize it.
I did some experiments, playing with flags and seeing what happens (I
use Pd 0.43.1 on Debian Wheezy, with jack 44.100 - 128 frames):

With
-rt -jack -audiobuf 1 -alsamidi
I get 2.9 ms of midi latency

Adding
-noaudio
I get two possible values: 1.45 or 2.9 ms

Adding
-r 192000
I get 1.33 ms

Interesting. But how are you actutually measuring this?
And is this using external hardware for midi IN/OUT?

Hi Lorenzo!
I attached the patch.
I use an internal midi keyboard (i.e. vmpk).


--
Nicola

#N canvas 1004 162 460 148 10;
#X obj 79 68 timer;
#X obj 79 48 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 79 88 nbx 10 30 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 20
-262144 -1 -1 2.90249 256;
#X obj 106 48 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 1 2 notein 2;
#X obj 1 90 noteout 3;
#X obj 106 3 notein 3;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 3 0 0 1;
#X connect 4 0 1 0;
#X connect 4 0 5 0;
#X connect 4 1 5 1;
#X connect 6 0 3 0;
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to