[CM] [snd] Is there a way to add dc offset to a file?

anders.vinjar at bek.no anders.vinjar at bek.no
Mon Aug 24 11:54:57 PDT 2015


Hi John.

    J> Is there a simple way to add a constant dc value to every sample?

This will add 0.3 to every sample:

  (map-channel (lambda (y) (+ y 0.3)))

The same for the first 1000 samples:

  (map-channel (lambda (y) (+ y 0.3)) 0 1000)

Cheers,

-anders



More information about the Cmdist mailing list