> New API: left_volume_db, right_volume_db - values passed in actual dB, these
> values can still be different when read even if sync is enabled.
Not commenting ot the other issues here, but I think this is also suboptimal.
If I have to touch this code at all, and write compat code, I believe the
proper way to do it would be
- volume_db (-96 to 24)
- panning (-100% to 100%)
What I usually want to do as composer is simply move the bus more to the left
or right, without affecting overall volume. To implement this, I think the
right way to do it is to make the signal louder if it is not being played on
both channels but just on one. So
- volume_db = 0, panning = 0 -> left_volume = 1, right_volume = 1
- volume_db = 0, panning = -100 -> left_volume = 1.41, right_volume = 0
- volume_db = 0, panning = 100 -> left_volume = 0, right_volume = 1.41
At least using (sqrt(2) ~= 3dB) is what I believe is the correct value here,
I'd have to double-check that before implementing it. Also sync is no longer
needed then, and should be removed.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tim-janik/beast/pull/78#issuecomment-419715703
_______________________________________________
beast mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/beast