Real Time audio modification and reproduction trough GUI

7 ビュー (過去 30 日間)
josue pareja
josue pareja 2019 年 11 月 17 日
コメント済み: Walter Roberson 2019 年 11 月 18 日
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

回答 (1 件)

Walter Roberson
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 件のコメント
josue pareja
josue pareja 2019 年 11 月 18 日
thanks for your reply, I am using Matlab 2014B, does this version has Audio System Toolbox? Does Data Acquisition toolbox works with regular auido embedded card on my pc? I tough it was mostly used with external Data Acquisition devices like NI DAQ.
I have never used Java code on Matlab, in my current situation would you please recomend me which way should I go?
Walter Roberson
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 ExchangeAudio and Video Data についてさらに検索

タグ

製品


リリース

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by