1. Melos是什么?

Melos是一个易学易用, 功能丰富, 以文本方式绘制吉他谱的软件.

2. 快速上手

2.1. 第一步: 安装

访问 Melos 的首页 https://melos.sapling.ink, 点击下载按钮下载并安装 Melos.

2.2. 第二步: 编写乐谱

打开 Melos, 然后在左侧编辑器中输入如下文本格式的乐谱.

title="小星星"
key=C
time=4/4

attribute left="1=C 4/4" right="编谱: maks"
attribute right="制谱: maks"

tabstave step=20
notes | :8 $chord.C$ C/5323 $chord.C$ C/5323
notes | :8 $chord.F$ C/4323 $chord.C$ C/4323
notes | :8 $chord.F$ C/4323 $chord.C$ C/4323
pitchs 1155 | 665- | 4433
lyrics 一闪一闪亮晶晶x 满天都是

tabstave step=20
notes | :8 $chord.G$ C/6323 $chord.C$ C/5323
pitchs 221-
lyrics 小星星

2.3. 第三步: 渲染乐谱

每次修改完左侧的乐谱后, 点击顶部的渲染按钮, 就可以预览乐谱的渲染效果.

第二步的乐谱渲染后效果如下图所示:

小星星

2.4. 第四步: 导出

乐谱编写完成后, 就可以点击顶部的导出按钮, 将乐谱以Pdf格式导出.

2.5. 结束

好了, 你已经学会使用 Melos 打谱软件了, 自己写一个乐谱试试吧.

3. 使用教程

3.1. 第一步: 乐谱行

tabstave 关键字用于创建乐谱行, 下面是乐谱和渲染后的效果

title="小星星"
key=C
time=4/4

attribute left="1=C 4/4" right="编谱: maks"
attribute right="制谱: maks"

tabstave
tabstave

3.2. 第二步: 添加一些音符

chord 关键字用于添加和弦. 和弦可以用 $chord.和弦$ 的方式表示, 如 $chord.C$$chord.Em$ 分别表示 C和弦Em和弦 被按下.

notes 关键字用于添加音符. 音符可以用 C/弦号品级/弦号 的方式表示, 其中 C/弦号 用于表示和弦被按下时的音符. 为了表示同一个和弦被按下时应该依次拨响的琴弦, 可以用 C/弦号弦号弦号弦号 的方式书写音符.

:4:8:16:32 等关键字用于说明后续所有音符的时长. 附点音符可以通过在上述关键字后加字符 d 表示, 如 :4d:8d 分别表示四分附点音符和八分附点音符.

下面是乐谱和渲染后的效果:

title="小星星"
key=C
time=4/4

attribute left="1=C 4/4" right="编谱: maks"
attribute right="制谱: maks"

tabstave step=18
notes | :8 $chord.C$ C/5323 $chord.C$ 3/5 C/32 0/3
notes | :8 $chord.F$ :8d C/4 :16 C/3 C/2323 $chord.C$ :8 C/3234
notes

3.3. 第三步: 添加一些简谱

pitchs 关键字用于添加简谱, 和弦主要由数字进行表示.

音高用数字表示, 如果要升调或降调可以通过添加符号 ud 表示, 如 3 表示 C4, 3u 表示 C5, 3uu 表示 C6, 3d 表示 C3 等.

时长用小括号表示, 由于这首小星星的 time=4/4, 一份也就是 1/4, 是四分音符. 所以, 3 表示四分音符的 C4, (3) 表示八分音符的 C4, ((3)) 表示十六分音符的 C4.

下面是乐谱和渲染后的效果:

title="小星星"
key=C
time=4/4

attribute left="1=C 4/4" right="编谱: maks"
attribute right="制谱: maks"

tabstave step=20
notes | :8 $chord.C$ C/5323 $chord.C$ C/5323
notes | :8 $chord.F$ C/4323 $chord.C$ C/4323
notes | :8 $chord.F$ C/4323 $chord.C$ C/4323
pitchs 1(1(11)) 5u 5uu | 6d65- | 443(33)
pitchs

3.4. 第四步: 添加一些歌词

lyrics 关键字用于添加歌词. x 符号用于对歌词进行对齐.

下面是乐谱和渲染后的效果:

title="小星星"
key=C
time=4/4

attribute left="1=C 4/4" right="编谱: maks"
attribute right="制谱: maks"

tabstave step=20
notes | :8 $chord.C$ C/5323 $chord.C$ C/5323
notes | :8 $chord.F$ C/4323 $chord.C$ C/4323
notes | :8 $chord.F$ C/4323 $chord.C$ C/4323
pitchs 1(1(11)) 5u 5uu | 6d65- | 443(33)
lyrics 一闪一闪亮晶晶x 满天都是小星星
lyrics 挂在天上放光明x 好像许多小眼睛
lyrics

3.5. 第五步: 完整示例

title="南方姑娘"
key=C
time=4/4

attribute left="1 = F 4/4" center="弹唱 完整版" right="原唱 赵雷"
attribute left="变调夹夹五品 速度 = 60" right="编谱 maks"
attribute right="选用C调指法"

