After adding a toggle button to the editor for the sample OSX VST plugin project, I loaded it successfully into Ableton 6.0.7 on OSX 10.4.11.
At first it appeared to be working perfectly. Clicking the toggle button in my new VST’s editor window appears to behave correctly. The intended parameter is updated. And moving the slider in the plugin’s editor window also works correctly.
Unfortunately, when I then “unfold” Ableton’s built-in generic parameter editor thingamajig (at the bottom) and begin moving the sliders in there around to edit parameters that way, Ableton hangs!!!
I’m probably missing something really obvious. From my “updateParametersFromFilter()” function in the editor class, I’m calling “setToggleState(newValue, false)” so that no update message is sent by the toggle button. Still-- it makes Ableton completely freeze. Simply commenting out this line of code stops the hang. BTW-- the slider updates correctly and does not hang Ableton.
Please don’t tell me I can only use sliders in my VST
I apologize if this was already covered in another thread. Read through the first couple of pages and nothing jumped out at me…