Re: musictrack to aunode
Re: musictrack to aunode
- Subject: Re: musictrack to aunode
- From: Bill Stewart <email@hidden>
- Date: Thu, 30 May 2002 23:14:06 -0700
Extended control events are only defined to work with the extended control
message of the MusicDevice - so, firstly, you should be using a
ParameterEvent
You also have to make sure that the au node that you're addressing can react
to these events - I presume your graph's '1' node is such an audio unit?
Bill
on 30/5/02 3:37 PM, Jan Trutzschler wrote:
>
hello,
>
i'm trying to control some parameters of an audioUnit with a MusicPlayer.
>
both in c and java (src below) i couldnt get it working.
>
if i start the MusicPlayer, the AUGraph associated with the sequence
>
opens and runs, but it doesnt change any node's parameters.
>
>
has anyone successfully controlled parameters of an AudioUnit which is
>
not a dsl_musicdevice? (for example the filters?)
>
>
private synchronized void setupPlayer () {
>
try {
>
player = new MusicPlayer();
>
sequence = new MusicSequence();
>
myTrack = sequence.newTrack();
>
ExtendedControlEvent eventI = new ExtendedControlEvent(0,0,1000.0f);
>
myTrack.newExtendedControlEvent(1.0, eventI);
>
sequence.setAUGraph(myAUGraph);
>
myTrack.setDestNode(myAUGraph.getIndNode(1)); //setting a direct
>
reference to the node doesnt work either..
>
player.setSequence(sequence);
>
} catch (Exception e) {
>
e.printStackTrace();
>
}
>
>
>
jan
>
_______________________________________________
>
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.
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
"Thousands of years ago, cats were worshipped as gods. We have never
forgotten this."
__________________________________________________________________________
_______________________________________________
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.