public GameSound(String name, String path) {
		super(name);

		InputStream clipStream = GameSound.class.getResourceAsStream(path);
		logger.info(clipStream);
		clip = loadAudioClip(clipStream);

		// FloatControl master_gain = (FloatControl)
		// clip.getControl(FloatControl.Type.MASTER_GAIN);
		// master_gain.setValue(0f);

		// updateClipVolume(clip);
		// logger.info(clip.getControls()[0]);

		// Initialise all of the fields
		masterGainSupported = clip.isControlSupported(FloatControl.Type.MASTER_GAIN);
		panSupported = clip.isControlSupported(FloatControl.Type.PAN);

		if (masterGainSupported) {
			masterGainControl = (FloatControl) clip.getControl(FloatControl.Type.MASTER_GAIN);
			minimumVolume = masterGainControl.getMinimum();
			volumeRange = masterGainControl.getMaximum() - minimumVolume;
		}

		if (panSupported) {
			panControl = (FloatControl) clip.getControl(FloatControl.Type.PAN);
		}

		// Start the volume at 0.6f for some reason
		setVolume(1f);
	}