I’m running a headless zynthian instance (oral-2505.1) on an RPi 4 + HIBerry DAC+ with a connected Axiom 25 MIDI keyboard controller.
Instrument chains work fine. Preinstalled Pure Data synth chains work fine.
I wrote two pure data vanilla patches. One is a simple monophonic synth patch that plays tones based on mini note input, the other just plays a tone without anything midi input. Both patches run fine on OS X.
I installed PD patches on zynthian via webconf in the Pure Data sub directory, and rebooted pi. They appear to install fine but there is no sound for either. Each patch is named ‘main.pd’ in a folder then zipped and uploaded.
I downloaded your files and zipped each. Then I uploaded them to my zynthian using webconf. They both produced sound. I test both in oram 2505.1 and also in vangelis. I noticed the sound was only present in the left channel, so I enabled vnc to inspect the patch. The output was only connected to the left inlet of [dac~] so I connected the right inlet as well and now have sound on left and right channels. Have you enabled vnc to inspect the patch and the connections in patchage to troubleshoot? The connections in Patchage should look something like this:
Once you get sound working, you can edit and save the patch on the Zynthian using vnc. You can also look at other PD patches and their YAML files to see how to properly add the midi controls. Your YAML file wont do anything until you add the controls to the patch. In other words, since your YAML assigns midi cc 7 for volume control, you should add a working volume control in pd and attach a [ctlin 7] object to control it. Once that is done, you can use Zynthian’s midi learn feature to make it respond to your choice of encoder on your midi keyboard.
Thanks for the tips @ronsum about the YAML config. That will come in handy when my patch gets more fancy. In my testing I was downloading existing PD patches which I knew worked and pasted in my own patch code and uploaded the edit and still no audio. I suspect the issue is the connections like you showed in patchage not being connected. I will report back with my findings.
@ronsum Solved it! So when I open up VNC engines in webconf app the routing in patchage was fine. But I could see PD was throwing an error trying to load my patch. I had uploaded my patch into a folder called “My Patches”. I guess it didn’t like space character in the folder name, once removed the space the error disappeared and I can finally hear audio! Thanks for pointing me in the right direction!