Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Compatibility

Thread Tools Display Modes
Old 12-09-2022, 01:16 PM   #1
Human being with feelings
Join Date: Feb 2012
Posts: 29
Default Looping in Reaper breaks my reverb plugin and now I'm confused

Hey folks,

I have recently released an open source reverb plugin based on my Ursa Major Stargate 323. The plugin is built with JUCE and is available as CLAP & VST3 for Windows, macOS (Intel & M1) and Linux https://github.com/ravettel/SG-323/releases

Today one lucky tester discovered that looping in Reaper instantly creates large amounts of feedback and the automute will kick in. Interestingly enough this even happens in an empty session. As far as I can tell this seems to happen only in Reaper (tested in 6.68 & 6.71 on Windows & Linux) and looping in Bitwig 4 & ProTools 2022 (via VST3 wrapper) works absolutely fine.

I'd love to fix this but I currently have zero clue what's so different in Reaper's playback looping that my code will break o.O
krabbencutter is offline   Reply With Quote
Old 12-19-2022, 05:34 PM   #2
Human being with feelings
Lynx_TWO's Avatar
Join Date: Dec 2019
Location: St Petersburg FL
Posts: 989

Hmmm, that doesn’t sound like the usual 2-pass render fix… are you sure FeedBack mode isn’t enabled in the Advanced tab under project settings? I recently ran into issues with that and had to find a workaround… only other thing I can think of off the top of my head is it might be a routing issue, but if you have the FX on the track itself then that’s not it…

What happens if you freeze the track or render the stem with the reverb turned off, then reenable/add the reverb FX on the frozen or rendered stem track?
My mixes from the Cambridge multitracks library
SoundCloud link & Youtube (ThemTube?) link
My preferred adjectives are “Handsome” and “Brilliant”
Lynx_TWO is offline   Reply With Quote
Old 12-19-2022, 07:03 PM   #3
Human being with feelings
nofish's Avatar
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,058

There's a setting in Preferences (> Audio) > Playback: Flush FX when looping.
Maybe try if that makes a difference?
nofish is offline   Reply With Quote
Old 09-24-2023, 01:00 AM   #4
Human being with feelings
Join Date: Feb 2012
Posts: 29

I think I've found the reason why my plugin was acting weird. If the loop length can't be divided evenly through the current buffersize, Reaper will create resized audio buffers at the turnaround point of the loop. Say your buffersize is 512 samples, then Reaper might create a 320 sample buffer before the end of the loop and a 192 sample buffer after jumping back to the beginning of the loop. My plugin was assuming that the buffersize would stay constant during playback, which then could lead to a buffer overflow.
krabbencutter is offline   Reply With Quote

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 04:34 PM.

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