slurmulon / bach

:musical_score: Semantic music notation
http://codebach.tech
MIT License
7 stars 0 forks source link

[Syntax] Element attributes #5

Closed slurmulon closed 6 years ago

slurmulon commented 6 years ago

Change

Introducing the attributes construct:

<key>: <value>

This construct allows users to provide arbitrary attributes to their Elements (Scale, Chord, Note, etc.)

This is useful for meta-descriptive info such as color, voicing, shape, and more.

Example

Chord('C2min7', color: #FF0000, voicing: 1)