Archive
Archive for August, 2013
real-time audio visualisation/plotting in matlab
August 31, 2013
Leave a comment
% Plot audio from soundcard captured at Fs Hz with frames of length N (with thanks to Richard Hayse) clear all; Fs=11025; N=2048;t=(0:N-1)/Fs; while 1 y = wavrecord(N,Fs,2); plot(y); axis( [0 N -1 1]); drawnow; end
Categories: matlab code, Uncategorized, youtube demo code