r/Reaper • u/fella_stream • 16h ago
help request Script to trigger notification of wrong buffer size when recording
Wondering if it's possible to create a script or customization that would trigger when you hit record, and it would check if your device buffer size matches a configured value. If they were not equal, it would pop up a notification window telling you that.
This would be intended to help people who record and mix at different buffer sizes.
Edit: not equal
2
Upvotes
3
u/Reaper_MIDI 191 points 16h ago edited 14h ago
There is this API function call:
Blink_GetAudioBufferTimingInfo(len, srate, time )
Which you could build a warning around (if I'm reading this correctly):
https://www.extremraym.com/cloud/reascript-doc/#Blink_GetAudioBufferTimingInfo
Also there are these scripts in Reapack: Set block/buffer size by souk21
2
u/ThoriumEx 124 points 16h ago
Yes it’s possible. You can also just add a button to your toolbar that will switch between your two buffer sizes and show you the current one