Suggestions and Features
Suggestions and Features
- Subject: Suggestions and Features
- From: Brian Barnes <email@hidden>
- Date: Mon, 08 Oct 2001 10:57:34 -0400
A suggestion that would make Core Audio a bit better for games.
Right now (if anyone has seen the sample code), I have this sound path:
Audio Unit:Mixer --> Audio Unit:Effect:Reverb --> Audio Unit:Output
This works fine. The problem is that I carry a stereo signal through
this whole path. I know that currently some of these units only take
stereo samples, but my original samples are mono (works better for
localization), and so the left & right channel are basically the same
with volume differences.
I'd love to be able to carry a mono signal across this path (especially
through the costly reverb unit) and have a special audio output unit at
the end (Type: Audio Unit, SubType: Output, ID = Channel Splitter) that
splits the channel and applies the volume changes (for localization).
I'd be able to reduce the processor/memory load for these operations by
quite a bit.
Also, in the future, the splitter also serve to split into 3, 4, or 5
channels, which would give me easy access to better sound systems when
available. That said, the property to pan would have to be a angle from
listener, which would allow me to just flip a property to immediatly get
2+ channels.
[>] Brian