static public void list() {
		String[] available_inputs = availableInputs();
		String[] available_outputs = availableOutputs();
		String[] unavailable = unavailableDevices();
		
		if(available_inputs.length == 0 && available_outputs.length == 0 && unavailable.length == 0) return;
		
		System.out.println("\nAvailable MIDI Devices:");
		if(available_inputs.length != 0) {
			System.out.println("----------Input----------");
			for(int i = 0;i < available_inputs.length;i++) System.out.println("["+i+"] \""+available_inputs[i]+"\"");
		}
		if(available_outputs.length != 0) {
			System.out.println("----------Output----------");
			for(int i = 0;i < available_outputs.length;i++) System.out.println("["+i+"] \""+available_outputs[i]+"\"");
		}
		if(unavailable.length != 0) {
			System.out.println("----------Unavailable----------");
			for(int i = 0;i < unavailable.length;i++) System.out.println("["+i+"] \""+unavailable[i]+"\"");
		}
	}