please help me to translate wavread to audioread
조회 수: 3 (최근 30일)
이전 댓글 표시
how can i use audioread to express [x1, fs, bits]=wavread(location);
thanks
댓글 수: 0
답변 (1개)
Geoff Hayes
2020년 3월 18일
David - from audioread, you could do (assuming that location is the name of (and path to) the audio file
[x1,fs] = audioread(location);
info = audioinfo(location);
to get a structure that will have a field corresponding to the bits per sample.
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!