difference between audiowrite output file and audio program output
3 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Walter Roberson
on 21 Jan 2016
Edited: Walter Roberson
on 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 Comments
See Also
Categories
Find more on Audio Plugin Creation and Hosting in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!