Initial commit: skills library
- 70 skills with code and documentation - Add .gitignore (ignore __pycache__, output/, temp/, venv/) - Clean up test intermediates and caches
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
# LilyPond 语法参考
|
||||
|
||||
## 基本结构
|
||||
|
||||
```lilypond
|
||||
\version "2.24.0"
|
||||
|
||||
\header {
|
||||
title = "歌曲标题"
|
||||
composer = "作曲家"
|
||||
}
|
||||
|
||||
global = {
|
||||
\key c \major % 调性
|
||||
\time 4/4 % 拍号
|
||||
\tempo 4 = 90 % 速度
|
||||
}
|
||||
|
||||
upper = \relative c' {
|
||||
\clef treble % 高音谱号
|
||||
c4 c g g | a a g2 |
|
||||
}
|
||||
|
||||
lower = \relative c {
|
||||
\clef bass % 低音谱号
|
||||
<c e g>4 <c e g> <g b d> <g b d> |
|
||||
}
|
||||
|
||||
\score {
|
||||
\new PianoStaff <<
|
||||
\new Staff = "upper" { \global \upper }
|
||||
\new Staff = "lower" { \global \lower }
|
||||
>>
|
||||
\layout { }
|
||||
}
|
||||
```
|
||||
|
||||
## 音符表示法
|
||||
|
||||
### 音高
|
||||
- `c` = C4 (中央C)
|
||||
- `c'` = C5 (高八度)
|
||||
- `c,` = C3 (低八度)
|
||||
|
||||
### 时值
|
||||
- `4` = 四分音符
|
||||
- `2` = 二分音符
|
||||
- `1` = 全音符
|
||||
- `8` = 八分音符
|
||||
|
||||
### 和弦
|
||||
- `<c e g>` = C大三和弦
|
||||
- `<g b d>` = G大三和弦
|
||||
|
||||
## 常用命令
|
||||
|
||||
- `\clef treble` - 高音谱号
|
||||
- `\clef bass` - 低音谱号
|
||||
- `\key c \major` - C大调
|
||||
- `\time 4/4` - 4/4拍
|
||||
- `\tempo 4 = 90` - 速度90 BPM
|
||||
- `\relative c'` - 相对音高标记
|
||||
|
||||
## 钢琴乐谱模板
|
||||
|
||||
完整的钢琴乐谱使用 `\new PianoStaff` 来创建大谱表,包含高音谱号(右手)和低音谱号(左手)两个声部。
|
||||
Reference in New Issue
Block a user