🎵 简谱 → MIDI(纯前端)

填写歌名 Song title → 编辑简谱文本 → Play 试听 → Save Text 存编辑文件 → Export MIDI 输出 MIDI。

Rules (syntax reference)
  • Header: tempo=80; baseOct=4; key=Eb;
  • Notes: 1 2 3 4 5 6 7
  • Accidentals: #4, b7 (can combine: #4/, b7,//, #4/-, #4//~)
  • Rest: 0 (rests can have rhythm too: 0/, 0//, 0/-, 0//~)
  • Octave: 1. up one octave(高八度), 1, down one octave(低八度)
  • Rhythm base: x = 1 beat(一拍), x/ = 0.5 beat(半拍), x// = 0.25 beat(四分之一拍)
  • Dotted (legacy supported): x/- = 1.5 beats(一拍半) (also supports x//- = 0.75)
  • Additive rhythm (~): ~ means “add half of the duration immediately in front”~ 表示“加上前一个时值的一半”
    • x/~ = 0.5 + 0.25 = 0.75 beat(附点八分)
    • x~ or x-~ = 1 + 0.5 = 1.5 beats(一拍半)
    • x//~ = 0.25 + 0.125 = 0.375 beat(附点十六分)
  • Bar line: | visual only (ignored) 小节线(不是必须)
  • Tie / extend (standalone): a standalone - extends the previous note/rest by 1 beat (multiple dashes extend more)(延长一拍,可多个)
  • Key transposition: movable-do. key=Eb means 1 = Eb 选调