필터 지우기
필터 지우기

Audio VST Plugin UI Control Updates

조회 수: 2 (최근 30일)
David
David 2023년 8월 28일
댓글: David 2023년 8월 29일
I'm looking to generate a VST plugin in Matlab and have a use case intended to update the slider UI. Rather than the user controlling the slider, the slider levels are updated regularly based off of internal plugin state. When I try to validate an example plugin, I get the following:
Running testbench...
Error using testbench_pluginname>checkForTampering
Running plugin changed parameter 'XX' from 0 to 0.1.
Error in testbench_pluginname (line 95)
checkForTampering(plugin, paramState, sampleRate, 'Running plugin');
Error in validateAudioPlugin
I am having trouble finding documentation checkForTampering(). Is this more of a warning or hard limit to the Audio System Toolbox's capabilities? I do understand in most use cases you would not want the UI updating itself, however, my project is looking for this exact functionality. Please let me know if there is a better way to update slider UI internally from the plugin itself.
  댓글 수: 1
David
David 2023년 8월 28일
Additionally, the updated slider is connected to audio processing within the plugin. As an example, it could be a volume level being updated internally and the gain level visualized via vertical slider.

댓글을 달려면 로그인하십시오.

채택된 답변

jibrahim
jibrahim 2023년 8월 29일
Hi David,
This is indeed a limitation of authoring audio plugins in MATLAB: A parameter's value may not be modified by setting another parameter or in the process method of the plugin.
You can certainly have properties in your plugin that depend on the values of one of more plugin parameters, but they may not be plugin parameters.
  댓글 수: 1
David
David 2023년 8월 29일
Understood. Thank you very much for the quick response! If this functionality become available in a future release, I'd love to use it. I am indeed looking for a plugin parameter that updates the audio processing and UI without having to create separate controls

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio Plugin Creation and Hosting에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by