|
|||
Hi KVR,
I am trying to make a call to a third-party library in order to change a parameter value using setParameter. The library's "change parameter" method however is quite intensive which I cannot change. I am getting sporadic crashes when changing the vst parameters using the default sliders in Ableton, however, when automating the parameter from a Live clip is is working perfectly and results in full use of the default slider. I understand setParameter can be called by the audio thread, so is it that the library method maybe take too long to complete? In which case, would setting up some locks help? Considering automation of this parameter is fully working, can I assume that Ableton is not calling setParameter itself but perhaps setParameterNotifyingHost? If this is the case, am I able to make the calls to setParamNotif.... myself for use with the default parameter sliders? Many thanks! |
|||
| ^ | Joined: 28 Aug 2011 Member: #263594 | ||
|
|||
I have just noticed, as long as the Live is playing, the sliders work perfectly with no delays or crashes. The crashes only occur when the sequencer is not running which is rather bizarre. Perhaps I could just put in some control to stop parameter changes when it has stopped? |
|||
| ^ | Joined: 28 Aug 2011 Member: #263594 | ||
|
|||
Deja-vu |
|||
| ^ | Joined: 30 Nov 2008 Member: #194779 | ||
|
|||
> I am trying to make a call to a third-party library...
Maybe you should not use "a third-party library". Are you sure that there are no errors in the library? |
|||
| ^ | Joined: 20 Feb 2012 Member: #275460 | ||
|
|||
thevinn wrote: Deja-vu
yeah I was not entirely sure whether this could be juce related. turns out it is not |
|||
| ^ | Joined: 28 Aug 2011 Member: #263594 |
| KVR Forum Index » DSP and Plug-in Development | All times are GMT - 8 Hours |
|
Printable version |
Disclaimer: All communications made available as part of this forum and any opinions, advice, statements, views or other information expressed in this forum are solely provided by, and the responsibility of, the person posting such communication and not of kvraudio.com (unless kvraudio.com is specifically identified as the author of the communication).
Powered by phpBB © phpBB Group












