;; same example as above but using the new osc_c oscillator abstraction
(bind-func dsp
(let ((osc1 (osc_c 0.0))
(osc2 (osc_c 0.0)))
(lambda (in:SAMPLE time:i64 channel:i64 data:SAMPLE*)
(cond ((= channel 1) (osc1 0.5 200.0))
((= channel 0) (osc2 0.5 210.0))
(else 0.0)))))