Processing Sequence

EXPLANATION OF THIS SECTION

This section provides an overview of each of the major processing steps performed by jSymbolic during exectution and feature extraction, in the order that they occur.

JSYMBOLIC'S PROCESSING SEQUENCE

  1. Parse command line arguments (this is done implicity with no command line arguments if jSymbolic is run by double clicking its jSymbolic.jar file).
    1. Command line arguments are checked for validity. If they are not valid, then an error is generated, proper usage is printed out to standard error and processing is terminated.
    2. The GUI is launched if no command line arguments are specified, or if ones are specified indicating that the GUI should be run.
  2. Verify that all features, including new ones, have been properly added to jSymbolic. Warning messages will be printed to standard error if any potential problems are detected, along with an indication of severity of each potential problem.
  3. Parse a configuration settings file.
    1. If the user specifies a particular configuration settings file path at run-time, then the file at that location is parsed and validated. If no such valid configuration file can be found, then an error is generated, proper usage is printed out to standard error and processing is terminated.
    2. If no configuration settings file is specified at run-time, then jSymbolic looks for one in the same folder as the jSymbolic.jar file with the file name jSymbolicDefaultConfigs.txt. If no such file exists, or if it is not a valid jSymbolic configuration settings file, then jSymbolic is run with hard-coded default settings.
  4. Process specified MIDI and/or MEI symbolic music files.
    1. The specified symbolic file(s) or all files in the specified directory are parsed one-by-one.
      1. Any files that are not valid compatible parsible symbolic music files are logged and then passed over.
      2. An error is generated and execution is terminated if no valid compatible symbolic music files are found.
    2. Break each symbolic music file into analysis windows with the specified duration and overlap, if this option is selected by the user.
    3. Features are extracted from each parsed symbolic music file (or its analysis windows, if this option is selected by the user) one-by-one.
      1. MIDI files have all selected features extracted from them (except MEI-specific features).
      2. Each MEI file has all selected MEI-specific features extracted from it. It is also converted to a MIDI stream, and all other features are then extracted from this MIDI stream.
    4. If a problem occurs while processing an individual file, then this problem is logged and execution continues to the next file.
  5. Format and save selected output files.
    1. All extracted features are always saved in an ACE XML 1.1 Feature Values file.
    2. Feature metadata is alwasy saved in an ACE XML 1.1 Feature Definitions file.
    3. Features are saved in a Weka ARFF file if this option is selected by the user.
    4. Features are saved in a CSV text file if this option is selected by the user.

-top of page-