breebaar
Max Output Level: -90 dBFS
- Total Posts : 2
- Joined: 2017/03/26 23:24:06
- Status: offline
BUG REPORT: Sonar calls VST3 plugin function with the wrong arguments (paramID vs index)
With the latest Steinberg VST3 SDK update (v3.6.7), VST3 plugins that are compiled against this SDK crash in Sonar, which did not crash with VST3 SDK v3.6.6 or earlier. These are VST3 plugins that also use the JUCE framework (v4.3.1). The root cause seems to be that for plugin parameters that are marked as 'program change' parameters, the following function from the VST SDK is called from Sonar with a parameter ID as first argument instead of the parameter index: vsteditcontroller.cpp, line 105: tresult PLUGIN_API EditController::getParameterInfo (int32 paramIndex, ParameterInfo& info) If the parameter ID (represented as int32) is out of bounds re the parameter array, the VST3 SDK v3.6.7 throws an error (while v3.6.6 did not). Both versions of the SDK however exhibit the problem of calls with the parameter ID argument being mixed up as paramIndex (the SDKs seem to differ in robustness of dealing with this issue). Using the exact same code, other hosts do call the above function with the correct arguments so this seems a Sonar specific problem. Parameters that are not marked as program change parameters work correctly in Sonar. The issue occurs for Windows (7) x64, Sonar version 23.2.0 Build 45.
|
clintmartin
Max Output Level: -36.5 dBFS
- Total Posts : 3893
- Joined: 2009/10/11 12:16:43
- Location: Fort Smith, AR
- Status: offline
Re: BUG REPORT: Sonar calls VST3 plugin function with the wrong arguments (paramID vs inde
2017/03/27 23:21:48
(permalink)
This needs to be sent to someone who can help.
|
promidi
Max Output Level: -66 dBFS
- Total Posts : 1220
- Joined: 2014/11/21 18:46:39
- Location: South Australia
- Status: offline
Re: BUG REPORT: Sonar calls VST3 plugin function with the wrong arguments (paramID vs inde
2017/03/27 23:48:57
(permalink)
This needs to be posted in the problem reports forum.
Windows 10 64bit fully patched, 16 gig ram . PCR-800 Controller. (Working in Win 10 1809 64bit)CPU: i5 4670. Video: Nvidia GTX560ti (latest drivers). Audio IF: Focusrite 2i2 2nd Gen Internet always on. Software: Cakewalk by Bandlab (2018.09 B29) ASIO mode. 24bit 48khz 256 samples Rapture Pro, AAS GS2, VS-3, EP-4, VA-2, Chromophone 2, Z3TA+ 2, Addictive drums 2, Addictive Keys, Mpowersynth (latest), Iris 2, GPO5, Sampletank 3,
|
Keith Albright [Cakewalk]
Max Output Level: -68 dBFS
- Total Posts : 1117
- Joined: 2006/07/10 15:44:42
- Location: Boston, MA
- Status: offline
Re: BUG REPORT: Sonar calls VST3 plugin function with the wrong arguments (paramID vs inde
2017/03/28 00:43:46
(permalink)
☄ Helpfulby clintmartin 2017/03/28 02:58:42
Thanks for the report. We'll check it out. Keith
|
Anderton
Max Output Level: 0 dBFS
- Total Posts : 14070
- Joined: 2003/11/06 14:02:03
- Status: offline
Re: BUG REPORT: Sonar calls VST3 plugin function with the wrong arguments (paramID vs inde
2017/03/28 01:07:20
(permalink)
|
bitman
Max Output Level: -34 dBFS
- Total Posts : 4105
- Joined: 2003/11/06 14:11:54
- Location: Keystone Colorado
- Status: offline
Re: BUG REPORT: Sonar calls VST3 plugin function with the wrong arguments (paramID vs inde
2017/03/28 01:25:15
(permalink)
|
djtrailmixxx
Max Output Level: -86 dBFS
- Total Posts : 235
- Joined: 2008/10/29 13:47:01
- Status: offline
Re: BUG REPORT: Sonar calls VST3 plugin function with the wrong arguments (paramID vs inde
2017/03/28 15:25:05
(permalink)
Only slightly related. If you install the latest Stardock Fences on windows 10 x64, Production or Insider builds, it breaks plugin scanning. Nearly every plugin generates an error during auto scan.
Sonar Platinum X64 - Win 10 x64 - Intel SB-E 3930 - Gigabyte GA-X79-UP4 - 16GB DDR3 - AMD R290X - 4x 1TB SSD RAID 0 (Sys and Data partitions) - 2x UAD2 Quad - 1x UAD2 Octo - UAD Apollo Dual
|
pwalpwal
Max Output Level: -43 dBFS
- Total Posts : 3249
- Joined: 2015/01/17 03:52:50
- Status: offline
Re: BUG REPORT: Sonar calls VST3 plugin function with the wrong arguments (paramID vs inde
2017/03/28 15:31:17
(permalink)
djtrailmixxx Stardock Fences
i had to look it up (i only know stardock as a games publisher) so i'll save the rest of you the trouble https://www.stardock.com/products/fences/ not sure what could be happening to break plugin scanning?
|
Keith Albright [Cakewalk]
Max Output Level: -68 dBFS
- Total Posts : 1117
- Joined: 2006/07/10 15:44:42
- Location: Boston, MA
- Status: offline
Re: BUG REPORT: Sonar calls VST3 plugin function with the wrong arguments (paramID vs inde
2017/03/29 17:53:58
(permalink)
Thanks again for the specific report with the VST3 program change param. This is updated for 2017.04. Tested with Melda PowerSynth demo which is now responding to the program change from the Inspector. If anyone knows a synth that supports multiple program change params (i.e. for multiple midi channels) that'd be cool to check. Melda supports a single unit with 1 program change param. Thanks. Keith
|
breebaar
Max Output Level: -90 dBFS
- Total Posts : 2
- Joined: 2017/03/26 23:24:06
- Status: offline
Re: BUG REPORT: Sonar calls VST3 plugin function with the wrong arguments (paramID vs inde
2017/03/29 22:49:08
(permalink)
☄ Helpfulby djtrailmixxx 2017/03/30 19:54:25
Hi Keith, Thanks for looking into this and following up so quickly! As for testing: the plugin that initially revealed the issue was not a synth but a VST3 effect plugin. I've made that plugin available for testing purposes here: www.toneboosters.com/downloads/Barricade_v4.1.2_win.zip The crash can be reproduced as follows: - Open a new project - Add a new audio track - Insert Barricade VST3 as effect on the track We've made an update available as temporary fix (by reverting to VST3 SDK v3.6.6) that won't crash, but still receives the program parameter call with the wrong arguments: www.toneboosters.com/downloads/Barricade_v4.1.3_win.zip Let me know if you need anything else for testing.
|
Keith Albright [Cakewalk]
Max Output Level: -68 dBFS
- Total Posts : 1117
- Joined: 2006/07/10 15:44:42
- Location: Boston, MA
- Status: offline
Re: BUG REPORT: Sonar calls VST3 plugin function with the wrong arguments (paramID vs inde
2017/04/24 18:36:38
(permalink)
Have you tried the early access 2017.04 build? Should be working.
|