Volume in db MatrixMixer
Volume in db MatrixMixer
- Subject: Volume in db MatrixMixer
- From: Benjamin Rindt <email@hidden>
- Date: Thu, 26 Sep 2013 12:45:03 +0200
Hey guys,
I have set up my MatrixMixer and everything is working smoothly. But am I right that setting a volume on the matrix mixer of 1 equals to 0db?
with the sample code of the MatrixMixerTest
double ampdb(double amp) { return 20. * log10(amp); }
if amp = 1, you get about 0 db. Okay, I'm fine with that, but I am confused why programs like logic or MainStage can get up to +6db which would mean in this calculation amp = 2, but I can't give the mixer a 2 as volume. How is it done in these apps? is there a extra Audio Unit boosting the signal if needed?
I also don't know how to do the slider the right way. The slider has linear numbers, but I want on my slider the 0 db mark in the upper third like a real slider. If I set the maxValue to 2 on the slider, the 0 db mark is right in the middle. Ideas to solve this?
Thanks Benjamin
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden