Puredata jack connection for custome patch

Hello, I’m working on a new puredata patch for zynthian. I am able to add it with “Add Special Chain” and it starts properly, but no connection are made from puredata jack client to zynmixer, I need to connect manually. Once manually connected, patch works nicely. These connection are automatic with puredata patch provided with zynthian. Does anyone have tips on how to make these connections automatic for a custom puredata patch as well ?
Thanks an regards

Ok, so I further test and it might look more like a zynthian bug

  • connection is done automaticaly when adding special chain puredata the first time (or at startup when loading the last patch) even custom patches
  • if removing special chain puredata and re-adding it, audio jack connection is not done, even for “official puredata patches” from zynthian
    not sure if it is the expected behaviour, might be rather a bug there

It sounds like a bug. Please use webconf’s “Report Issue” button to raise a support ticket. It provides a template so that you can provide a good fault description and we have a better chance of diagnosing the problem. It also provides information about the version of Zynthian you’re running and your hardware.

It’s the big button at the bottom of the webconf dashboard AKA the main screen.

If you’re having trouble getting webconf running or finding it, please report here and let us know what version of Zynthian you’re running - software and hardware.

OK, thanks for the feedback, I’m new to zynthian and didn’t knew about this process
I’ll report this
Zynthian rocks by the way
Cheers

1 Like

Hi @Dweezil !

What zynthian version are you using? Stable, Staging or Testing (vangelis)?

Thanks!

Hi @jofemodo
I downloaded the zynthianos-last-stable-nosfz.img.xz, then run an zynthian update
and currently my webconf shows this software version
Stable (oram-2409.4)
zyncoder: oram (727b73e)
zynthian-ui: oram (025f552)
zynthian-sys: oram (707355d)
zynthian-data: oram (ef38afe)
zynthian-webconf: oram (6552a78)
hope it answer your question
It runs on a raspberry 3 with RPI Headphones (waiting for a PiSound to be delivered soon :crossed_fingers:)
Thanks

ps: I just submit an issue with all details here Issue: pure_data jack client does not connect to zynmixer when created after being removed first · Issue #1324 · zynthian/zynthian-issue-tracking · GitHub

Please, try with vangelis.

Regards

I updated the ticket. I cannot reproduce this in oram (stable or staging) or vangelis.

@riban ok, must be something with my setup, as it reproduce 100% of the time on my side, trying with audio-generative/generative relaxing like you did. Maybe you are able to point me out which part of the code of zynthian is responsible for connecting puredata jack client (I’m a bit lost in the code so far), so I can investigate further on myside, thanks
@jofemodo I didn’t tried yet with vangelis, but I plan to use zynthian for live performance, so I’m a bit worried about stability, would switching to vangelis be risky a bit more somehow ? thanks
Thanks both for your time anyway

zynthian_autoconnect does the MIDI and audio routing. There is a function called audio_autoconnect which builds a graph of expected routes then connects / disconnects to update the jack graph.