public Soundplayer(String path)
	{
		AudioInputStream ais;
		try
		{
			ais = AudioSystem.getAudioInputStream(getClass().getClassLoader().getResource(path));
			clip = AudioSystem.getClip();
			clip.open(ais);
			volume = (FloatControl) clip.getControl(FloatControl.Type.MASTER_GAIN);
		} catch(Exception e)
		{
			e.printStackTrace();
		}
	}