rectr   macro


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/runtime/scheme.xtm

Implementation

(macro (rectr args)
   (if (> (length args) 4)
       `(+ ,(caddr args) (* ,(cadddr args) (rect (* TWOPI (+ beat ,(cadr args)) ,(car (cddddr args))))))
       `(+ ,(cadr args) (* ,(caddr args) (rect (* TWOPI beat ,(cadddr args)))))))


Back to Index