public GameSong(String file, float mg, float ft, float dur, GamePlayList gpl, boolean po) {
        try {
            filePath = file;
            maxGain = mg;
            audioDevice = FactoryRegistry.systemRegistry().createAudioDevice();
            fadeIn = null;
            fadeOut = null;
            fadeTime = ft;
            currentlyPlaying = false;
            playOnce = po;
            gamePlayList = gpl;
            duration = dur;
        } catch (Exception e) {
            EIError.debugMsg(e.getMessage());
        }
    }