Old 03-12-2018, 07:34 AM   #1
Human being with feelings
Burillo's Avatar
Join Date: Feb 2008
Posts: 166
Default Help with OSC and meters

Me and another guy are building a custom STM32-based control surface. We would love to put a REAPER-driven real VU meter onto it (driving a simple analog voltage meter with PWM), however REAPER's OSC "VU" messages are actually just peak level messages, so we can't use them as a base for a VU meter.

We can't really turn peak values into VU values either because the sampling frequency is too low, and there isn't an option to output proper VU values from within REAPER with OSC, by default. So we're exploring a possibility for a third one - capture proper peak values from within REAPER and transmit them via OSC.

The first thing that came to mind is to create a plugin to do this (capture volume information, convert it to VU/RMS/PPM info and transmit it over OSC via hooks into REAPER API), however this comes with huge disadvantages - we can't measure post-fader values, and we have to put this plugin on every track. So the next best thing is to create a REAPER extension (either Lua/Python or a .dll, SWS style) that will gather this information.

However, REAPER API does not appear to allow capturing audiostream (either per-sample or per-buffer) from currently selected track. I can understand why that's done (this could be a huge performance hit), but it's still a bummer.

Are there any other ways to get this information that i'm not seeing?
From Russia with love
Burillo 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 01:00 AM.

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