4. arithmetic

4.1. add

add adds two numbers together.

<<ugens-top>>=
(define (add x1 x2)
  (param x1)
  (param x2)
  (rvl "add"))

4.2. sub

sub subtracts two signals x1 - x2.

<<ugens-top>>=
(define (sub x1 x2)
  (param x1)
  (param x2)
  (rvl "sub"))

4.3. div

div divides two signals x1 / x2.

<<ugens-top>>=
(define (div x1 x2)
  (param x1)
  (param x2)
  (rvl "div"))

4.4. mul

mul multiplies two signals.

<<ugens-top>>=
(define (mul x1 x2)
  (param x1)
  (param x2)
  (rvl "mul"))



prev | home | next