1. Real time plot audio wave by speaking to the microphone
Optional Input Parameters
|fs||Sampling frequency (Hz). Default is 16k.
|screen ||Screen width to show signal (sec). Default is 5 sec.
function sys = realTime_YW(fs, screen)
% Start the system by sample rate 16k and show 5 seconds signal
sys = realTime_YW(16000,5);
% Stop the system
% Get the record speech, plot and play it
s = getaudiodata(sys.recorder);
3、Full code for advanced cases
Will provide m file and its manual
- Donate page
- Donate USD 10 ( TWD 300 )
- Please tell me in the note area for which code you need