Old 03-02-2017, 12:40 PM   #1
ajaym
Human being with feelings
 
Join Date: Aug 2009
Posts: 95
Default Control surface API to retrieve meter values

Hi folks
I've looked through the most recent API header and probably missed it, but how do you get the meter values for each track, so that you can display them in real time as VU meters on the control surface. I have a KMI K-MIX that would look great as a meter bridge, but I can't figure out how to do it in Reaper's SDK.
ajaym is offline   Reply With Quote
Old 03-02-2017, 12:45 PM   #2
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 6,562
Default

Maybe these will work :

Track_GetPeakInfo
Track_GetPeakHoldDB
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass and λ) :
http://xenakios.wordpress.com/
Xenakios is online now   Reply With Quote
Old 03-03-2017, 06:20 AM   #3
ajaym
Human being with feelings
 
Join Date: Aug 2009
Posts: 95
Default

Hey, great, I will try those - I wasn't sure if they were gonna return realtime info or just the highest peak value recorded for the track, when I looked at them. Sure wish Justin's people would take a little time to document this stuff, it would save such a lot of time digging through hundreds of APIs. Ah well....
ajaym is offline   Reply With Quote
Old 03-03-2017, 07:28 AM   #4
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 6,562
Default

Quote:
Originally Posted by ajaym View Post
Hey, great, I will try those - I wasn't sure if they were gonna return realtime info or just the highest peak value recorded for the track, when I looked at them. Sure wish Justin's people would take a little time to document this stuff, it would save such a lot of time digging through hundreds of APIs. Ah well....
I am fairly sure those will return on the fly info. The peaks of the audio waveforms on the arrange area use a different API.
__________________
For info on SWS Reaper extension plugin (including Xenakios' previous extension/actions) :
http://www.sws-extension.org/
https://github.com/Jeff0S/sws
--
Xenakios blog (about HourGlass and λ) :
http://xenakios.wordpress.com/
Xenakios is online now   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 08:06 PM.


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