musictrack to aunode
musictrack to aunode
- Subject: musictrack to aunode
- From: Jan Trutzschler <email@hidden>
- Date: Fri, 31 May 2002 00:37:35 +0200
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.