difference between audiowrite output file and audio program output
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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
- audiowrite output
- 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?
0 comentarios
Respuestas (1)
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.
0 comentarios
Ver también
Categorías
Más información sobre Audio Plugin Creation and Hosting en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!