amiika / ziffers

Numbered musical notation for composing algorithmic and generative melodies
MIT License
81 stars 5 forks source link

Change rest character from 0 to r and degrees from 0..9 #18

Closed amiika closed 5 years ago

amiika commented 5 years ago

Use of 0 causes problems with generative sequences and lsystems. Mathematical operations causes unwanted rests in the generated music. Changing 0 to r (as in lilypond syntax) would fix that, but in the same time degrees would change from 1..9 to 0..9.

1..9 is traditionally used as degree numbers in numbered notations but 0..9 is also used in musical set theory. All an all 0..9 notation for degrees (0=1, 1=2, 2=... ) can be confusing but in the same time it's more usable as computable notation.

amiika commented 5 years ago

Changed 0 to r. Added zero-based notation as optional feature.