Upload a local file
get_upload_linkA one-off URL to upload a local file to and have it recognised, for when the file
is on the user's machine and this server is remote. Run the returned command in a
shell on that machine (with the file's path in place of FILE): it uploads the file,
waits for the recognition (seconds to minutes) and prints its summary with id.
Then use get_musicxml, describe_score etc. with that id. The URL works once, within
15 minutes; for another file ask for another link. Not for a file attached to the
chat: pass that to recognize_sheet_music as attachment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | merged (default) or collection (a songbook, one MusicXML per number) | |
| pages | No | PDF pages to recognize, e.g. '3' or '3-5' | |
| 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 | |
| filename | No | the file's name, e.g. '06.pdf' | |
| labels_key | No | with labels movable-do, degrees or kalimba: the key they count from, e.g. 'E minor'; default: read off the music |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||