I made 4 patches for sustain pedals. Each of them can handle a different amount of “voices” (aka number of notes that can be played)
The idea is that you can save these patches to the ZOIA and whenever you need to have the ability to use a sustain pedal on your synth you can import the page(s) that you need, hook up the midi “note out” module to your oscillators to control the pitch, and hook the ADSR’s to your VCA’s/Filters, then you’re good to go.
The 1 and 2 voice versions are only one page, the 3 voice is 2 pages, and the 4 voice is 3 pages. It should be pretty easy to identify where the “midi notes in” and “ADSRs” are located.