Different length of sound files with different sampling frequencies
5 views (last 30 days)
Show older comments
Dear all,
Im currently struggling to understand what is happening. So, I created a sound using the audiowrite function (the sound is created using two different sounds but I dont think it matters) first with a sampling frequency of 44100 Hz, and another one, the sound file is the same but the sampling frequency is 48000 Hz. Now Im observing that the sound produced at 44100Hz is approx. 30sec longer than the other one (48000Hz sampling). It looks like phase shifting of some sort, but Im not sure. Any help/explanation is appreciated. I also made a amplitude/time plot for better understanding below

8 Comments
Answers (0)
See Also
Categories
Find more on Audio I/O and Waveform Generation 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!