I made a Nyquist version of TB_Time machine

I made a Nyquist version of TB_Time machine it took me like 4 hours because i was new to nyquist programming language it was complex to me but it did it here’s the code:

;nyquist plug-in
;type process
;name “BitCrusher”
;control bit “Bits” int “Bit” 1 1 64
;control sample “sample rate” int “Hz” 8000 20 44100

(setq q-t (quantize track bit))
(setq d-a(resample (force-srate sample q-t) sound-srate))
(force-srate sound-srate (resample d-a sample))

it has the crisp aliasing that time machine has (AD, DA aliasing) configs are only sample rate and quantization (bits), thats all, i think.

DOWNLOAD:

BitCrusher.ny (292 Bytes)