49. samphold

samphold is a sample-and-hold generator. It takes in an incoming signal sig and a trigger value trig. When trigtriggers, it will hold onto the current value of in until the next trigger.

<<ugens-top>>=
(define (samphold trig in)
  (param trig)
  (param in)
  (rvl "samphold"))



prev | home | next