|
Post by hedgehog on Sept 19, 2020 9:22:09 GMT
Hi, First thanks for this excellent asset for Unity, I have only scratched the surface of what it can do and finding it very useful. I have two problems which I am sure the solution is probably staring me in the face but cannot seem to come up with the solution. On every level of my game I would like the entire playlist to play whilst randomly selecting another song at the end of each song which I can do. However I would also like to have the current song to start to fade out at a set time close to the end eg 5-10 seconds before the end of the song and immediately start fading in the next song so both tracks play at same time whilst one fades out and the other fades in. I would also like the random selection to not repeat songs already played until every song in the list has been played. Apologies if this is something very obvious that I've missed, I can see the options to fade out and in at the end and beginning of tracks but not for them to overlap. Any advise or guidance would be really appreciated
|
|
|
Post by DarkTonic Dev on Sept 19, 2020 15:54:46 GMT
#1, you should be using crossfading the option. By default it's set to 3 seconds. You can set the "Master Crossfade Time" to somewhere between 5 and 10 seconds. That slider is at the top of the Master Audio Inspector. #2, random selection (shuffle) does not repeat a song unless you're also playing some songs non-randomly.
-Brian
|
|
|
Post by hedgehog on Sept 19, 2020 17:55:58 GMT
Excellent, Thanks Brian I will give that a try.
|
|
|
Post by DarkTonic Dev on Sept 19, 2020 18:01:13 GMT
Sure thing.
|
|
|
Post by hedgehog on Sept 19, 2020 18:58:30 GMT
Yep that was it, exactly what I wanted :-)
Thanks again for the quick support.
|
|
|
Post by DarkTonic Dev on Sept 19, 2020 19:53:55 GMT
Of course.
|
|