public void loadWave(String name, String location, int concurrent) {
		
		SoundWave wave = null;
		URL waveLocation = Thread.currentThread().getContextClassLoader().getResource(location);
		        
        if (waveLocation != null) {
            try {
            	wave = new SoundWave(waveLocation, concurrent);
			} catch (SoundFileException e) {
				System.err.println("Could not find sound file " + location);
			} catch (SoundSystemUnavailableException e) {
				System.err.println("Wave not available");
			}
        }
           
        if (wave != null) {
        	this.waves.put(name, wave);        
        }
	}