Re: trying to understand bus/channel/node io/stream correlations...
Re: trying to understand bus/channel/node io/stream correlations...
- Subject: Re: trying to understand bus/channel/node io/stream correlations...
- From: Chris Rogers <email@hidden>
- Date: Mon, 13 Jan 2003 17:49:47 -0800
Chris,
My guess is that you're hearing the reverb send output and
not the main synth output. The reverb send output will tend
to be much quieter than the main output. When you turn
off the internal reverb, the synth will have two output busses
instead of one:
use internal reverb (the default)
only one output bus #0 -> main output bus (with reverb mixed in)
no internal reverb (settable with the property as you've done)
two output busses
bus #0 -> reverb send
bus #1 -> main output
So when you're connecting the output of each DLS synth to the mixer,
with:
extern OSStatus AUGraphConnectNodeInput(AUGraph inGraph,
AUNode inSourceNode,
UInt32 inSourceOutputNumber,
AUNode inDestNode,
UInt32
inDestInputNumber );
make sure that the inSourceOutputNumber parameter is 1 and NOT 0.
This is just a guess. Let me know if you still are having troubles...
Chris Rogers
Core Audio
Apple Computer
>
I am still trying to fix a problem with a stereo mixer
>
that has multiple DLSSynth units as inputs. The
>
graph that contains the units is used by a MusicSequence.
>
>
Reverb is turned off for the DLSSynth units, and though
>
everything works the sound level is much lower than
>
for a DLSSynth hooked directly to an output unit. All
>
volume/gain parameters have default values. If I export
>
and SMF from the sequence and play it back with
>
QuickTime or in the Finder, the output really blasts
>
compared to my app's rendering with MusicPlayer
>
& the stereo mixer unit.
>
>
My hunch is that when the internal reverb gets turned
>
off we lose half the output of the DLSSynth, resulting
>
in half the volume. However I cannot figure out how
>
to fix this.
>
>
I've gotten stream-format info and bus-count property
>
info for my units and must admit I don't see exactly
>
how this correlates to AUNode connection parameters.
>
How do I ensure that both output busses of my
>
DLSSynth are getting input to the mixer, & from there
>
to the output unit? Also, how do I get the DLS output
>
to be mono so that my mixer can control balance for
>
each channel? I'm hoping these are related questions.
>
>
Perhaps most important, where can one find clear documentation on the
>
distinction between these
>
concepts - bus, stream, channel, node i/o number -
>
and their use with the various available units? I've
>
re-read the HAL and AudioUnit chapters of the CA pdf
>
as well as the headers and it's still fuzzy to me.
>
>
Thanks for any help,
>
Chris
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.