Re: Volume in db MatrixMixer
Re: Volume in db MatrixMixer
- Subject: Re: Volume in db MatrixMixer
- From: Kevin Dixon <email@hidden>
- Date: Thu, 26 Sep 2013 10:38:39 -0700
Your slider should be in dB. common range is -120 to 0, or +6 as you mention.
-Kevin
On Thu, Sep 26, 2013 at 3:45 AM, Benjamin Rindt <email@hidden> wrote:
> 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
_______________________________________________
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