Export PDF or PNG
export_scoreA short-lived link to the score engraved as sheet music to print or view: a PDF of every page, or PNG pages. Works on any recognition: the original, one from label_notes (its names are engraved under the notes), and optionally one part, transposed or labelled on the way. The score is laid out anew from the MusicXML, not drawn over the scan. Nothing is recognised again, no pages are charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | target key, e.g. 'G', 'Bb', 'F#m', 'E minor' | |
| file | No | collection mode only: which MusicXML of `files`, e.g. '003.musicxml' | |
| page | No | png only: this page; without it, a ZIP of every page | |
| part | No | only this part: id (P2), name (Alto) or number (2) | |
| paper | No | paper size | A4 |
| scale | No | size of the music in percent; smaller fits more on a page | |
| format | No | pdf (every page in one file) or png | |
| labels | No | write each note's name under it as a lyric line: letters (C♯, B♭), solfege-fixed (Do…Si, Do is always C), movable-do (Do is the tonic), degrees (1…7 of the scale, ♭3) or kalimba (the tines' numbers); default none | |
| semitones | No | semitones to move, e.g. -2 (a tone down), 5 | |
| labels_key | No | with labels movable-do, degrees or kalimba: the key they count from, e.g. 'E minor'; default: read off the music | |
| recognition_id | Yes | id returned by recognize_sheet_music, e.g. rec_… |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||