[directmusic] Re: Set Volume of individual Segments

  • From: "justin" <jlove@xxxxxxx>
  • To: <directmusic@xxxxxxxxxxxxx>
  • Date: Thu, 10 Apr 2003 09:19:36 -0700

You can set a music segments volume by grabbing the audio path interface
and then using it to set the new volume level.

I am busy now studying for an exam but I will send some code(C++) later,

Justin Love
University of Victoria

-----Original Message-----
From: directmusic-bounce@xxxxxxxxxxxxx
[mailto:directmusic-bounce@xxxxxxxxxxxxx] On Behalf Of
bjorn@xxxxxxxxxxxxxx
Sent: April 10, 2003 8:04 AM
To: directmusic@xxxxxxxxxxxxx
Subject: [directmusic] Re: Set Volume of individual Segments


Hi Andreas,

Nice to see you on this list. Was it my recommendation earlier that led
you to start exploring DirectMusic? :-) I hope so.

I don't know of a way to set a single volume value that is "global" for
the segment, but not "global" for the whole performance. If anybody else
knows, I'd be interested to find out this too.

Kind regards,
--
Bjorn Lynne
www.lynnemusic.com



>
> Hi,
>
> this is my first mail to this list, so this is to introduce myself:
>
> My name is Andreas Seebeck, I'm working for the Black Pencil
> Entertainment AG in Switzerland as Software Development Director.
> Among other things we are producing downloadable games (listed here:
> www.cueni.ch/blackpencil/blackpencil-downloads.html)
> I am not a composer, I'm using music and sound libraries and hire
> composers if necessary.
>
> Just starting with DMusic Producer, I am amazed by that powerful
> product. I try to implement both music and sound effects with dm, the
> programm calls script subs to start them like that:
>
> sub PlayIntro
>         intro.play
> end sub
>
> sub Throw
>         sfxslice.play IsSecondary
> end sub
>
> Now I'd like to be able to set the volume of a segment that I start
> (not the global volume setmastervolume). This is for implementing a
> seperate volume for effects and music. Is there an easy way to do
that?
>
> Thanks in advance,
> Andreas







Other related posts: