amiika / ziffers

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

Syntax for harmony notes #3

Closed amiika closed 5 years ago

amiika commented 5 years ago

Create syntax for creating harmonies. Harmonies can be done by creating two simultanious lines, but it could be useful to create speficic syntax that plays difference from current degree.

1_3 = 1 and down by 3 1^3 =1 and up by 3 0_3 = rest and down from 1 by 3

For example in Adeste fideles like:

q 1_3 | h 1_3 q 0_2 1_3 | h 2_3 0_3 | ...

amiika commented 5 years ago

Added zharmony function that can be used to find good sounding harmony notes:

zharmony "|:q1231:|:q34h5:|@:e5654q31:|:q1-5+h1:@|", harmony: 4

or

zharmony "|:q1231:|:q34h5:|@:e5654q31:|:q1-5+h1:@|", harmony: -4

amiika commented 5 years ago

Closing this. Lately i'v been paying with automated melodic inversions, which is another way to add harmonies to a melody. Adding inverse and offset parameters to next version.