A more practical SpinCAD example - fixed

Algorithm development and general DSP issues

Moderator: frank

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

A more practical SpinCAD example - fixed

Post by Digital Larry »

Here's a more practical preset chaining an adjustable overdrive, chorus, and the "minimum reverb" algorithm. Note that I use the Scale/Offset block to easily control the behavior of the other blocks. With only 3 controls there's a need to double things up and so being able to control multiple destinations with a single pot is really helpful!

Edit - added comma after RDA in CHO line.
Edit - Fixed LFO problem.

Image

Uploaded with ImageShack.us

First S/O block turns down the output of the overdrive block as the gain increases so that you get a pretty consistent level over the range of distortion.

S/O block #2 scales the width and rate of the chorus so that you can use one knob to get "more chorus" without getting seasick in the process.

S/O block #3 controls the maximum output of the reverb. If I let it go to 100% I'd never find my guitar in the resulting cavern.

Here's the code:

Code: Select all

RDAX 20,1.0
MULX 16
SOF -2.0,0.0
RDAX 33,0.3
WRAX 33,1.0
SOF -2.0,0.0
RDAX 34,0.7
WRAX 34,1.0
RDAX 35,-0.3
WRAX 35,0.3
WRAX 36,0.0
RDAX 17,1.0
SOF 0.15999999999999998,0.05
WRAX 37,0.0
RDAX 16,1.0
SOF -0.34,0.53
WRAX 38,0.0
RDAX 36,1.0
MULX 38
WRAX 40,0.0
CLR 
RDAX 40,1.0
WRAX 39,0.0
SKP RUN,1
WLDS 1,12,999
CLR 
RDAX 37,1.999
SOF 1.9999,0.0
SOF 0.002,0.0
RDAX 44,0.998
WRAX 44,0.0
RDAX 37,0.05
SOF 0.002,0.0
RDAX 42,0.998
WRAX 42,0.0
RDAX 17,1.0
MULX 17
MULX 17
SOF 0.3,0.01
WRAX 2,0.0
RDAX 17,1.0
SOF -0.5,0.999
WRAX 45,1.0
MULX 45
MULX 45
MULX 45
MULX 42
SOF 0.002,0.0
RDAX 43,0.998
WRAX 43,1.0
WRAX 3,0.0
RDAX 39,1.0
WRA 0,0.0
CHO RDA,1,06,1000
CHO RDA,1,00,1001
MULX 44
RDAX 39,1.0
WRAX 41,1.0
RDAX 41,0.5
SOF 0.002,0.0
RDAX 41,0.25
RDA 2123,0.325
WRAP 2001,-1.0
RDA 2427,0.325
WRAP 2124,-1.0
RDA 2981,0.325
WRAP 2428,-1.0
RDA 3904,0.325
WRAP 2982,-1.0
WRAX 46,1.0
RDA 23991,0.13
RDA 7728,-0.325
WRAP 3905,0.325
WRA 7729,1.99
RDAX 46,1.0
RDA 14241,0.13
RDA 18974,-0.325
WRAP 14242,0.325
WRA 18975,1.99
WRAX 47,0.0
RDAX 18,1.0
SOF 0.2,0.05
WRAX 48,0.0
RDAX 41,1.0
WRAX 50,0.0
RDAX 47,1.0
MULX 48
RDAX 50,1.0
WRAX 49,0.0
RDAX 49,1.0
WRAX 22,0.0
RDAX 49,1.0
WRAX 23,0.0
Post Reply