Borrar filtros
Borrar filtros

difference between audiowrite output file and audio program output

3 visualizaciones (últimos 30 días)
Dong gun Lee
Dong gun Lee el 21 de En. de 2016
Editada: Walter Roberson el 21 de En. de 2016
I recorded audio file with MATLAB and saved that file with func audiowrite. However, it caused some problem in my code.
So, I read the output of audiowrite file with program (Audacity, Adobe Audition) and saved it in that program.
Then I re-read the file in MATLAB, and it did not cause any problem in my code.
It means that there were some difference between audiowrite output and the file saved in audio program with audiowrite output.
I compared two files
  1. audiowrite output
  2. audiowrite output -> read in audio program -> save
I subtracted one from the other.
Among 64000 samples, some values were 3.0518e-05 (difference)
Is there anyone who knows why it happens? and how to solve this?

Respuestas (1)

Walter Roberson
Walter Roberson el 21 de En. de 2016
Editada: Walter Roberson el 21 de En. de 2016
The difference you are seeing, 3.0518e-5, is 1/32768. I am not immediately sure why you are not instead getting a difference on the order of 1/65536; it could depend on how you created your data.

Categorías

Más información sobre Audio Plugin Creation and Hosting en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by