// == 第一小节 ==

tabstave
notes | :16 $chord.C$ C/5434 C/5434 C/5434 C/5434
notes | :16 $chord.Em$ C/5434 C/5434 C/5434 C/5434
notes | :16 $chord.Am$ C/5434 C/5434 C/5434 C/5434

pitchs 0000
pitchs | 0000
pitchs | 0000

tabstave
notes | :16 $chord.G$ C/6434 C/6434 C/6434 C/6434
notes | :16 $chord.C$ C/5432 C/5432 C/5432 C/5432
notes | :16 $chord.Em$ C/5432 C/5432 C/5432 C/5432
pitchs 0000
pitchs | 1u - (0(71u)) ((2u1u75))
pitchs | 3 - - (75)
lyrics xxxx | 啦xx啦啦 啦啦啦啦 | 啦xx啦啦

tabstave
notes | :16 $chord.Am$ C/5432 C/5432 C/5432 C/5432
notes | :16 $chord.G$ C/6432 C/6432 C/6432 C/6432
notes | :16 $chord.C$ C/5432 C/5432 C/5432 C/5432
pitchs 6 - (0(67)) ((1u767))
pitchs | 5 - - (0(1u7))
pitchs | 1u - (0(71u)) ((2u1u75))
lyrics 啦xx啦啦 啦啦啦啦 | 啦xxx啦啦 | 啦xx啦啦 啦啦啦啦

tabstave
notes | :16 $chord.Em$ C/5432 C/5432 C/5432 C/5432
notes | :16 $chord.Am$ C/5432 C/5432 C/5432 C/5432
notes | :16 $chord.G$ C/6432 C/6432 :8 $text."琶31"$ (C/3.C/2.C/1) $space.3$
pitchs 3 - - (75) | 6 - (0(67)) ((1u765)) | 2u - - -
lyrics 啦xx啦啦 | 啦xx啦啦 啦啦啦啦 | 啦xxx

// == 第二小节 ==

tabstave
notes | :16 $chord.C$ C/5432 C/5432 $chord.G$ C/6432 C/6432
notes | :16 $chord.Am$ C/5432 C/5432 $chord.Em$ C/6432 C/1234
notes | :16 $chord.F$ C/6432 C/6432 $chord.C$ C/5432 C/5432

pitchs ||: ((3)3(3)) ((5653)) ((0222)) ((5)5.)
pitchs | (1(16d)) ((1)5(3^)) 3^ (0.(5d))
pitchs | ((6d)6d(6d)) ((1216d)) ((5d)5d(5d)) ((3321))
lyrics 北方的 村庄xx x住x着 一个 |  南方x 的姑娘 x x 她 | 总是喜 欢穿x着 带花的 裙子x站
lyrics 南方的 小镇xx x阴雨的 冬天 | 没有x 北方冷 x x 她 | 不需要 臃肿x的 棉衣去 遮盖x她
lyrics 昨日的 雨曾xx x淋漓过 她x |  瘦弱x 的肩膀 x x x |  夜空的 北斗x也 没有让 她找x到

pagebreak

tabstave
notes | :16 $chord.Dm7$ C/4321 C/4321 $chord.G$ C/6432 C/1234
notes | :16 $chord.C$ C/5432 C/5432 $chord.G$ C/6432 C/6432
notes | :16 $chord.Am$ C/5432 C/5432 $chord.Em$ C/6432 C/1234

pitchs (2(21)) ((6d)3(2^)) 2^ -
pitchs | (0(33)) ((5)5(5)) ((2222)) ((5555))
pitchs | ((1116d)) ((1)5(3^)) 3^ (0.(5))

lyrics xxx 在路旁 xx | x她的 话不多 x但笑起 来是那么 | 平x静x x优雅 xx她
lyrics 似水x 的面容 xx | x她在 来去的 街头留下 影子芳香 | 在回眸人 的心头 xxx
lyrics 迷途x 的方向 xx | x阳光 里她在 院子xx 中x央x | 晾x晒x 着衣裳 xx在

tabstave
notes | :16 $chord.F$ C/6432 C/6432 $chord.C$ C/5432 C/5432
notes | :16 $chord.Dm7$ C/4321 $chord.G$ C/6432
notes | :16 $chord.C$ C/5432 C/3 C/4 :8 (3/2.0/3) $text."重复"$ (1/2.0/3.3/5) $space.3$
notes | :16 $chord.C$ C/543 3/2 C/5432 C/543 3/2 C/543 0/2
pitchs | ((6d)6d(6d)) ((1)1(5d^)) ((5d^)5d(5d)) ((1)1(1))
pitchs | ((03)2) ((06d11))
pitchs | 1 - - -
pitchs | 1 - - -
lyrics 柔弱的 眼神里 装的是 什么是 x思念 x的忧伤
lyrics 眨眼的 时间芳 x香已 飘散x x影子 x已不见
lyrics 四季的 风中她 x散着 头发x x安慰 x着时光

// == 第三小节 ==

