필터 지우기
필터 지우기

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

조회 수: 14 (최근 30일)
DARIO BENVEGNÙ
DARIO BENVEGNÙ 2023년 11월 10일
답변: jibrahim 2023년 11월 13일
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