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

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

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

asp.net mvc - breakpoint on javascript in CSHTML? -