Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grandmoff100/wallaby
A tex-like markup language to generate music.
https://github.com/grandmoff100/wallaby
latex markup-language music music-composition
Last synced: 19 days ago
JSON representation
A tex-like markup language to generate music.
- Host: GitHub
- URL: https://github.com/grandmoff100/wallaby
- Owner: GrandMoff100
- Created: 2022-08-07T21:31:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-12T14:30:44.000Z (over 2 years ago)
- Last Synced: 2024-11-23T04:15:38.316Z (3 months ago)
- Topics: latex, markup-language, music, music-composition
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wallaby
A markup language that compiles to sound.
## Example
```latex
\tag{Artist}{Foobar}
\tag{Title}{A Winter Ball}
\tag{Year}{2018}\begin{stream} # Begin a synchronized stream
\begin{tempo}{60} # 60 bpm
\begin{timesignature}{4}{4}
\play{Ab}{2}{f} # Play an Ab on the default instrument (piano) for 2 counts at forte.
\begin{define}{mymotif} # Define a repeatable sequence
\begin{dynamic}{p} # Apply dynamic to the following notes
\play{C}{6}
\play{D}{2}
\play{E}{2}
\end{dynamic}
\end{define}
\mymotif{3} # play the motif 3 times
\end{timesignature}
\end{tempo}
\end{stream}
```