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

7 visualizaciones (últimos 30 días)
DARIO BENVEGNÙ
DARIO BENVEGNÙ el 10 de Nov. de 2023
Respondida: jibrahim el 13 de Nov. de 2023
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.

Respuesta aceptada

jibrahim
jibrahim el 13 de Nov. de 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.

Más respuestas (0)

Categorías

Más información sobre Simulation, Tuning, and Visualization en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by