I dont know much about pd and jack, but I was told that if you run jackd as root then you have to run pd as root as well, and same for non-root, but it seems redundant to run pd in realtime and jack in realtime. if pd is connected tojack and jack is running in realtime, then shouldnt pd be inrealtime as well?
Heres what I do: jackstart -R -d alsa -d hw:1 -r 48000 -p 2048 pd -jack
and it works for me with a USB M-Audio duo under ccrma linux. Please excuse me if I dont know what the hell Im talking about...
I had another question though. I also have an midiman midisport 2x2 and I followed the planet-ccrma nano-howto on setting it up and it looks like its runs, as the usb light fades in and out and the lights flash when the channels get midi info, but when I run pd -mididev X where X is the number of the midisport when I cat /proc/asound/cards I still get no midi. What am I doing wrong?
Thanks for the help, and sorry if my previous post is of no help.
-thewade
i cannot seem to hit miller's site are you down?
Pat
http://crca.ucsd.edu/~msp/ ? If the specific machine name "felix' appears in the URL it might not work as there is a new server as of last week.
cheers Miller
On Sun, Jan 25, 2004 at 05:14:06PM -0500, Patrick Pagano wrote:
i cannot seem to hit miller's site are you down?
Pat
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
On Sunday 25 January 2004 17:11, thewade wrote:
I dont know much about pd and jack, but I was told that if you run jackd as root then you have to run pd as root as well, and same for non-root, but it seems redundant to run pd in realtime and jack in realtime. if pd is connected tojack and jack is running in realtime, then shouldnt pd be inrealtime as well?
If I understand correctly, PD is not a textbook Jack application - it doesn't simply register a callback function that Jack can call. Instead, it has its own main loop that processes the audio stuff, and that's why it needs to run RT. I suppose that there is a Jack callback, but maybe it only copies buffers from PD to Jack (or something like that). Hopefully Miller or someone else will correct me if I'm off base on this.
Larry
This is my understanding as well... :) I tried to make Pd into a true callback application a few months ago, only to discover that it made no real improvement in the APIs that ewre supported then. If it turns out that pd/jack actually performs better using true callbacks I might reconsider and make the change.
Putting audio in callback routines in Windows seems to be out of the question since callback routines can't make system calls in windows.
cheers Miller
On Sun, Jan 25, 2004 at 08:04:06PM -0500, Larry Troxler wrote:
On Sunday 25 January 2004 17:11, thewade wrote:
I dont know much about pd and jack, but I was told that if you run jackd as root then you have to run pd as root as well, and same for non-root, but it seems redundant to run pd in realtime and jack in realtime. if pd is connected tojack and jack is running in realtime, then shouldnt pd be inrealtime as well?
If I understand correctly, PD is not a textbook Jack application - it doesn't simply register a callback function that Jack can call. Instead, it has its own main loop that processes the audio stuff, and that's why it needs to run RT. I suppose that there is a Jack callback, but maybe it only copies buffers from PD to Jack (or something like that). Hopefully Miller or someone else will correct me if I'm off base on this.
Larry
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
On Sun, 25 Jan 2004, Larry Troxler wrote:
On Sunday 25 January 2004 17:11, thewade wrote:
I dont know much about pd and jack, but I was told that if you run jackd as root then you have to run pd as root as well, and same for non-root, but it seems redundant to run pd in realtime and jack in realtime. if pd is connected tojack and jack is running in realtime, then shouldnt pd be inrealtime as well?
If I understand correctly, PD is not a textbook Jack application - it doesn't simply register a callback function that Jack can call. Instead, it has its own main loop that processes the audio stuff, and that's why it needs to run RT. I suppose that there is a Jack callback, but maybe it only copies buffers from PD to Jack (or something like that). Hopefully Miller or someone else will correct me if I'm off base on this.
No, you are right. There was no reliable way to put pd into the jack callback directly, because of the problems with graphics updates, soundfile and patch loading.
Guenter