Matlab incorrectly reading in number of samples?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a program that processes a large number of audio files, all exactly 48k sample rate and 48k total samples. All files get read in with no problem apart from one. I have checked that it is exactly 48k samples in both REAPER and ProTools and they both show that. However, in MATLAB it gets read in at a different value and causes the code not to work.
Is there any way too solve this as I cannot think of a reason why that one specific file which is identical to all the others is not being read in at the correct total sample value.
4 Kommentare
Walter Roberson
am 26 Mär. 2023
audioreader() gives 48000 x 2 for both files for me. Which function are you using to do the reading or querying?
Stephen23
am 27 Mär. 2023
unzip('Files for analysis.zip')
X = audioread('Files for analysis/6000 P3.wav')
Y = audioread('Files for analysis/6000 P4.wav')
Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!