Can I change the value of gain while the song is playing in audioplayer library , app designer matlab.
1 次查看(过去 30 天)
显示 更早的评论
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 .
0 个评论
回答(1 个)
Walter Roberson
2023-12-19
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio Plugin Creation and Hosting 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!