Using mp3write
Mostrar comentarios más antiguos
I have used mp3write with success often in the past but lately I am getting "clipping" errors.
Here is a typical session:
>> mp3write(y,Fs,16,'BuiltUpWave',1);
Warning: Data clipped during write to file:temp.wav
> In wavwrite>PCM_Quantize at 287
In wavwrite>write_wavedat at 309
In wavwrite at 138
In mp3write at 53
Can't init outfile 'c:\matlab6p1\apps\musicalsoundanalysis\matfilesmusicwaves\BuiltUpWave.mp3'
where
c:\matlab6p1\apps\musicalsoundanalysis\matfilesmusicwaves
happens to be the current folder and the variables involved are:
>> whos y Fs
Name Size Bytes Class Attributes
Fs 1x1 8 double
y 1x33075 264600 double
Can anyone show me what I am doing wrong? Thanks.
2 comentarios
Image Analyst
el 9 de Abr. de 2012
I don't have mp3write so I can't try anything. What toolbox is it in, or where did you get it?
Daniel Shub
el 9 de Abr. de 2012
mp3write comes from http://www.mathworks.com/matlabcentral/fileexchange/13852-mp3read-and-mp3write
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Whos en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!