(bind-func static delay_mc_c
(lambda (channels:i64 max_delay)
(let ((dlines:[SAMPLE,SAMPLE,SAMPLE,SAMPLE]** (alloc channels))
(i:i64 0))
(dotimes (i channels) (pset! dlines i (delay_c max_delay)))
(lambda (chan:i64 x wet feedback)
((pref dlines chan) x wet feedback)))))