public void loadMidi(String name, String location) {
		
		SoundMidi midi = null;
		URL midiLocation = Thread.currentThread().getContextClassLoader().getResource(location);
		        
        if (midiLocation != null) {
            try {
            	midi = new SoundMidi(midiLocation);
			} catch (SoundFileException e) {
				System.err.println("Could not find sound file " + location);
			} catch (SoundSystemUnavailableException e) {
				System.err.println("Midi not available");
			}
        }
        
        if (midi != null) {
        	this.midis.put(name, midi);
        }
        
        midi.setVolume(0.5);
	}