8000 GitHub - zmx0142857/jianpu: Simple music markup language
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

zmx0142857/jianpu

< 8000 button data-component="IconButton" type="button" aria-haspopup="true" aria-expanded="false" tabindex="0" class="prc-Button-ButtonBase-c50BI prc-Button-IconButton-szpyj" data-loading="false" data-no-visuals="true" data-size="medium" data-variant="default" aria-describedby=":R75ab:-loading-announcement" aria-labelledby=":R3v5ab:" id=":R75ab:">

Repository files navigation

Jianpu

Simple music markup language.

Try live demo at: https://zmx0142857.github.io/jianpu

Quick start

$ cd jianpu
$ pnpm i       # install dependencies
$ pnpm build   # build jianpu.js

$ pnpm i -g serve     # install a local static server
$ serve -L -l 1234 &  # start server

Open browser at http://localhost:1234 and try it yourself!

Examples

This part is under construction...

title { "Some Music" }
author { "icouldfran" }
tone { "G" }
time { "4/4" }
bpm { "120" }

// this is a comment
main {
  (4'1') (4'1') (3'7) (3'7) |
  (4'1') (4'1') (3') 7. |
  (6'3') (6'3') (#5'3') (#5'3') |
  (6'3') (6'3') (#5') 3'. |
  (6'3') (6'3') (7'6') (3'1') |
  (6'3') (1'3') 6 (#567)_3 |
  (1'6) (1'6) (7#5)(7#5) |
  (1'6) (1'6) (7) #5. |
  (1'6) (1'6) (7#5) (2'1'7)_3 |
  (1'7) (6#5) 6 - |
}

Chords:

(<1,:3 b3,:2 5,:1> <4 6 1'>)

TODO

  • 1' ~ 6 弧线高度太低, 应该在 parser 中携带高度信息
  • 支持文字上下标

About

Simple music markup language

Resources

Stars

Watchers

Forks

Packages

No packages published
0