Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 01-21-2021, 09:53 AM   #1
Paul Eye
Human being with feelings
 
Join Date: Feb 2006
Location: Helsinki, Finland
Posts: 176
Default 6.20: Offline rendered files are 1 sample too short (FIXED)

I just updated to 6.20 and now my offline renders are 1 sample too short. Even a simple project with 2 tracks and no plugins does this, so it's not plugin or PDC related (as I first suspected). This is at 44.1 kHz and full-speed offline rendering. 1x offline and online renders are not affected.
That 1 sample is missing at the end. Tested on a project rendered from 6.19 and 6.20 and they null perfectly (apart from the missing sample in the 6.20 render, obviously).

REAPER 6.20 x64 on Win10 20H2 x64

Last edited by Paul Eye; 01-22-2021 at 09:08 AM.
Paul Eye is offline   Reply With Quote
Old 01-21-2021, 11:14 AM   #2
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 12,454
Default

Sorry, I'm not able to reproduce this. Rendering N seconds of audio results in a file with N*samplerate*channels samples. Are you rendering an entire project, or a time selection, or media items, or... ?
schwa is offline   Reply With Quote
Old 01-21-2021, 12:10 PM   #3
Paul Eye
Human being with feelings
 
Join Date: Feb 2006
Location: Helsinki, Finland
Posts: 176
Default

Just tested with a project with one WAV file on one track, no plugins. Rendering the master mix and tested with rendering the entire project, one region, time selection, and also selected media item via master. All of them are 1 sample too short on offline render.
Then again, rendering selected media item NOT via master, and it's the correct length.
Paul Eye is offline   Reply With Quote
Old 01-21-2021, 12:30 PM   #4
Paul Eye
Human being with feelings
 
Join Date: Feb 2006
Location: Helsinki, Finland
Posts: 176
Default

Okay, further testing. This time with a simple WAV file of a 1kHz sine wave one second in length. Dragged it out to 20 seconds length and rendered the project and it's the correct length. Dragged it out to 5 minutes length and there's one sample missing.
So apparently the project length has something to do with this. My previous test project's length is 5:16
Now all that needs to be found out is at which length that 1 sample drop starts happening.
Paul Eye is offline   Reply With Quote
Old 01-21-2021, 12:55 PM   #5
Paul Eye
Human being with feelings
 
Join Date: Feb 2006
Location: Helsinki, Finland
Posts: 176
Default

One more update. At 34.5 seconds the project renders to the correct length, and at 35 seconds there's 1 sample missing. So, somewhere in that half second window the sample drop starts happening. I hope that's fine grained enough for you to find out what's going on here.
And as said, this is when rendering the master mix.
Paul Eye is offline   Reply With Quote
Old 01-21-2021, 01:23 PM   #6
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 12,454
Default

OK, I can confirm that, thank you for the detailed report. We should be able to put out a fix for this shortly.
schwa is offline   Reply With Quote
Old 01-21-2021, 11:26 PM   #7
Paul Eye
Human being with feelings
 
Join Date: Feb 2006
Location: Helsinki, Finland
Posts: 176
Default

Nice, thanks
Paul Eye is offline   Reply With Quote
Old 01-22-2021, 04:56 AM   #8
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 12,454
Default

This should be fixed in 6.21rc1 if you’d care to test it.
https://forum.cockos.com/forumdisplay.php?f=37
schwa is offline   Reply With Quote
Old 01-22-2021, 09:07 AM   #9
Paul Eye
Human being with feelings
 
Join Date: Feb 2006
Location: Helsinki, Finland
Posts: 176
Default

Works as expected now, thanks for the quick fix
Paul Eye 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 11:32 AM.


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