フィルターのクリア

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 Center および File ExchangeSimulation, 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