Table Of Contents

Previous topic

Pianoroll drawing and formatting

Next topic

Formatting options

This Page

Pianoroll limits options

Limits params can be use to limit a piano roll by setting start date / end date and lower pitch / higher pitch (see the C/C++ library documentation)

Options

  • startDate:

    date is expressed as a rational value

    default value: “0/0” (start date is the score start date)

  • endDate:

    date is expressed as a rational value

    default value: “0/0” (end date is the score end date)

  • lowPitch:

    a int value to control the lower pitch expressed in midi notation.

    default value: -1 (score minimal pitch)

  • highPitch:

    a int value to control the higher pitch expressed in midi notation.

    default value: -1 (score maximal pitch)

Example:

Using jQuery:

$.get('http://guido.server.org/XXX/pianoroll?startDate="2/4"&endDate="12/1"');

Internals

The layout options correspond to the LimitParams data structure.