Installation

Table of contents

  1. sources
  2. compile command line utilites
    1. libMEI
    2. Cmake for Linux and FreeBSD
    3. macOS
  3. dynamic library
  4. plugin

sources

Get the sources from the qparse Inria GitLab repository, either by downloading a zip or git cloning with ssh

git clone git@gitlab.inria.fr:qparse/qparselib.git

or https

git clone https://gitlab.inria.fr/qparse/qparselib.git

compile command line utilites

Each of the following targets produces a command line utility, either for applying the quantization procedure or for the construction and management of automatas or transcription input.

  • squant Transcription of an input given by a text or a MIDI file wrt a given automaton (stored in a file and called schema). Various output possible, including MEI score file and quantized MIDI file.

  • equiv Enumeration of rhythm trees in a given schema language equivalent to a given sequence of (quantized) durations (Inter-Onset-Intervals).

  • schemas Utilities for the construction of schema and computation of weights.

  • midiutils Utilities for reading MIDI files and conversion to text format.

libMEI

in order to produce MEI scores, you will need the library libMEI - a C++ library for reading and writing MEI files.

The compilation of libMEI may halt due to the following error: error: dynamic exception specifications are deprecated in C++11 [-Werror=deprecated]

Inserting the following line ./libmei/CMakeLists.txt between lines 15 and 16 before running cmake will solve the problem.

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated")

Cmake for Linux and FreeBSD

To compile qparse targets on Linux or FreeBSD, use the following commands:

mkdir build; cd build
cmake ..
make [targets]

where [targets] is a list containing some of squant, equiv, schemas, and midiutil (see below for a description of the targets). In case targets is omitted, all above targets are produced.

macOS

The gitlab sources contain Xcode target that you can use to compile the project on macOS.

dynamic library

plugin