• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
musictrack to aunode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: musictrack to aunode
      • From: Bill Stewart <email@hidden>
  • Prev by Date: Re: Stream/Device Latency
  • Next by Date: Stopping Audio from a converter data proc
  • Previous by thread: Re: Stream/Device Latency
  • Next by thread: Re: musictrack to aunode
  • Index(es):
    • Date
    • Thread