Create iReal Pro chart
create_chartConstruct iReal Pro chord charts from structured measures or raw progression, save to disk library, and serve over LAN for import.
Instructions
Build an iReal Pro chord chart from structured measures (or a raw progression). Every measure is padded to a fixed cell width so iReal Pro wraps to exactly measuresPerLine measures per line (default 4). By default the chart is SAVED to the on-disk library and served by the standalone HTTP server (so it's reachable from other devices on the network). Returns a modern irealb:// import link, a legacy irealbook:// link, the served URLs, an ASCII layout preview, and validation warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | No | Tempo in BPM (optional). | |
| key | No | Key signature, e.g. "Bb" or "D-" for minor. Default "C". | |
| raw | No | Raw iReal Pro progression string (power users). Used verbatim; mutually exclusive with `measures`. | |
| save | No | Save to the library and serve over HTTP. Default true. Set false for a one-off (use preview_chart for pure iteration). | |
| slug | No | URL/file slug for the saved chart (defaults to a slug of the title). Reusing a slug overwrites. | |
| style | No | iReal Pro style, e.g. "Medium Swing". See list_styles. Default "Medium Swing". | |
| title | Yes | Song title. | |
| variant | No | Which reading this is. By convention chart every song twice: 'straight' (real transcription, not dumbed down) and 'embellished' (richer qualities/substitutions, SAME harmonic rhythm — no faster to play). Sets the slug suffix and a badge. | |
| composer | No | Composer "First Last" (reordered to "Last First" for sorting). | |
| measures | No | Structured measures (preferred). Mutually exclusive with `raw`. | |
| timeSignature | No | Default time signature "n/d". Default "4/4". | |
| outputHtmlPath | No | If set, also write a standalone HTML copy to this arbitrary path. | |
| measuresPerLine | No | Measures per line; padded so the app wraps consistently. Must divide 16. Default 4 (piano-reading sweet spot). | |
| reorderComposer | No | Reorder composer to "Last First" for sorting. Default true. Set false for band names (e.g. "Black Sabbath"). |