Table Of Contents

Previous topic

Getting the Keyboard width

Next topic

MIDI File options

This Page

MIDI rendering

MIDI file export is available from the ar2midifile path and may use optional export parameters.

Path
ScoreID/ar2midifile
Response body
  • in case of success:
    a MIDI file.
  • in case of error:
    An error message formatted as JSON with ‘Error’ as key.
    Example: { "ScoreID" : {"Error" : "incorrect score ID."} }
Response code
  • 200 (“Success”)
  • 404 (“Not Found”) in case of incorrect score ID.

Example

Using jQuery:

$.get('http://guido.server.org/XXX/ar2midifile');

Internals

The ar2midifile request corresponds to the GuidoAR2MIDIFile C/C++ API.