Author Topic: Volume Control  (Read 7052 times)

Exergist

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 405
  • Ride the lightning
Volume Control
« on: January 26, 2017, 03:46:57 PM »
This is a work in progress but it works perfectly fine in its current state. My methodology focuses on creating useful variables for storing stuff, organizing actual actions into "functions," and organizing actual commands into (you guessed it) "commands." The commands reference the functions which reference the variables. I'm no professional programmer, but this works for me. The number of derived commands can definitely be cut down if less spoken command flexibility is allowed.

Enjoy!

Exergist

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 405
  • Ride the lightning
Re: Volume Control
« Reply #1 on: May 04, 2017, 12:19:15 PM »
Updated to v1.7.1, mostly cleaned up commands by better leveraging audio tokens and Set Audio Level dialog

Exergist

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 405
  • Ride the lightning
Re: Volume Control
« Reply #2 on: May 23, 2017, 12:41:03 PM »
Updated to v1.7.6. Further cleanup, added some notes, added logic to handle situations where requested volume change is <0 or >100, reworked the "Reset Volume" command a bit. I think this is close to being the final revision for system volume control.

Enjoy!  :D

boadle

  • Guest
Re: Volume Control
« Reply #3 on: June 10, 2017, 09:17:29 AM »
Is there any way to adjust volume on a per audio clip volume, so that I could do some clever dynamic mixing of music?

Exergist

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 405
  • Ride the lightning
Re: Volume Control
« Reply #4 on: June 11, 2017, 09:55:16 AM »
So these commands are centered around changing the system volume. Within the "Play a Sound" command (see page 36 of the Help Document) you can specify the clip you want to play as well as the volume that you want that clip to play at.

Is that what you're talking about?