amiika / ziffers

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

Add escape characters for channel and port #4

Closed amiika closed 5 years ago

amiika commented 5 years ago

Adding escape character for channels and ports. Usually using same port but channel could be useful to play chords in different sound / non blocking way.

"O1 i O2 1234" = Plays i chord in channel 1 and melody in channel 2 "Uport_1 123432 Uport_2 3242" = Plays melody in port_1 and then in port_2

List of current escape characters:

    'A': :amp,
    'E': :env_curve,
    'C': :attack, # Charge?
    'P': :pan,
    'D': :decay,
    'S': :sustain,
    'R': :release,
    'Z': :sleep, #Zzz
    'X': :chordSleep,
    'T': :pitch, # Tuning
    'K': :key,
    '~': :note_slide,
    '^': :chord_name,
    'i': :chord,
    'v': :chord,
    '%': :chordInvert