hi all,
i am trying to have gem and jack-audio working together (with no glitches). is there a way? it works with alsa but i need the low latency of jackd (64, 2.3 ms)...
linux, 2.6.15-1 not patched (maybe the patch of Ingo Molnar would help?), jack 0.101.1
pat
update:
i can have gem and audio (jack) working together with a audio buffer of 512 in jack & pd. too much latency for playing live (adc~)... is there a way to reduce the latency and not having glitches?
pat
On Wed, 2006-07-05 at 14:17 -0400, patrick wrote:
i can have gem and audio (jack) working together with a audio buffer of 512 in jack & pd. too much latency for playing live (adc~)... is there a way to reduce the latency and not having glitches?
you should split up your patch to two instances of pd ... one doing audio, one doing video .... connected with the network protocol of your choice ... oh, and make sure to give a higher priority to the audio process ... if a video frame is late, it's just late ... if an audio frame is late, you have a dropout :)
hth .. tim
-- tim@klingt.org ICQ: 96771783 http://www.mokabar.tk
Happiness is a byproduct of function, purpose, and conflict; those who seek happiness for itself seek victory without war. William S. Burroughs
hi tim!
what i am doing is something like this:
start 1 pd as root with -noaudio -lib Gem start another pd as root with -jack -audiobuf 64
how can i give a higher priority to the second pd (audio) if i start both as root?
thanks! pat
Hallo, patrick hat gesagt: // patrick wrote:
hi tim!
what i am doing is something like this:
start 1 pd as root with -noaudio -lib Gem start another pd as root with -jack -audiobuf 64
how can i give a higher priority to the second pd (audio) if i start both as root?
You need to enable realtime mode in Pd by starting it with the -rt or -realtime option.
Btw: Running as root is dangerous and unneeded. There are various other ways to allow Pd to raise its priority without running as root. The best method with a current kernel is rlimits-aware PAM as described for Ubuntu here: http://ubuntustudio.com/wiki/index.php/Breezy:Rlimits-Aware_PAM or here: http://ubuntustudio.com/wiki/index.php/Dapper:Studio_Preparation#Real-Time_S...
Frank Barknecht _ ______footils.org_ __goto10.org__
thanks tim! so starting 1 pd for audio with -rt -jack -audiobuf 64... and a second pd for video (gem) with -nrt -noaudio did the trick = no more glitches.
perfect! pat