Re: [LAU] Glitch 2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Thursday, April 11, 2013 - 12:05 am

On April 10, 2013 08:42:25 AM Paul Davis wrote:

Apologies for the dev-ish talk below...

Thanks for the hints Paul.
In MusE I had sound, GUI would open but just hang just like a couple of
other of these native vst synths.

Got me curious so I found a couple of bugs and rearranged a couple of things.
Still nothing.

Then I found the cause was I was not calling effEditIdle periodically.
Luckily we've got such a leisurely-rate timer handy slot in our synth classes.

So a one-line fix. Boom we got GUI now!
(Rats, a few others still don't open.)

I also tried calling effIdle periodically too which I've never done, just like
the plugin asks. But it alone did not help.

This forum helped in regard to the idle calls:
http://www.kvraudio.com/forum/printview.php?t=349866&start=0

Neat plugin, tried the sequencing and so on, it works (nice to know my
time callback is still working).

-----
About Paul's item a)
Yeah seems a little bit not like all the others I've tested...

About item b)
Yeah several do that here.

About item c)
No trouble here moving all controls.
No trouble automating and playing back control movements too, in MusE.

Paul, I had found a couple of plugins that had real odd behaviour with respect
to stuck controls which I just couldn't move - they'd just jump back.
One such plugin was called VEX. I think another may have been Discovery.
Don't know if Glitch is another.

So I had to be careful and add the following kind of section in our process,
where I specifically have to write-back any new port value to the plugin.

_controls is the port array, and v is an incoming GUI-control-initiated FIFO
event buffer item:

_controls[v.idx].val = v.value;
if(dispatch(effCanBeAutomated, v.idx, 0, NULL, 0.0f) == 1)
{
if(v.value != _plugin->getParameter(_plugin, v.idx))
_plugin->setParameter(_plugin, v.idx, v.value);
...

Tim.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Glitch 2, Dave Phillips, (Wed Apr 10, 11:37 am)
Re: [LAU] Glitch 2, Paul Davis, (Wed Apr 10, 12:04 pm)
Re: [LAU] Glitch 2, Paul Davis, (Wed Apr 10, 12:42 pm)
Re: [LAU] Glitch 2, Tim E. Real, (Thu Apr 11, 12:05 am)
Re: [LAU] Glitch 2, Atte, (Fri Apr 12, 6:42 am)
Re: [LAU] Glitch 2, Tim E. Real, (Fri Apr 12, 11:52 pm)
Re: [LAU] Glitch 2, Paul Davis, (Sat Apr 13, 12:15 am)
Re: [LAU] Glitch 2, Dan MacDonald, (Sat Apr 13, 7:34 am)
Re: [LAU] Glitch 2, taktik, (Mon Apr 15, 5:07 pm)
Re: [LAU] Glitch 2, Tim E. Real, (Mon Apr 15, 6:42 pm)
Re: [LAU] Glitch 2, taktik, (Thu Apr 18, 4:24 pm)
Re: [LAU] Glitch 2, Rui Nuno Capela, (Mon Apr 15, 5:42 pm)
Re: [LAU] Glitch 2, taktik, (Mon Apr 15, 6:00 pm)
Re: [LAU] Glitch 2, Louigi Verona, (Mon Apr 15, 6:03 pm)
Re: [LAU] Glitch 2, Paul Davis, (Mon Apr 15, 6:05 pm)
Re: [LAU] Glitch 2, Paul Davis, (Mon Apr 15, 5:16 pm)
Re: [LAU] Glitch 2, Johannes Kroll, (Fri Apr 12, 10:28 am)
Re: [LAU] Glitch 2, Atte, (Fri Apr 12, 12:59 pm)
Re: [LAU] Glitch 2, Kieran Foster, (Fri Apr 12, 1:16 pm)
Re: [LAU] Glitch 2, rosea.grammostola, (Fri Apr 12, 1:45 pm)
Re: [LAU] Glitch 2, Louigi Verona, (Fri Apr 12, 7:00 am)
Re: [LAU] Glitch 2, Atte, (Fri Apr 12, 7:11 am)
Re: [LAU] Glitch 2, hermann meyer, (Fri Apr 12, 8:58 am)
Re: [LAU] Glitch 2, Atte, (Fri Apr 12, 10:02 am)
Re: [LAU] Glitch 2, hermann meyer, (Fri Apr 12, 10:30 am)
Re: [LAU] Glitch 2, Louigi Verona, (Fri Apr 12, 10:32 am)
Re: [LAU] Glitch 2, hermann meyer, (Fri Apr 12, 11:02 am)
Re: [LAU] Glitch 2, Louigi Verona, (Wed Apr 10, 12:54 pm)
Re: [LAU] Glitch 2, Rui Nuno Capela, (Wed Apr 10, 4:34 pm)
Re: [LAU] Glitch 2, Rui Nuno Capela, (Thu Apr 11, 6:21 pm)
Re: [LAU] Glitch 2, Joe Hartley, (Thu Apr 11, 6:24 pm)
Re: [LAU] Glitch 2, Johannes Kroll, (Wed Apr 10, 4:54 pm)
Re: [LAU] Glitch 2, Louigi Verona, (Wed Apr 10, 11:40 am)