Glitch shifter

Algorithm development and general DSP issues

Moderator: frank

Post Reply
Digital Larry
Posts: 279
Joined: Mon Nov 12, 2012 12:12 pm
Contact:

Glitch shifter

Post by Digital Larry » Fri Apr 10, 2015 9:34 am

OK this patch should probably be illegal, but I know that some people are in search of weird sounds that others might run from.

In this example, I have switched the position of the COMPC flag for the instructions that use the NA flag for doing cross fading. Now, instead of none of the glitches, you get all of the glitches, all of the time. Yes, it's sick.

Pot 0 controls the pitch shift up to + one octave.
Left in, left out

Code: Select all

;  Program: Patch  exported from SpinCAD Designer
;------ Pot 0
;------ Input
;------ Pitch_Shift
SKP RUN ,1
WLDR 0, 16384, 4096
LDAX ADCL
WRA 0,0.0
RDAX POT0,0.5000000000
WRAX RMP0_RATE,0.0000000000
CHO RDA,2,REG | COMPC,0
CHO RDA,2,0,1
WRA 4097,0.0
CHO RDA,2,COMPC | RPTR2,0
CHO RDA,2,RPTR2,1
CHO SOF,2,NA,0.0
CHO RDA,2,COMPC | NA,4097
WRAX REG0,0.0000000000
;------ Output
RDAX REG0,1.0000000000
WRAX DACL,0.0000000000

Post Reply