public ISound createSound(String path) {
		if(getExtension(path).equals("wav")) {
			return new SoundWAV(path);
		}
		
		else if (getExtension(path).equals("mid")){
			return new SoundMidi(path);
		}

		else {
			return null;
		}
	}