Zynaddsubfx: OSC messages for muting a voice and for loading an .xiz?

Official support for: zynaddsubfx.sourceforge.net
xfer012
KVRer
3 posts since 12 Apr, 2020

Post Sun Apr 12, 2020 7:00 am

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
Hello,
I'm writing a simple OSC client for zynaddsubfx, mainly for studying synth parameters (Zyn-fusion is great, but being sticky is a bit of a nuisance).

I've found the proper OSC messages for most of my needs (https://zynaddsubfx.sourceforge.io/zyn-ports/ (https://zynaddsubfx.sourceforge.io/zyn-ports/)), but I can't find the proper OSC paths for:

Turning off a Voice, in particular for Additive synth
Changing an .xiz (loading from file)

Looking for hints... thanks in advance!
Fernando

fundamental
KVRian
510 posts since 21 Oct, 2008 from USA

Re: Zynaddsubfx: OSC messages for muting a voice and for loading an .xiz?

Post Mon Apr 13, 2020 3:40 am

For the first question it should be:
/part*/kit*/adpars/VoicePar*/Enabled (true or false args)

For the second it should be:
/load_xiz (part index (0 base), file path) or
/load-part (part index (0 base), file path)
One of the developers on the ZynAddSubFX open source synth
The author of the Zyn-Fusion UI for ZynAddSubFX

xfer012
KVRer
3 posts since 12 Apr, 2020

Re: Zynaddsubfx: OSC messages for muting a voice and for loading an .xiz?

Post Mon Apr 13, 2020 4:35 am

Hello fundamental and thank you very much.
The command for Voice enable/disable works!

Edit: I have a bug in my OSC client, sorry, many thanks for the suggestion!
I suppose saving to .xiz works in a similar way ("/save_xiz" maybe?)

But the command to load an instrument does not. Zynaddsubfx complains:


Thanks a lot for your precious support (and for working on zasfx of course)
Last edited by xfer012 on Mon Apr 13, 2020 2:51 pm, edited 2 times in total.

xfer012
KVRer
3 posts since 12 Apr, 2020

Re: Zynaddsubfx: OSC messages for muting a voice and for loading an .xiz?

Post Mon Apr 13, 2020 5:06 am

Had a doubt about the parenthesis and comma you wrote in the example so I tried with either, too, without success:

fundamental
KVRian
510 posts since 21 Oct, 2008 from USA

Re: Zynaddsubfx: OSC messages for muting a voice and for loading an .xiz?

Post Thu Apr 16, 2020 3:11 am

Yep, /save_xiz (index, filename) seems correct:
https://github.com/zynaddsubfx/zynaddsu ... 1342-L1347
One of the developers on the ZynAddSubFX open source synth
The author of the Zyn-Fusion UI for ZynAddSubFX

Return to “ZynAddSubFX”