Taking sample from audioread
2 views (last 30 days)
Show older comments
S.M. Miran-Ul-Hasan Sajoy
on 26 Nov 2020
Commented: Ameer Hamza
on 26 Nov 2020
How do I take 200 sample from an audioread
0 Comments
Accepted Answer
Ameer Hamza
on 26 Nov 2020
audioread() needs to read complete audio file. You can get 200 samples after the file is loaded
[y, fs] = audioread(filename);
y200 = y(1:200);
2 Comments
More Answers (0)
See Also
Categories
Find more on Audio and Video Data 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!