sampler-set-slot-offset   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm

Implementation

;; (sampler-set-slot-offset sampler 60 50000)
;; this would offset the sample at index 60 by 50000 samples
(define (sampler-set-slot-offset inst index offset)
  (if (cptr? inst)
      (set_sample_offset_ inst
                          (real->integer ,index)
                          (real->integer ,offset))))


Back to Index