Song title — shown in the preview header and PDF title block.
{artist: …} / {a:}
Artist or band name in the header.
{key: …} / {k:}
Musical key — appears as a meta chip; transposes with the song.
{capo: N}
Capo fret — pairs with the capo slider; shapes reflect capo position.
{tempo: N} · {time: 4/4}
BPM and time signature — meta chips for rehearsal and print.
{comment: …} / {c:}
Performance note or instruction block (normal weight).
{comment_italic: …} / {ci:}
Italic comment — cues like “slow build” or “repeat 2×”.
{start_of_verse} … {end_of_verse}
Verse section — optional label; short forms {sov} / {eov}.
{start_of_chorus: Label} … {end_of_chorus}
Chorus section — custom label after the colon; {soc} / {eoc}.
[Chord]
Inline chord placed on the next word or syllable — core ChordPro syntax.
[(Chord)]
Optional chord — visible cue, transposes like a normal chord.
{start_of_grid} … {end_of_grid}
Bar grid for rhythm charts — | Am | G | . | cells per measure.
{np} · {cb}
Page break and column break — take effect in PDF export, not on-screen scroll.
{chord: Am}
Inline chord diagram drawn in the lyric flow at that spot.
和弦Pro 源代码示例
这些例子只显示便携式ChordPro源. Real Songbook Buddy 螢幕和 PDF 输出随您的应用程式布局,字体,页面和匯出設定而不同.
例 1 — 带元資料的 Verse 和合唱
典型的歌手-作曲家图:标题和标题中的关键,表演评论,然后用内线[和弦]进行诗歌和合唱部分.
和弦Pro 源码
{title: Morning Light}
{artist: Jane Doe}
{key: G}
{capo: 2}
{comment: Fingerpicking — capo shapes shown below.}
{start_of_verse}
[G]Walking by the [C]riverside at [G]dawn
[Em]Coffee in my [Am]hand, the [D]night is [G]gone
{end_of_verse}
{start_of_chorus: Chorus}
[C]Morning [G]light on [Em]open [Am]water
[C]Carry [G]me through [D]one more [G]day
{end_of_chorus}
例2——带网格和分页的带幅图
整个乐队的排练图:节奏和时间签名,内演的和弦格格,合唱歌词,然后QQ0⟧作为可移植的分页指令.
和弦Pro 源码
{title: Band Chart — 4/4 Groove}
{key: Am}
{tempo: 92}
{time: 4/4}
{comment_italic: Intro — drums build 4 bars}
{start_of_grid}
| Am | G | F | E |
| Am | . | . | . |
{end_of_grid}
{chorus}
[Am]Hold the [G]line, don't [F]let it [E]fade
[Am]We play it [G]live — no [F]masquer[E]ade
{np}
{start_of_block: Outro vamp}
[Am] [G] [F] [E]
{end_of_block}