On Tue, 8 Jul 2003 pd-dev-request@iem.at wrote:
On Thu, 3 Jul 2003, vanDongen/Gilcher wrote:
Hi all,
I am working on some jack-utility externals, to make and query port connections from within pd. If the jack-folks decide on the transport API I will add controls for that too.
My questions: In jackified pd, what is run inside the jack process callback. My externals don't do any audio processing, and get their own jack-client id, so they can be run with the -noaudio flag. But can they be run in pd _with_ jack-audio, or do I need to make them multi threaded for that? They will give problems if run _inside_ the process callback.
Oops, seems like I lost this thread. Have you looked at my k_jack jack server replacement proof-of-concept external? http://www.notam02.no/arkiv/src/
Its horrible buggy, but does what you are trying to do by actually reimplementing jack.
I just looked at the code, if I unstand it correctly you create a k_jackd~ object for the clients. And then you can make pd patches connecting them. This is a little bitt different from what I have. I have 2 objects: jack-ports that can be used to query available port on the running jack-graph using regular expressions. jack-connect that can query,toggle,make or break a connection between two ports. The main advantage is that you don't need to recompile all your audio apps. Anyway having ten different solutions to the same small problem is the linux/unix way :)
Gerard
On Tuesday 08 July 2003 10:24, Kjetil S. Matheussen wrote:
On Tue, 8 Jul 2003 pd-dev-request@iem.at wrote:
On Thu, 3 Jul 2003, vanDongen/Gilcher wrote:
Hi all,
I am working on some jack-utility externals, to make and query port connections from within pd. If the jack-folks decide on the transport API I will add controls for that too.
My questions: In jackified pd, what is run inside the jack process callback. My externals don't do any audio processing, and get their own jack-client id, so they can be run with the -noaudio flag. But can they be run in pd _with_ jack-audio, or do I need to make them multi threaded for that? They will give problems if run _inside_ the process callback.
Oops, seems like I lost this thread. Have you looked at my k_jack jack server replacement proof-of-concept external? http://www.notam02.no/arkiv/src/
Its horrible buggy, but does what you are trying to do by actually reimplementing jack.