Taking sample from audioread

6 次查看(过去 30 天)
How do I take 200 sample from an audioread

采纳的回答

Ameer Hamza
Ameer Hamza 2020-11-26
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);

更多回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by