top of page
Screenshot (367).png

SUN

Interactive Music Player

Made with Unity (2019.4), SUN is an interactive music player, transforming a simple and calm ambiant music into an epic battle music. The music starts exactly 0.1 second after you press the "Start" button. That delay is set with PlayScheduled() using Unity's native audio engine's dspTime, for the purpose of leaving enough time for the music to correctly load – the music is not preloaded to reduce bandwidth usage on limited connections – and thus avoid any possible "click" sounds. The mute button, on the right, uses a snapshots transition to fade the music over 0.15 second to avoid making an obvious (and super annoying) "clik" sound. The upper slider controls a lively strings track, while the lower slider controls an epic brass and percussion track. Both sliders use weighted snapshots transitions to smooth the musical transitions and avoid having a music track popping out of nowhere, which would be wierd and awkward, especially in this case. Setting transition markers and adapting the code accordingly would easily allow instant (or semi-instant) musical transitions. It is the light effects that earned it its name.

bottom of page