I have record an audio segment from computer audio input port and save the audio segment with the .wav format. The sample rate is 44.1kHz and the length is 3'30". Then I downsampled the audio segment and make its sample rate 1000Hz using MATLAB, then saved the downsampled audio segment as .wav file using 'wavwrite' command in MATLAB. The downsampled audio file is 3'30" if played by Audition(an audio softwave),but if played by MATLAB command 'sound' or 'audioplayer',the time is just 3'!
MATLAB: A strange problem about audio play using MATLAB (Maybe a bug in MATLAB!)
audio player
Best Answer