Store audio signal into array using matlab -


i recorded audio signal (.wav) , need convert signal matrix or array using matlab, can add one.

[x,fs] = wavread('c:\users\amira\desktop\test222.wav');  fs=44100  length(x) = 339968 

how can sample signal , covert matrix of (n,1) n=40.

if want first 40 samples of audio signal, can index x:

[x,fs] = wavread('c:\users\amira\desktop\test222.wav'); first40 = x(1:40); 

Comments

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -