@code-blocks/music
v0.1.8
Published
Create music sheets from code blocks
Downloads
4
Readme
@code-blocks/music
Install
npm install @code-blocks/music
Use with rehype or eleventy. See how here.
Usage
This library uses abc.js under the hood. For more information about the syntax, checkout their website.
language: music-abc
X: 1
T: Cooley's
M: 4/4
L: 1/8
K: Emin
|:D2|"Em"EB{c}BA B2 EB|~B2 AB dBAG|\
"D"FDAD BDAD|FDAD dAFD|
"Em"EBBA B2 EB|B2 AB defg|\
"D"afe^c dBAF|"Em"DEFD E2:|
|:gf|"Em"eB B2 efge|eB B2 gedB|\
"D"A2 FA DAFA|A2 FA defg|
"Em"eB B2 eBgB|eB B2 defg|\
"D"afe^c dBAF|"Em"DEFD E2:|