Effacer les filtres
Effacer les filtres

Can I change the value of gain while the song is playing in audioplayer library , app designer matlab.

1 vue (au cours des 30 derniers jours)
I am making a audio equiliser in matlab simulink and we are subjected to make a app designer which would control the value of the slider gain placed in simulink . I've tried connecting my simulink model with app designer but all in vain . I even tried putting the filter code in the callbacks of the app designer but still nothing . Is there any way I can connect my simulink with app designer or I can change the gain of the signal while the audio file is playing .

Réponses (1)

Walter Roberson
Walter Roberson le 19 Déc 2023
Simulink models typically run to completion each time they are invoked, so connecting them up for there to be a "live" connection is not typically going to work.
You can, however, get it to work if you form a udp or tcp connection between the MATLAB level and the Simulink level.
You might want to instead use simulink to implement the controls; see https://www.mathworks.com/help/simulink/dashboard.html

Catégories

En savoir plus sur Audio Plugin Creation and Hosting dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by