having errors while converting .mat file to .wav file
Ältere Kommentare anzeigen
x=load('read.mat');
>> f=fieldnames(x);
>> wavwrite(x.(f{1}),8000,'foo.wav')
Warning: Data clipped during write to file:foo.wav
> In wavwrite>PCM_Quantize at 247
In wavwrite>write_wavedat at 267
In wavwrite at 112
>>
Akzeptierte Antwort
Weitere Antworten (1)
Daniel Shub
am 9 Mai 2012
0 Stimmen
The error means that at least for one sample either x<-1 or x>1.
6 Kommentare
tammna abid
am 9 Mai 2012
Daniel Shub
am 9 Mai 2012
See my edit
tammna abid
am 9 Mai 2012
tammna abid
am 9 Mai 2012
Daniel Shub
am 9 Mai 2012
Thank you equals a vote. I wasn't suggesting you ask in that thread, but rather, that the answer was in the thread.
tammna abid
am 11 Mai 2012
Kategorien
Mehr zu Audio and Video Data finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!