Combining wavplay and filepath not working ?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Can't we dynamically choose the file we wanted to play? i tried this :
[FileName,PathName] = uigetfile('*.wav','Select Audio File ');
wavplay(FileName,45040);
and i've tried :
[FileName,PathName] = uigetfile('*.wav','Select Audio File ');
FILE=fullfile(PathName, FileName);
wavplay(FILE,45040);
I got this following error: Input arguments must be real uint8, int16, single, or double-precision.
3 Kommentare
Walter Roberson
am 29 Mär. 2013
Is anything else able to play the file? 'RIFF' is very common in WAV files but it needs to be followed by binary 0 not by '0'
Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!