Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.29 KB

File metadata and controls

32 lines (19 loc) · 1.29 KB

Staves Typst Package

This Typst package is used to draw musical scales. (@preview/staves)

For now this is restricted to only one stave (set of lines). This package can be used to write arbitrary notes, but is not intended to be used for entire songs.

D Major Scale

G Minor Arpeggio

Custom Notes

Usage

See the ./docs folder.

Contributing

The code of the library is within src. (See src/README.md for implementation details.)

Documentation is written in docs/docs.typ, which is compiled to PDF and markdown by build-docs.sh.

SVGs of notes and clefs are in assets.

License Details

This library uses SVG images for clefs, accidentals etc. These files came from Wikipedia, and are in the public domain. They are not covered by the same license as the rest of the package. Source URLs for these SVGs are listed in #link("https://github.com/mdavis-xyz/staves-typst/tree/master/assets", /assets/README.md)