Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Compatibility

Reply
 
Thread Tools Display Modes
Old 05-08-2021, 03:23 AM   #1
ReinerS
Human being with feelings
 
Join Date: Nov 2020
Posts: 3
Default Question about riff chunk formats for large files

Hi all,
I am running into a problem decoding a large wave file (>4GB) written with Reaper. Strange thing is it is apparently not always using the same format. I do have some files recorded with Reaper where it is using RF64 format, so the RIFF chunk is labelled "RF64" and followed by a ds64 chunk, and I can decode that. Now I ran into a file recorded during the same session, so no settings in Reaper had been changed in between, and the format looks unknown to me. The RIFF chunk is labelled "riff" (note the small letters!), followed by 20 bytes and then "wave" (again in small letters), followed by another 12 bytes and then the fmt chunk. Does anyone have the specification for this type of riff chunk? It neither followes the normal type (for files <4GB), where we have "RIFF" followed by 4 bytes and then "WAVE" (both with capital letters), nor is it RF64 format nor BW64 format.

I guess somewhere in the extra bytes I will find the files size and the size of the data chunk, but where?

Any help is appreciated!

Best regards
Reiner
ReinerS is offline   Reply With Quote
Old 05-08-2021, 04:35 AM   #2
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,749
Default

Are you sure that file was written by REAPER? What are the 4 bytes after "riff" ?
schwa is offline   Reply With Quote
Old 05-08-2021, 05:09 AM   #3
ReinerS
Human being with feelings
 
Join Date: Nov 2020
Posts: 3
Default

yes, it is written by Reaper.
These are the first bytes:
72 69 66 66 2e 91 cf 11 a5 d6 28 db 04 c1 00 00
68 d0 28 24 01 00 00 00 77 61 76 65 f3 ac d3 11
8c d1 00 c0 4f 8e db 8a 66 6d 74 20 f3 ac d3 11
8c d1 00 c0 4f 8e db 8a 28 00 00 00 00 00 00

Interestingly enough Adobe Audition reports the format as 32 bit float, while I recorded all my files with 24 bit integers. Dont know why it switched format.
ReinerS is offline   Reply With Quote
Old 05-08-2021, 05:28 AM   #4
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,749
Default

Ah, that's a wav64 file. There's a dropdown in the wav file format configuration that controls how large files are written, but there's no option that would alternate between rf64 and wav64. It's possible that you have different project settings for recording vs apply fx / glue / freeze / etc vs render.

https://www.ambisonia.com/Members/ml...ony_wave64.pdf
schwa is offline   Reply With Quote
Old 05-08-2021, 12:55 PM   #5
ReinerS
Human being with feelings
 
Join Date: Nov 2020
Posts: 3
Default

Quote:
Originally Posted by schwa View Post
Ah, that's a wav64 file. There's a dropdown in the wav file format configuration that controls how large files are written, but there's no option that would alternate between rf64 and wav64. It's possible that you have different project settings for recording vs apply fx / glue / freeze / etc vs render.

https://www.ambisonia.com/Members/ml...ony_wave64.pdf
Thanks for your reply!
I found out that opening the file in Adobe Audition and saving it as 24bit sample type (Audition reads it as 32bit float!) makes it into an RF64 file, which my software can read.

Problem solved!

I have no idea though why Reaper has saved some files in this format, I used the same template for all files.
ReinerS is offline   Reply With Quote
Old 05-08-2021, 12:58 PM   #6
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,749
Default

You could also use REAPER's batch converter.

As for why it happened in the first place, my guess would be a different large file setting for Project Settings > Media > Recording vs Project Settings > Media > Apply FX, Glue, Freeze, Etc vs File > Render, or something like that.
schwa is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.