Re: AUTimePitch and AUGraph
Re: AUTimePitch and AUGraph
- Subject: Re: AUTimePitch and AUGraph
- From: William Stewart <email@hidden>
- Date: Tue, 3 Jun 2008 19:52:47 -0700
Oh right...
Yes the problem is that each time pitch is dramatically distorting the
time line and music player attaches to the output unit. So you are
rendering time for a particular output time slice, but adding time
pitches can dramatically change what time means. If you could file a
bug about this that would be great. As we should look at this
situation and see if there's a better way to resolve the problem.
If you aren't using a music player, then you don't have the timing/
scheduling issues, so there is no problem about adding mulitple time
pitch audio units (just as you describe below) - the graph you have
below is very easily recreated in AU Lab.
Bill
On Jun 3, 2008, at 6:51 PM, Brian Whitman wrote:
It's been a while but here's my mail from 4/16/06, has something to
do with musicplayer:
---
...This is especially confusing in the ancillary case of having
another ScheduledSoundPlayer and AUTimePitch format converter in the
graph:
ScheduledSoundPlayer0 -> AUTimePitch0 -> matrixMixer -> output
ScheduledSoundPlayer1 -> AUTimePitch1 -> ^
Anytime I schedule a time stretch rate on either unit, the other
player (whose time stretch rate now differs) will stop playing, most
likely connected to the problem above. Is having two separate tmpt
units supported in a graph?
---
I think you responded back then and suggested the subgraph, which
has been working fine since.
On Jun 3, 2008, at 8:55 PM, William Stewart wrote:
On Jun 3, 2008, at 2:38 PM, Brian Whitman wrote:
On Jun 3, 2008, at 4:11 PM, Ashley Allen wrote:
I'm currently searching the email archives for usage of
AUTimePitch. Are there any coding examples? I'm working with
AUGraph, AUFilePlayer(s) and AUStereoMixer units. I'd like to
insert AUTimePitch in my graph to dynamically beat match samples
loaded into the file player units.
A subject near to my heart. I can't give you code examples but a
brief overview: make a subgraph for each fileplayer/soundplayer ->
AUTimePitch you need, and then the main graph can have each
subgraph with a mixer at the output. You can't have multiple
timepitch (or any format converter) units in the same subgraph.
I don't know why you need a subgraph. In AULab (which uses AUGraph)
you can have multiple time pitches and multiple file players all
working together just fine. What problem did you run up against
with this?
Use the MusicPlayer to schedule the time stretch changes. Set the
quality somewhere between high and low :)
_______________________________________________
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
_______________________________________________
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