Re: AUGraph problem mixers to AudioUnit with Render
Re: AUGraph problem mixers to AudioUnit with Render
- Subject: Re: AUGraph problem mixers to AudioUnit with Render
- From: Joshua Strickon <email@hidden>
- Date: Sat, 6 Jun 2009 15:30:33 -0400
Thanks for answering this. I was already using CAShow and it didn't
help. Everything was listed the same as 44100 2 channel busses. I
read of another problem someone had with the matrix mixer that was
resolved by properly formatting all of the inputs. Since the Matrix
mixer seems to be more documented (matrix mixer in the examples) and
offers the potential of metering, I figured I would just try that. I
explicitly set the input and output formats of the matrix mixer as
well as the number of channels and busses. I also set all of the
volumes and it worked fine. I guess it could be something with the
setup of the stereo mixer. I couldn't find an example that used it.
Do you explicitly have to set the formats for the stereo mixer? What
I don't understand is why adding my effect, post mixer seemed to cause
problems for the graph. Using the matrix mixer I did not do any
format configuration for my visualizer effect unit.
Is there somewhere that outlines the proper rules for setting up the
mixers? I found Doug's AUAudioFilePlayer cheat sheet that was a big
help for the file player. Is there something akin for mixers?
While I have a solution, my engineering side doesn't like it when
things don't work and definitely want to know what may be wrong. Is
there any reason to use the stereo mixer over the matrix mixer? How
much additional overhead is there for the matrix one?
-Josh
On Jun 5, 2009, at 8:46 PM, William Stewart wrote:
What are your input and output formats on each connection in the two
cases you describe?
CAShow(myGraph) might help you to resolve this too.
On Jun 4, 2009, at 2:12 PM, Joshua Strickon wrote:
I am still debugging getting my host app for an augraph working for
my visulizer audio unit. The unit does the fft in the Render
method just like the Sonogram View Demo. I have a simple test
program that builds a network with a synth or fileplayer just as
you would in AULab.
The following works
<synth/fileplayer> --> <visualizer> --> <default output>
The following does not
<synth/fileplayer> --> <stereomixer> --> <visualizer> --> <default
output>
When I comment out the render method and simply copy the samples
from input to output in the Process method, it all works. Seems
something about how the AU gets its data. Any ideas? Again, this
all works in AULab so I have a feeling it is doing something to the
mixer.
If someone can point me in the right direction it will be
appreciated.
Thanks
Josh
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@apple.com
This email sent to email@hidden
_______________________________________________
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