How to add a plot to the UI of an audio plugin
2 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
jibrahim
on 13 Nov 2023
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 Comments
More Answers (0)
See Also
Categories
Find more on Simulation, Tuning, and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!