@Override
    public void playbackStarted(PlaybackEvent playbackEvent) {
        try {
            if (fadeTime > 0.0f && fadeIn == null) {
                stopFadeIn();
                stopFadeOut();
                setVolume(getMinGain());
                if(gamePlayList != null) {
                    if(gamePlayList.getLastSong() != this) {
                        fadeIn = new GameMusicFade(this, (maxGain+getMinGain())/2, maxGain, fadeTime, 0.0f);
                    }
                }
                fadeOut = new GameMusicFade(this, maxGain, (maxGain+getMinGain())/2, fadeTime, duration-fadeTime);
            } else {
                setVolume(maxGain);
            }
        } catch (Exception e) {
            EIError.debugMsg(e.getMessage());
        }
    }