problem reading wav file
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:
Error using audioread>readaudio (line 157)
The file type is not supported
Error in audioread (line 136)
[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.Ahi,
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:
Error using audioread>readaudio (line 157)
The file type is not supported
Error in audioread (line 136)
[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 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:
Error using audioread>readaudio (line 157)
The file type is not supported
Error in audioread (line 136)
[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 audio read MATLAB Answers — New Questions