static public void stop() {
		setStopFlag(true);
		if (mp3 != null)
			mp3.stop();
		mp3 = null;
		if (music != null)
			music.stop();
		music = null;
		if (musicType.equals("midi")) {
			if (sequencer == null)
				return;
			if (sequencer.isRunning())
				sequencer.stop();
			if (sequencer.isOpen())
				sequencer.close();
		}
	}