Audio data collection scaling
Show older comments
I collected some experimental data using an industrial IEPE microphone. When I called audiowrite to write the data to a file, I received a warning message about clipping the data. I found a solution to scale the data by dividing by the maximum of the absolute value.
Looking at the data now, I did not realize the maximum would vary by so much since the measurements were taken at similar conditions. Since I do not have the original maximums I cannot properly scale the data to be on the same scale. Two audio files recorded at identical conditions should have roughly the same amplitude, but one of the files has a significant amplitude shift.
I was wondering if there are any techniques to scale the data properly. It seems that outliers are causing one of the signals to be shifted more than the other.

The regions from 0 seconds to 1000 seconds in the first signal and 200 seconds to 1000 seconds should have roughly the same amplitudes.
Do I need to recollect data?
Accepted Answer
More Answers (0)
Categories
Find more on Measurements and Spatial Audio 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!