zyn, save dynamic filter parameters

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

paul
Established Member
Posts: 226
Joined: Wed May 07, 2014 9:50 pm
Location: UK
Has thanked: 1 time
Been thanked: 1 time

zyn, save dynamic filter parameters

Post by paul »

Hello!

I'm a happy user of ZynAddsubFx, but I have a problem: I want to add a WahWah effect to a sound in the standard presets. If I save the new preset (in a new file), whenever I open the file, the WahWah effect is there only nominally, but all the knobs are zero, and it sounds as if no effect were there.

Is there something I am forgetting, is it a bug, can someone tell me what the problem could be?

Thanks!
Keep on rocking in the free world!
paul
Established Member
Posts: 226
Joined: Wed May 07, 2014 9:50 pm
Location: UK
Has thanked: 1 time
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by paul »

falkTX wrote:What version of zyn are you using?
2.4.4-1kxstudio1 (I think it's the latest available)
Keep on rocking in the free world!
paul
Established Member
Posts: 226
Joined: Wed May 07, 2014 9:50 pm
Location: UK
Has thanked: 1 time
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by paul »

falkTX wrote:Please try with the git version, by installing zynaddsubfx-git.

2.5.x has various fixes, perhaps for this too.
Uhm, no, unfortunately there is the same problem.
It might not be a bug, maybe I just have to do something extra (e.g. save the effect parameters somewhere else).
Keep on rocking in the free world!
fundamental
Established Member
Posts: 165
Joined: Thu Nov 07, 2013 1:19 pm
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by fundamental »

I'm not quite understanding what you're doing and when in this process you're expecting to see the wahwah effect initialized.

Could you perhaps change your description to a series of screenshots, actions taken between screenshots, and expected behavior at each stage?

That's a lot of work for me to request of you, but it should make it clear if this is buggy behavior or if things are just unintuitive (which is something else which should get fixed in the longer term).
ZynAddSubFX maintainer
paul
Established Member
Posts: 226
Joined: Wed May 07, 2014 9:50 pm
Location: UK
Has thanked: 1 time
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by paul »

Sure. So, I load a preset in Carla:
Image

I open the effects:
Image

Instead of the EQ, I put a DynFilter, with the WahWah preset:
Image

I save the new parameters in a new file:
Image

When I load my new preset (in Carla or Yoshimi), the effect parameters say "WahWah", but as you can see all the knobs are blank, and the sound has no wahwah at all:
Image

I hope this is clear enough!
Keep on rocking in the free world!
paul
Established Member
Posts: 226
Joined: Wed May 07, 2014 9:50 pm
Location: UK
Has thanked: 1 time
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by paul »

falkTX wrote:You should try this in the standalone version.

the carla's zyn code is not always up to date. (zyn moves too fast)
Yoshimi does the same.

But it doesn't seem to be a Carla issue, I guess Carla just "tells" Zyn to load the preset, and Zyn does everything, right?

One could open the xmz file to see if the controls of the effects are effectively there or not. I tried, but I can't understand anything... if you guys are more expert, here is the file.

(btw, what is the difference between xiz and xmz?)
Attachments
clockrush.xmz.tar.gz
(3.03 KiB) Downloaded 44 times
Keep on rocking in the free world!
fundamental
Established Member
Posts: 165
Joined: Thu Nov 07, 2013 1:19 pm
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by fundamental »

yoshimi is an unrelated project as far as bugs are concerned, please compare this behavior to zynaddsubfx-git.

Looking into the source of the relevant code and the included .xmz, it would appear that somehow the serialization code observed those knobs to have a value of '0' and then omitted them from the xml representation.
This does not look like it can happen in the current git version, so I suspect that this has already been fixed, though I won't be able to confirm for a bit.

The difference between .xmz and .xiz is that .xmz files saves the whole application state (multiple parts, system effects, etc) where as .xiz saves a single instrument which does include effects local to the instrument.

Thanks for detailing this bug.
ZynAddSubFX maintainer
paul
Established Member
Posts: 226
Joined: Wed May 07, 2014 9:50 pm
Location: UK
Has thanked: 1 time
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by paul »

fundamental wrote: This does not look like it can happen in the current git version, so I suspect that this has already been fixed, though I won't be able to confirm for a bit.
Well...I've tried the git, and it does the same.
Keep on rocking in the free world!
fundamental
Established Member
Posts: 165
Joined: Thu Nov 07, 2013 1:19 pm
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by fundamental »

Yeah, this bug is confirmed to exist in the standalone.
I'll hopefully have a fix pushed in an hour or two.
ZynAddSubFX maintainer
fundamental
Established Member
Posts: 165
Joined: Thu Nov 07, 2013 1:19 pm
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by fundamental »

Ok, the bug seems to be resolved on my system and the changes are pushed to the official repo.
ZynAddSubFX maintainer
paul
Established Member
Posts: 226
Joined: Wed May 07, 2014 9:50 pm
Location: UK
Has thanked: 1 time
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by paul »

fundamental wrote:Ok, the bug seems to be resolved on my system and the changes are pushed to the official repo.
Thank you SO much for this!

On KXStudio, do I find it as the git version, or regular?
Keep on rocking in the free world!
paul
Established Member
Posts: 226
Joined: Wed May 07, 2014 9:50 pm
Location: UK
Has thanked: 1 time
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by paul »

Ok thank you!
Keep on rocking in the free world!
paul
Established Member
Posts: 226
Joined: Wed May 07, 2014 9:50 pm
Location: UK
Has thanked: 1 time
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by paul »

By the way, what does Carla do? Does she save the zyn parameters in the file, or does she load the zyn preset?
Keep on rocking in the free world!
paul
Established Member
Posts: 226
Joined: Wed May 07, 2014 9:50 pm
Location: UK
Has thanked: 1 time
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by paul »

Ok, then there is a problem with Carla. I have updated it, and installed zyn-git, and now:

- If I load my *zyn* preset in Carla, it correctly loads the dynamic filter
- If I load a *Carla* preset containing the zyn preset above as an instrument, it does not load the dynamic filter (exactly like before).

Any workaround?
Keep on rocking in the free world!
paul
Established Member
Posts: 226
Joined: Wed May 07, 2014 9:50 pm
Location: UK
Has thanked: 1 time
Been thanked: 1 time

Re: zyn, save dynamic filter parameters

Post by paul »

falkTX wrote:if you have some old carla presets that included zynaddsubfx you'll need to resave them.
That's what I did. Still doesn't work, unfortunately.
Keep on rocking in the free world!
Post Reply