real time recording and playing the recorded audio

4 次查看(过去 30 天)
Hello!
I am creating an app using the app designer and I need to create a real time audio recorder that will playback the recording.
I have build the recorder (that plots the signal) using timer with buffer of 100ms. So now I have trouble with adding the playing function to the recorder..
I have tried to do it in parallel but it dosen't work. if I put a sound(y,fs) function into the timer it will work only if the recording window size is 100ms (because of the buffer...)
I found a class audioPlayerRecorder but I don't understand how to use it for playing the recorded signal in real time..
Any ideas how to solve it?
Thanks

回答(0 个)

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by