amiika / ziffers

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

Change custom chord notation #12

Closed amiika closed 5 years ago

amiika commented 5 years ago

Custom chord syntax is too complex for string manipulation and lsystem,

Currently for example: {1,2,3}

Should be something like: 1,2,3

amiika commented 5 years ago

Alternatively could look into optimizing zero note length 'z': z123

This already works but is often out of sync.

amiika commented 5 years ago

Added new way of creating chords by grouping notes. Same feature also works with sample notation:

zplay "135 1 3 5 421 4 2 5 457 7 5 4 135", simultanious: true Or alternatively

  Ziffers.setSimultanious true

  zplay "|: q HB H BHS H :3| q BH B q SH H "*2,
  use: {
    B: :bd_tek,
    S: :drum_snare_soft,
    H: {sample: :drum_cymbal_closed, opts: {amp: 0.3}}
  }

  Ziffers.setSimultanious false