0
Fixed

Sound/Volume/Music using audio source (revisited)

Alienmadness 3 weeks ago in Game Creator updated by Marti (Lead Developer) 2 weeks ago 3

Hey Marti, not sure if you review questions,  you have already marked as answered.

(see https://support.gamecreator.io/communities/1/topics/118-sound-volume)

but the solution is not really a good one.  The process you outlined is not really a good process.  if i have 1 sound that needs 4 different volumes, i would need to create 4 different sound files with different volumes, increase game size and this seems inefficient.  this is why Unity has Audio Source's.  pushing the sound through an audio source allows you to change volumes independently.  and use 1 source file for different volumes.  is there any way that the sound system can be revisited?  maybe either have an option to assign an audio source to a Game Creator category (Music, sounds, voices) or have an action that will send it to a audio source, with the correct category assigned?

Hope this makes sense. Thanks

Unity version:
unity 2019.3
Game Creator version:
1.0.2

Answer

Answer
Fixed

Hi. We've rebuild the entire audio manager to accommodate the option to add local volume to each individual sound effect played. This means that the Play Sound, Play Sound 3D and Play Music have an additional field called Volume, which ranges from zero to one.

Moreover, we've added a new master volume option that allows to have fine grain control over the rest of the audio nodes. The hierarchy is as follows: Master Volume controls the overall volume of all audio clips. Music, Sound and Voice volume controls allow to control the volume of each audio type independently. On top of that, each audio clip can have its own volume.


I'm marking this issue as resolved, as this issue has been fixed. The upcoming Game Creator 1.0.4 will come with these new options. If there's any question or something doesn't work as it should, feel free to comment down and we'll reopen the ticket.

Cheers!

Planned

Hi Alienmadness. Despite a topic being closed, simply answer and I'll reopen them. I tend to close them too early, sorry for that. Still getting used to this whole ticketing system.

Regarding your audio issue, Game Creator follows a very simplistic approach for audio and up until now, it's been working great. However, what you mention makes sense, and wouldn't hurt to have a volume slider in the "Play Sound" action that gets multiplied by the global sound effect volume.

I'll open a ticket and circle back to this. Should be easy to implement (I think).

+1

Thanks for revisiting this.. much appreciated.

Answer
Fixed

Hi. We've rebuild the entire audio manager to accommodate the option to add local volume to each individual sound effect played. This means that the Play Sound, Play Sound 3D and Play Music have an additional field called Volume, which ranges from zero to one.

Moreover, we've added a new master volume option that allows to have fine grain control over the rest of the audio nodes. The hierarchy is as follows: Master Volume controls the overall volume of all audio clips. Music, Sound and Voice volume controls allow to control the volume of each audio type independently. On top of that, each audio clip can have its own volume.


I'm marking this issue as resolved, as this issue has been fixed. The upcoming Game Creator 1.0.4 will come with these new options. If there's any question or something doesn't work as it should, feel free to comment down and we'll reopen the ticket.

Cheers!