[CM] clm delay offset for tap?

andersvi at notam02.no andersvi at notam02.no
Wed Sep 28 02:45:11 PDT 2016


Hi Bill, others.

I'm confused about (positive) offset argument to tap.

Negative offsets yields perhaps expected results, but positive offsets
starts pulling values from what seems an odd offset into the line.

(set! (*s7* 'print-length) 20)

(define d1 (make-delay 10))

(do ((i 0 (+ 1 i)))
    ((= i 10))
  (delay d1 i))

(mus-data d1)
=> (float-vector 0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0)

(tap d1)
=> 0.0
(tap d1 1)
=> 5.0
(tap d1 -1)
=> 1.0

(map (lambda (i) (tap d1 i)) '(0 1 2 3 4 5 6 7 8 9))
=> (0.0 5.0 4.0 3.0 2.0 1.0 0.0 9.0 8.0 7.0)

(map (lambda (i) (tap d1 i)) '(-0 -1 -2 -3 -4 -5 -6 -7 -8 -9))
=> (0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0)

Thanks for all help and guidance.

-anders



More information about the Cmdist mailing list