tabstave
notes | :16 $chord.F$ C/6432 $chord.G$ C/643 3/2 $chord.C$ C/5432 C/5432
notes | :16 $chord.F$ C/6432 $chord.G$ C/643 3/2 $chord.C$ C/5432 C/543 0/2
notes | :16 $chord.F$ C/6432 $chord.G$ C/643 3/2 $chord.C$ C/5432 C/5432
pitchs 6d (1(53^)) 3^ (0.(5d))
pitchs | ((6d111)) ((16d5d5^)) ((5^)3.^) 3^
pitchs | 6d (1(53^)) 3^ (0(5d5d))
lyrics 南 方姑娘x x你 是否习惯 北方的秋 x凉x 南方姑娘 xxx你
lyrics 南 方姑娘x x你 是否爱上 了北x方xxx 南方姑娘 xx你说

tabstave
notes | :16 $chord.F$ C/6432 C/6432 :8 C/2y $space.3$
notes | :16 $chord.G$ C/6432 C/643 3/2 C/6432 C/6432
notes | :16 $chord.C$ C/5432 C/5432 $chord.G$ C/6432 C/6432
pitchs ((6d111)) (10) (0(11)) ((16d32^))
pitchs | 2^-00
pitchs | (1u.(5^)) (5^(55)) ((6765^)) (5^(55))
lyrics 是否喜欢 北xx方x 人的直爽 xxxx 日子x过得 就xx像 x那些
lyrics 今天你就 要xx回到 你的家乡 xxxx 思念x让人 心xx伤 它呼唤

tabstave
notes | :16 $chord.F$ C/6432 $chord.G$ C/643 3/2 $chord.C$ C/5432 3/1 C/234
notes | :16 $chord.C$ C/5432 C/5432 $chord.Em$ C/5432 C/5432
notes | :16 $chord.F$ C/6432 $chord.G$ C/643 3/2 $chord.C$ C/5432 C/543 0/2
pitchs (11) ((1)5(3^)) 3^ - | (0.(1)) ((1u)5(6^)) ((6^)5(5^)) (5^(55)) | (6d1) ((1)2(1^)) 1^ (3(21))
lyrics 不眠 的晚上 xx x她嚼着口x香糖x对墙漫谈着理想x 哎哎x
lyrics 着你 的泪光 xx x南方的果子已熟那是最简单的理想 xxxx

pagebreak

tabstave
notes | :16 $chord.F$ C/6432 $chord.G$ C/643 3/2 $chord.C$ C/5431 t:16:3h:32:5p:32:3s:16:1/2 0/2
notes | :16 $chord.F$ C/6432 $chord.G$ C/643 3/2 $chord.C$ C/5432 C/543 0/2
notes | :16 $chord.F$ C/6432 $chord.G$ C/643 3/2 $chord.C$ C/5431 t:16:3h:32:5p:32:3s:16:1/2 0/2
pitchs 6d (1(53^)) 3 (0^(5d5d))
pitchs | ((6d116d)) ((5d)5(3^)) 3^ -
pitchs | 6d (1(53^)) 3^ (0(55))
lyrics 南方姑娘 xx我们 都在忍受着漫长 xx 南方姑娘 xx是不

tabstave
notes | :16 $chord.F$ C/6432 C/6432 C/6432 C/6432
notes | :16 $chord.G$ C/6432 C/6432 :8d C/1 $space.2$ t:16:1p:16:0/2
notes | :16 $chord.C$ (C/5.C/2) C/432 C/5432 C/5432 :8 3/2 1/2
pitchs ((6d111)) ((1)1.) 0 ((16d32^)) | 2^ - 0 ((1)2.) | 1u - - (2u1u)
lyrics 是高楼遮住了x你的希望 xxx哎嘿 xxxxx

tabstave step=9
notes | :16 $chord.Em$ (C/5.C/2) C/432 C/5432 C/5432 :8 1/2 0/2
notes | :16 $chord.F$ (C/6.C/3) C/543 C/6543 C/6543 :8 0/2 2/3
notes | :16 $chord.G$ (C/6.C/3) C/432 C/6432 C/6432 :8 C/2y :16 0/1 3/2
notes | :16 $chord.C$ (C/5.C/1) C/432 C/5432 C/5432 :8 3/1 5/1
pitchs 7-- (1u7) | 6-- (76) | 5-- (0(3u2u)) | 3u-- (5u6u)

tabstave step=9
notes | :16 $chord.Em$ (C/5.C/2) C/432 C/5432 C/5432 :8 1/2 0/2
notes | :16 $chord.F$ (C/6.C/3) C/543 C/6543 C/6543 :8 0/2 2/3
notes | :16 $chord.G$ (C/6.3/2) C/543 C/6543 :8 $text."琶31"$ (C/3.C/2.C/1) $space.3$
notes | :16 $chord.F$ C/6432 $chord.G$ C/643 3/2 $chord.C$ C/5431 t:16:3h:32:5p:32:3s:16:1/2 0/2
pitchs 7-- (1u7) | 6-- (76) | 2u--- | 6d ((1)5(3^)) 3^ -

3.6. 结束

好了, 你已经掌握 Melos 的语法了, 自己写一个乐谱试试吧.