[directmusic] using audiopath in scripts

  • From: A.Seebeck@xxxxxxxxxxx (Andreas Seebeck)
  • To: <directmusic@xxxxxxxxxxxxx>
  • Date: Mon, 5 May 2003 17:10:56 +0200

hi,
I would like to set the volume of a segment by setting an audiopath's volume
and playing it through that path, like this:

         ap.setvolume v
         sfxhit.play IsSecondary,ap

But how do I get an audiopath??? The help talks about creating it with
audiopathconfig.create, but I don't understand that. Where do I get an
audiopathconfig then?
Embedding an audiopath into the script and using that doesn't work either.

Any ideas?

Best wishes,

Andreas



Other related posts: