new Howl({ src: [timeSong], loop: true, seek: 54, volume: 0, }); const playMusic = () => { id = audio.play(id); audio.fade(0, 1, 2000, id); }; fade(from, to, duration, [id]) from: Number Volume to fade from (0.0 to 1.0). to: Number Volume to fade to (0.0 to 1.0). duration: Number Time in milliseconds to fade. id: Number optional The sound ID. If none is passed, all sounds.