void stopSound() {
		try {
			if (midiPlayer != null)
				midiPlayer.stop();
			if (sampledAudioPlayer != null)
				sampledAudioPlayer.stop();
		} catch (Throwable t) { // in case the players have unexpected errors
			t.printStackTrace();
		}
	}