I'm not able to read audio file >4GB

조회 수: 6 (최근 30일)
Francesco Lucarelli
Francesco Lucarelli 2021년 10월 27일
답변: Jan 2021년 10월 28일
Hi everyone,
i'm not able to read audio file >4GB in Matlab.
Is there any reason why? I have the same issue with other softwares
Thanks a lot in advance
Francesco
  댓글 수: 2
Jan
Jan 2021년 10월 27일
Which format does the "audio file" hav? MP3, wav, flac, wma? Is 4GB the size of the file or of the expanded data? Is it 4.00GB or the 4,294,967,295 Bytes limit of a FAT32 formated disk?
Francesco Lucarelli
Francesco Lucarelli 2021년 10월 27일
Hi Jan, the audio is a .wav. The file is 5,080,322,048 bytes. The max file that i can read is 4,294,961,924 bytes. So, pretty close to the number you said.
So you think is related to the limit of a FAT32 formated disk? Could you tell me more on this please?
Thanks a lot for your help
Best,
Francesco

댓글을 달려면 로그인하십시오.

채택된 답변

Jan
Jan 2021년 10월 28일
If you can store a 5GB file on the disk, the disk cannot be formated in FAT32. This means, that the limit is caused by the file format or the function, which imports the file. See https://en.wikipedia.org/wiki/WAV :
The WAV format is limited to files that are less than 4 GiB, because of its use of a 32-bitt unsigned integer to record the file size header.
The W64 format solves this problem, but it cannot be opened from all programs. See https://en.wikipedia.org/wiki/RF64

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by