ZynAddSubFX 2.5.0

Discuss anything new and newsworthy! See http://planet.linuxaudio.org and https://libreav.org/news for more Linux Audio News!

Announcements of proprietary software may fit better in the Marketplace.


Moderators: raboof, MattKingUSA, khz

dsreyes1014
Established Member
Posts: 166
Joined: Mon Dec 24, 2012 1:42 pm
Has thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by dsreyes1014 »

Ok figured out midi learn now just trying to save parameters but it crashes when I try to save parameters. Do I have to save it in a specific folder?
fundamental
Established Member
Posts: 165
Joined: Thu Nov 07, 2013 1:19 pm
Been thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by fundamental »

You'll need to be more specific than that to replicate the issue.
What parameters are you saving?
What window are you saving them from?
Are you saving them to a folder that you have write access to?
ZynAddSubFX maintainer
dsreyes1014
Established Member
Posts: 166
Joined: Mon Dec 24, 2012 1:42 pm
Has thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by dsreyes1014 »

fundamental wrote:You'll need to be more specific than that to replicate the issue.
What parameters are you saving?
What window are you saving them from?
Are you saving them to a folder that you have write access to?
Well it defaults to the home folder which of course I have write access and there is only one 'Save All Parameters' options from the file tab that I see.
fundamental
Established Member
Posts: 165
Joined: Thu Nov 07, 2013 1:19 pm
Been thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by fundamental »

Given the sequence of actions:
- start the program (with advanced UI)
- file->save all parameters
- navigate to home directory
- save as foo.xmz

I am unable to replicate this issue locally.
ZynAddSubFX maintainer
dsreyes1014
Established Member
Posts: 166
Joined: Mon Dec 24, 2012 1:42 pm
Has thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by dsreyes1014 »

fundamental wrote:Given the sequence of actions:
- start the program (with advanced UI)
- file->save all parameters
- navigate to home directory
- save as foo.xmz

I am unable to replicate this issue locally.

Same exact sequence of events and it pauses for five seconds, then crashes and shuts down. I'm on an Arch machine. Maybe it has something to do with the environment setup.
fundamental
Established Member
Posts: 165
Joined: Thu Nov 07, 2013 1:19 pm
Been thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by fundamental »

Is jackd killing it?
There are some debug printfs which are triggered by the saving action (which might upset a very sensitive jack)

You should be able to isolate this problem by seeing if running with -O jack has different behavior than -O null -I null .
ZynAddSubFX maintainer
dsreyes1014
Established Member
Posts: 166
Joined: Mon Dec 24, 2012 1:42 pm
Has thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by dsreyes1014 »

fundamental wrote:Is jackd killing it?
There are some debug printfs which are triggered by the saving action (which might upset a very sensitive jack)

You should be able to isolate this problem by seeing if running with -O jack has different behavior than -O null -I null .

Is that a JACK1 or JACK2 option? Not seeing that option for JACK1. Also not seeing anything from jackd -vvv when saving parameters in Zynaddsubfx.
fundamental
Established Member
Posts: 165
Joined: Thu Nov 07, 2013 1:19 pm
Been thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by fundamental »

those options are for zyn, not jack.
Now I'm a little confused as if zyn was using jack for IO, then jack should print something when the client dies unexpectedly...
ZynAddSubFX maintainer
dsreyes1014
Established Member
Posts: 166
Joined: Mon Dec 24, 2012 1:42 pm
Has thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by dsreyes1014 »

fundamental wrote:those options are for zyn, not jack.
Now I'm a little confused as if zyn was using jack for IO, then jack should print something when the client dies unexpectedly...
Yea nothing is printed from jackd when zyn dies. I'll try starting zynaddsubfx from cli and see what it prints
dsreyes1014
Established Member
Posts: 166
Joined: Mon Dec 24, 2012 1:42 pm
Has thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by dsreyes1014 »

This is the output when started with cli:

Code: Select all

zynaddsubfx: /home/$USER/Downloads/zynaddsubfx-git/src/zynaddsubfx-git/src/Misc/MiddleWare.cpp:849: void MiddleWareImpl::doReadOnlyOp(std::function<void()>): Assertion `tries < 10000' failed.
Aborted (core dumped)
fundamental
Established Member
Posts: 165
Joined: Thu Nov 07, 2013 1:19 pm
Been thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by fundamental »

You get that assertion with "zynaddsubfx -O null -I null" ?
The only way that I would expect that assertion to trigger is if the audio thread is not executed for 5 seconds after sending a request (or 10000 messages are returned from the audio thread).

Are dots printing before you try to save?

EDIT: Nevermind, I can replicate on my 64bit machine
EDIT: Bug Fixed In Git
ZynAddSubFX maintainer
dsreyes1014
Established Member
Posts: 166
Joined: Mon Dec 24, 2012 1:42 pm
Has thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by dsreyes1014 »

Great thanks!!! It's working now.
dsreyes1014
Established Member
Posts: 166
Joined: Mon Dec 24, 2012 1:42 pm
Has thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by dsreyes1014 »

One more quick question. What I assigned through MIDI learn doesn't save with Save Param. I have to reassign them everytime I load my param file. Is this supposed save my MIDI assigned controls?
fundamental
Established Member
Posts: 165
Joined: Thu Nov 07, 2013 1:19 pm
Been thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by fundamental »

MIDI Learn bindings are not currently serialized in any way.
Putting the binding in .xmz files and perhaps a new standalone serialization might make the most sense, though neither is implemented at the current moment.
ZynAddSubFX maintainer
dsreyes1014
Established Member
Posts: 166
Joined: Mon Dec 24, 2012 1:42 pm
Has thanked: 1 time

Re: ZynAddSubFX 2.5.0

Post by dsreyes1014 »

fundamental wrote:MIDI Learn bindings are not currently serialized in any way.
Putting the binding in .xmz files and perhaps a new standalone serialization might make the most sense, though neither is implemented at the current moment.
Gotcha. Just wanted to make sure. Thanks fundamental.
Post Reply