How to add a plot to the UI of an audio plugin

7 次查看(过去 30 天)
I am coding an audio plugin that emulates HiFi HeadPhones using simple chains of biquadratic filter, and I want to add a couple of plots of the frequency responses of these filters to the UI.
I searched a lot and couldn't find any example or tutorial that does that.
All I was able to achieve was to plot the frequency response into a separate window, but that is really incovenient and can give errors if the window is closed.
I have seen some audio plugins made with matlab that have multiple plots in them, some of them even changing in real time according to the input, but even lokking at some source code I could not understand how that is done.
If anyone could help me I would be immensly grateful.

采纳的回答

jibrahim
jibrahim 2023-11-13
Hi Dario,
There is no existing support to embed custom pots into the UI of a plugin. However, there is some functionality that could help you.
First, make sure you try audioTestBench. It will allow you to test your plugin for a variety of input signals. There is built-in capability of viewing the input and output signals both in time and frequency. The plugin parameter UI will also be available.
There is also a way to add a custom visualization plot that shows up with audio test bench when clicking the 'visualize plugin: button'. To enable such a plot, you must implement a visualizr method in your plugin. For an example, see visualize in audiopluginexample.ShelvingEqualizer or audiopluginexample.VarSlopeBandpassFilter.
Hope tht helps.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulation, Tuning, and Visualization 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by