Re: Stereo > Mono Downmixing on iOS
Re: Stereo > Mono Downmixing on iOS
- Subject: Re: Stereo > Mono Downmixing on iOS
- From: Jan <email@hidden>
- Date: Wed, 30 Mar 2011 20:25:46 +0200
I actually tried that but I was unsure if that’s the best option ((L+R)/2). There seem to be certain cases where this could lead to the signal getting cancelled-out, and the signal level can get lowered for songs that have very different left/right channels.
Is that solution the standard approach for downmixing stereo to mono?
Thanks!
Am 30.03.2011 um 19:13 schrieb Morgan Packard:
> I'm confused by your question. Do you have access to the actual audio samples? If you do, all you need to do to get a mono signal is (leftSample + rightSample) / 2 for the each sample in your signal. If you need more specific details about how to do that, speak up and I or someone else will surely be able to help you.
>
> But maybe you're asking something more complicated...
>
> -m-
>
> On Wed, Mar 30, 2011 at 10:51 AM, Jan <email@hidden> wrote:
> Hi,
>
> I’m trying to downmix a PCM stereo signal to mono on iOS (realtime). The input consists of the two (stereo) channels, which are processed through a number of effects, and in the end I need two channels back out, where each channel is a mono downmix of the stereo signal at the end of the chain (i.e. both output channels would be identical).
>
> I though I could maybe use the AudioConverter but it doesn’t seem to do mixing, and the MultiChannelMixer seems to be quite limited on iOS as well in terms of output channel configuration.
>
> Any input would be appreciated!
>
> Thanks!
_______________________________________________
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