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