difference between audiowrite output file and audio program output
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Walter Roberson
le 21 Jan 2016
Modifié(e) : Walter Roberson
le 21 Jan 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 commentaires
Voir également
Catégories
En savoir plus sur Audio Plugin Creation and Hosting dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!