- Home /
Question by
fleischverpackung · Mar 28, 2016 at 12:23 AM ·
audiosourcemultiplevolumeloops
Crossfade between multiple loops with 3 audioSources ?
Hi all,
I have moving Objects that play different loops, depending on their velocity. I want to crossfade between the loops, like:
vel = 0; vol1 = 1, vol2 = 0, vol3 = 0
vel = 0.2; vol1 = 0.8, vol2 = 0.3, vol3 = 0
vel = 0.5; vol1 = 0.3, vol2 = 1, vol3 = 0.1 etc.
At the moment I use three audioSources, and control their 3 volumes. Is there a better way to do this?
Thanks!
Comment
Your answer
Follow this Question
Related Questions
child script and child source 1 Answer
Why is this AudioClip quieter 2nd time played? 0 Answers
Can't automate volume 0 Answers
Buzzing Audio 1 Answer
Dynamically assigning audio clips vs having multiple audio source components for each audio clip 0 Answers