• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mixing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: one more RemoteIO question
  • Next by Date: Re: one more RemoteIO question -- stoopid me!
  • Previous by thread: Re: CFRelease issue with preset names
  • Next by thread: AudioDeviceGetProperty no longer working on 10.6 ?
  • Index(es):
    • Date
    • Thread