problem reading wav file
Show older comments
hi,
I created a folder in drive C on users. I copied the audio file .wav in it. i opened live Editor and did Alt/enter to create a text area and typed 'Assignment'. I then pressed Ctrl S to save it as 'Assignment _task' mlx onto the 'Assignment' folder in C. both the audio file and Mxs file appeared on matlab's 'my folder'. I then pressed Alt/enter to get into Code area. In Code area, i typed 'audioread('the wav file') and pressed Ctrl /enter. I came out with error as follows:
The file type is not supported
[y, Fs] = readaudio (filename, range, datatype);
my question are 1./ of how can i get the 'range' and know the 'datatype'?2./ why it said 'audioread>readaudio and error in 'audioread' 3./ am i supposed to get x and Fs and rows and column?
Can anyone help me of how to read the audio please?
thank you
D.A
1 Comment
DOORYODHUN AHKU
on 5 Apr 2021
Accepted Answer
More Answers (1)
Krishna bharath Gali
on 20 Apr 2024
0 votes
How to upload the audio file
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!