Real Time audio modification and reproduction trough GUI
7 次查看(过去 30 天)
显示 更早的评论
Hi, I am designing an MP3 Player using Matlab, but I am also looking to implement a real time equalizer on it. Before working on the signal processing related to signal equalization I would like to know first how can I modify in real time the data from the audio file while it is still reproducing, of course, everytime I make modification on it the output signal that is reproduced by the speakers should be modified as well.
I ask this because by now I was only capable of ploting smalls windows of the data on the GUI in real time while the MP3 is reproducing using 'play function' and CurrentSample from the audioplayer object, generated by .mp3 file.
I will share the complete project here, but to make a long story short, the specific cuestion is: How can I modify in real time the audio Output of an audioplayer object while the audio file is reproducing.
https://mega.nz/#!g9Ih2SbJ!I5i4UfX7fnG9DCw3MKx8TlEIPXRxBgMKWoAh7gmNZ7w
0 个评论
回答(1 个)
Walter Roberson
2019-11-17
编辑:Walter Roberson
2019-11-17
You cannot do that for audioplayer objects.
In current releases you would use the Audio System Toolbox.
In your release you would either use the DSP toolbox, or else write some Java code to talk to your audio outputs, or else use Data Acquisition toolbox.
2 个评论
Walter Roberson
2019-11-18
Audio System Toolbox was new in R2016b.
In your release you can use analoginput('winsound') from Data Acquisition Toolbox. See https://www.mathworks.com/matlabcentral/fileexchange/10569-equalizer . The implication is that you should be able to use analogoutput('winsound') as well.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!