src/core/preprocess/ReadMIDI.java
public HashMap<Integer, HashMap<Integer, MMatrix>> readFile(String fileName) throws InvalidMidiDataException, IOException, MatrixException {
        ArrayList<String> fileNames = new ArrayList<>();
        fileNames.add(fileName);
        return readFile(fileNames, 1, false, true, 25);
    }
/**
     * Reads and encodes MIDI file.
     *
     * @param fileName file name
     * @return encoded MIDI file
     * @throws InvalidMidiDataException if opening file fails throws exception.
     * @throws IOException if opening file fails throws exception.
     * @throws MatrixException throws exception if matrix operation fails.
     */
Reads and encodes MIDI file.

@param fileName file name
@return encoded MIDI file
@throws InvalidMidiDataException if opening file fails throws exception.
@throws IOException if opening file fails throws exception.
@throws MatrixException throws exception if matrix operation fails.
Reads and encodes MIDI file . @param fileName file name @return encoded MIDI file @throws InvalidMidiDataException if opening file fails throws exception . @throws IOException if opening file fails throws exception . @throws MatrixException throws exception if matrix operation fails .
public HashMap<Integer, HashMap<Integer, MMatrix>> readFile(String fileName) throws InvalidMidiDataException, IOException, MatrixException {
        ArrayList<String> fileNames = new ArrayList<>();
        fileNames.add(fileName);
        return readFile(fileNames, 1, false, true, 25);
    }
public HashMap < Integer , HashMap < Integer , MMatrix > > readFile ( String fileName ) throws InvalidMidiDataException , IOException , MatrixException { ArrayList < String > fileNames = new ArrayList < > ( ) ; fileNames . add ( fileName ) ; return readFile ( fileNames , 1 , false , true , 25 ) ; }
Reads and encodes MIDI file.
Reads and encodes MIDI file .