I am trying to read and play a .wav file but there is always an error that i cannot explain. None of the .wav files that i used worked.
Error message:
"Error using sound (line 79)
Index exceeds the number of array elements (0).
Error in basico_som (line 5)
sound(y,fs)"
Here is the code i'm using:
[y,fs]=audioread('Clarinet.wav');fsL=length(y)sound(y,fs)
Best Answer