How wavread found out the data sample of the wav file?
Show older comments
Hey i just want to know how did wavread function automatically recognize/found out the data sample of the wav file? because i found out that the sample data value are not always in the same index when we stream .wav file into array. lately i'm trying to use delphi to create similar function to wavread but stuck on how to find the place of sample data of each .wav file.
Answers (1)
Jan
on 27 Apr 2013
0 votes
Did you ask an internet search engine already?
4 Comments
I Made
on 28 Apr 2013
Walter Roberson
on 28 Apr 2013
First it figures out which format it is (by looking at Magic Numbers). Then it looks up that format to find out where the sample rate is for that format.
Jan
on 28 Apr 2013
@I Made: Please add links to the threads in other forums, when you cross-post a problem. Otherwise it would be a waste of time, if someone posts an answer here, which can be found at stackoverflow already. Alternative: Do not cross-post at all. Thanks.
I Made
on 13 May 2013
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!