I just finished creating a new plugin (GitHub - jlearman/PianoRes: Resonance plugin for sampled pianos · GitHub). It takes audio input from a sample player (e.g. sfizz) and applies an impulse response (generated by summing all piano notes) while monitoring sustain pedal CC. So, it needs the audio output from sfizz and also the MIDI input to sfizz.
Unfortunately, sfizz doesn’t pass the MIDI through; I’ve opened a feature request for that. Meanwhile, is there a workaround so I can see whether this can run on Zynthian?
I haven’t looked into MOD-UI, but perhaps that would allow it?
1 Like
I got a little feedback on Discord about the sfizz feature request. One issue is that, for some plugin formats, it changes the type of plugin, which makes things clumsy for folks when they upgrade (because it’s now a different plugin.) Another possible issue is that apparently many hosts don’t pass MIDI from a plugin instrument (more research required for that.) So, even if I was able to code it myself and submit a PR to sfizz, it might not get pulled. 
2 Likes
I don’t think it’s a sfizz issue. It’s more a “routing” issue that should be addressed by the zynthian “autoconnect”. Let me think about it …
BTW, did you tried using 2 seperated chains and routing audio from the sfizz chain to the PianoRes one? The PianoRes chain should be a MIDI+AUDIO chain. It’s a little tricky, but this should work out-the-box.
Regards,
1 Like
Thanks – I haven’t tried anything yet on Zynthian, because first I have to figure out how to build the plugin. I know the easy way: pull the repo on zynth and just build it on zynth. That’ll be my first approach and hope to try it soon but got other irons in the fire and then will be away for 2 weeks. Hopefully no computer withdrawal symptoms.
Regardless, I don’t remember ever seeing a way to re-route audio from one chain to another. Now that I know, I’ll look closer!
I do hope to fix sfizz to make it easier to use this plugin, regardless. I just learned that with a small hack, you can do it on Sforzando (just replace a GUI xml file and a switch appears, to output MIDI!) But of course we won’t be using Sforzando on Zynthian. But, does Zynth connect MIDI outputs from an instrument plugin? Some hosts do, some don’t. I may just have to test that, should be easy enough to do (write a trivial instrument that passes MIDI through.)
1 Like