Hi ,
I wanted to know which would be the best way to modify sounds that are initiated from dialogue system. My game has menu to change music, sfx volume as I use a sound manager. So I just need some way or code that I can use to tell DialogueSystem to play audio at 'x' volume.
Thanks.
Nishant
Modifying Sounds that are played using AudioWait / Audio
Re: Modifying Sounds that are played using AudioWait / Audio
Hi Nishant,
If you're using sequencer commands such as Audio() to play sounds, specify a subject that has an Audio Source component. Otherwise the command will create a default Audio Source. You can optionally configure the Audio Source to play through an Audio Mixer group.
In your sound manager, update the Audio Mixer group (if you're using one) or the subject's Audio Source volume. Using an Audio Mixer group is the easiest way to control multiple Audio Sources.
If you're using Dark Tonic's Master Audio as your sound manager, use the Master Audio sequencer commands.
If you're using sequencer commands such as Audio() to play sounds, specify a subject that has an Audio Source component. Otherwise the command will create a default Audio Source. You can optionally configure the Audio Source to play through an Audio Mixer group.
In your sound manager, update the Audio Mixer group (if you're using one) or the subject's Audio Source volume. Using an Audio Mixer group is the easiest way to control multiple Audio Sources.
If you're using Dark Tonic's Master Audio as your sound manager, use the Master Audio sequencer commands.
Re: Modifying Sounds that are played using AudioWait / Audio
Perfect ... that fixed it ..
Thanks
Thanks
Re: Modifying Sounds that are played using AudioWait / Audio
Hi ,
After recent updates I found out one problem with this. Am not sure if this issue existed before . As I am using an external Audio Source, it plays at a volume given at that source and it works most of the times. Issue arises when I have set the volume to 0. Only under this case does the audio source's volume somehow gets set to 1. Any ideas on how this can be fixed?
Thanks.
Nishant
After recent updates I found out one problem with this. Am not sure if this issue existed before . As I am using an external Audio Source, it plays at a volume given at that source and it works most of the times. Issue arises when I have set the volume to 0. Only under this case does the audio source's volume somehow gets set to 1. Any ideas on how this can be fixed?
Thanks.
Nishant
Re: Modifying Sounds that are played using AudioWait / Audio
Hi Nishant,
This existed before, but I will change it in the next version (1.5.9). Currently, if the Audio Source's volume is to set 0, the sequencer will set it to 1 when playing the audio clip. In the next version, it will not adjust the volume. If you need a patch before 1.5.9 is release, please let me know.
This existed before, but I will change it in the next version (1.5.9). Currently, if the Audio Source's volume is to set 0, the sequencer will set it to 1 when playing the audio clip. In the next version, it will not adjust the volume. If you need a patch before 1.5.9 is release, please let me know.
Re: Modifying Sounds that are played using AudioWait / Audio
Oh ok
Its not a high priority bug so I can wait till next release.
Thanks
Its not a high priority bug so I can wait till next release.
Thanks