splitname demo
% read WAV file [y Fs] = wavread('johnloomis.wav'); % plot data plot(y) % pick a place to split the sound last = 16000; % divide signal into two parts firstname = y(1:last); lastname = y(last:length(y)); soundsc(firstname,Fs); pause(2.0); soundsc(lastname,Fs);