Mixing
Mixing
- Subject: Mixing
- From: Stefan Alder <email@hidden>
- Date: Sat, 17 Apr 2010 14:52:26 -0700
Some questions about mixing on the iPhone.
The closest analogy to what I want to do would be a piano where I need
to mix up to 10 simultaneous voices.
I'm using RemoteIO without problems, and tried looping within the
callback for each voice and summing at the end. The problem is
distortion in the result.
I've converted to floats, and clip to -1 and 1. I've tried dividing
by a constant, but then a single voice seems too quiet. This brings
me to my questions:
1) Is there a recommended mixing algorithm for this situation?
2) Would I be better off with MultiChannelMixer or 3D Mixer? (I've
been trying to get MultiChannel working, but no luck yet).
I'd appreciate any advice.
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