mute {name} ({slot value}*) {form}* [Macro]

Defines an algorithm that does not output events. A muted algorithm may be used in conjunction with sprout to create musical structure dynamically. Except for the lack of note class specification, macro syntax is identical to algorithm.

Example:

(mute hush (length 10)
  (vars (s (notes c4 fs c5 fs c6 fs in heap)))
  (setf rhythm (item (rhythms q e h in random)))
  (let ((o (item s)))
    (format t "~%Sprouting algorithm at ~S." time)
    (sprout
      (algorithm nil midi-note (start time length (between 20 50)
                                rhythm .1 duration .1
                                amplitude .5)
        (setf note (item (intervals 0 1 2 3 in random
                                    from o)))))))

See Also:

algorithm, generator, heap, merge, thread, Describing Music Algorithmically


Last Modified: 5-Mar-1998