Liking cljdoc? Tell your friends :D

Repeats

Notes, sequences and other types of events can be repeated any number of times, by simply appending * and a number. Putting whitespace between the event and the * is optional, as is putting whitespace between the * and the number of repeats.

For example:

piano:
  # repeating single notes
  c *4 c2 *2

  # repeating a sequence containing notes and an octave change
  [c8 d e >]*3

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close