From: Juozas Vaitonis on 12 May 2010 10:33 Hi there, i am quite new for matlab enviroment, i trying to split audio file (wav) into frames, can someone fill me with code, i want to split it into frames which size is sample number. thank in advance. waiting for answers. also it's quite urgent. Juozas
From: Walter Roberson on 12 May 2010 12:30 Juozas Vaitonis wrote: > Hi there, i am quite new for matlab enviroment, i trying to split audio > file (wav) into frames, can someone fill me with code, i want to split > it into frames which size is sample number. thank in advance. waiting > for answers. also it's quite urgent. wavread() will read the entire sound file into an array for you. Then just index the array according to your desired sample range. Take into account that the file might have been stereo, in which case the returned array will be (number_of_samples x 2) where mono would return (number_of_samples x 1) .
|
Pages: 1 Prev: read .img file and save as mat Next: three max values of a signal |