Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track Peak (Stereo meters) affected by multichannel #560

Closed
AlbertoV5 opened this issue Apr 11, 2022 · 1 comment
Closed

Track Peak (Stereo meters) affected by multichannel #560

AlbertoV5 opened this issue Apr 11, 2022 · 1 comment
Labels
bug Something isn't working high priority realearn Related to ReaLearn

Comments

@AlbertoV5
Copy link
Contributor

AlbertoV5 commented Apr 11, 2022

Hello again Helgoboss,

realearnPeakMultichannel5

We already talked a bit about the peaks here and the solution for that one was here.

I was just wondering if there was a way to check for Stereo Peaks metering so it doesn't sum them all always.

EDIT: Just found it on the API

reaper.GetMediaTrackInfo_Value also has:

I_VUMODE : int * : track vu mode,
&1:disabled,
&30==0:stereo peaks,
&30==2:multichannel peaks,
&30==4:stereo RMS,
&30==8:combined RMS,
&30==12:LUFS-M,
&30==16:LUFS-S (readout=max),
&30==20:LUFS-S (readout=current),
&32:LUFS calculation on channels 1+2 only

EDIT 2: Made a pull request about it.

Thank you!

AlbertoV5 added a commit to AlbertoV5/reaper-rs that referenced this issue Apr 12, 2022
AlbertoV5 added a commit to AlbertoV5/realearn that referenced this issue Apr 12, 2022
helgoboss#560

and

helgoboss/reaper-rs#55

Compiled and passed the tests. Just an idea, works for me but I don't know what is best practice for mutable variables so edit as you see fit please and thank you.

Looks like all VU modes use channels 1-2, except for Multichannel and Combined RMS. In Reaper's UI the mode Stereo RMS displays different values for channel 1 and 2 but Track Peak only returns a single value so it acts like Combined Stereo RMS in practice which for me personally is fine. Then currently as of 6.53 all LUFS meters follow channels 1-2 only.
@helgoboss
Copy link
Owner

@AlbertoV5 Cool, thanks for the PR. I'm quite busy with other changes at the moment but hope to look into it soon.

@helgoboss helgoboss added bug Something isn't working high priority labels Apr 14, 2022
@helgoboss helgoboss added the realearn Related to ReaLearn label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority realearn Related to ReaLearn
Projects
None yet
Development

No branches or pull requests

2 participants