RandomAccessFile pipe = new java.io.RandomAccessFile(file , "rw"); inStream[i] = new java.io.FileInputStream( pipe.getFD() ); outStream[i] = new java.io.FileOutputStream( pipe.getFD() ); outStream[i] = new BufferedOutputStream(outStream[i] ,4100);
inStream[i]  = new java.io.FileInputStream(file); outStream[i] = new java.io.FileOutputStream(file); outStream[i] = new BufferedOutputStream(outStream[i], 4100);
	public LinuxMidiWrapper() throws Exception {		loadDeviceNames();		outStream = new OutputStream[midiDevList.size()];		inStream = new InputStream[midiDevList.size()];		System.out.println("LinuxMidiWrapper:static:Number of devices:"+midiDevList.size());		for (int i=0;i<midiDevList.size();i++) {			File file = new java.io.File( (String) midiDevList.get(i));			try {				RandomAccessFile pipe = new java.io.RandomAccessFile(file , "rw");				inStream[i] = new java.io.FileInputStream( pipe.getFD() );				outStream[i] = new java.io.FileOutputStream( pipe.getFD() );				outStream[i] = new BufferedOutputStream(outStream[i] ,4100);			} catch (Exception e) {				e.printStackTrace ();			}		}	}