Spin Semiconductor Forum Index Spin Semiconductor
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

4-distortion crossfade plus flanger

 
Post new topic   Reply to topic    Spin Semiconductor Forum Index -> Algorithm development
View previous topic :: View next topic  
Author Message
Digital Larry



Joined: 12 Nov 2012
Posts: 274

PostPosted: Sat Jul 19, 2014 10:33 am    Post subject: 4-distortion crossfade plus flanger Reply with quote

This one has 4 "distortion" blocks:

Aliaser
Spin distortion
Octave fuzz (rectifier)
Spin Overdrive

Each one goes to an input of one of two 2-1 crossfades. These two crossfades go to another crossfade. The first two are controlled by one slow LFO, and the second one is controlled by a different slow LFO. The output fades between the 4 sounds in different ways.

I think you could figure out how to substitute other blocks for the ones I've chosen.

There's also flanger that uses the second LFO.

Pot 0 = LFO 1 speed
Pot 1 = LFO 2 speed
Pot 2= Flanger level

Code:
;  Program: Render Block exported from SpinCAD Designer
;------ Input
;------ Aliaser
RDAX REG0,1.0000000000
SOF 1.0000000000,-0.0150000000
SKP GEZ,3
RDAX ADCL,0.5000000000
WRAX REG1,0.0000000000
SOF 0.0000000000,0.5000000000
WRAX REG0,0.0000000000
;------ Distortion
SOF 0.0000000000,-1.0000000000
WRAX REG2,0.0000000000
RDAX ADCL,1.0000000000
SKP NEG,2
SOF 0.0000000000,0.9990000000
WRAX REG2,0.0000000000
LDAX 20
ABSA
WRAX REG3,1.0000000000
SOF 1.0000000000,-0.1250000000
SKP NEG,5
LDAX 35
LOG -1.0,-0.375
EXP 1.0,0.0
SOF -1.0000000000,0.2500000000
SKP RUN ,1
SOF 1.0000000000,0.1250000000
MULX REG2
SOF -2.0000000000,0.0000000000
SOF -2.0000000000,0.0000000000
WRAX REG4,0.0000000000
;------ Octave
RDAX ADCL,1.0000000000
ABSA
WRAX REG5,0.0000000000
;------ Pot 0
;------ LFO 0
SKP RUN ,1
WLDS 0,13,32767
RDAX POT0,0.0254403131
WRAX SIN0_RATE,0.0000000000
CHO RDAL,0
WRAX REG6,0.0000000000
CHO RDAL,8
WRAX REG7,0.0000000000
;------ Scale/Offset
RDAX REG6,1.0000000000
SOF 0.2000000000,0.0500000000
WRAX REG8,0.0000000000
;------ Crossfade
RDAX REG4,1.0000000000
RDAX REG1,-1.0000000000
MULX REG8
RDAX REG1,1.0000000000
WRAX REG9,0.0000000000
;------ Scale/Offset
RDAX REG7,1.0000000000
SOF 0.5000000000,0.5000000000
WRAX REG10,0.0000000000
;------ Pot 1
;------ LFO 1
SKP RUN ,1
WLDS 1,15,32767
RDAX POT1,0.0293542074
WRAX SIN1_RATE,0.0000000000
CHO RDAL,1
WRAX REG11,0.0000000000
CHO RDAL,9
WRAX REG12,0.0000000000
;------ Overdrive
RDAX ADCR,0.2500000000
SOF -2.0000000000,0.0000000000
RDAX REG16,0.3000000000
WRAX REG16,1.0000000000
SOF -2.0000000000,0.0000000000
RDAX REG13,0.7000000000
WRAX REG13,1.0000000000
RDAX REG14,-0.3000000000
WRAX REG14,0.3000000000
WRAX REG15,0.0000000000
;------ Scale/Offset
RDAX REG11,1.0000000000
SOF -0.2500000000,0.7500000000
WRAX REG17,0.0000000000
;------ Crossfade
RDAX REG15,1.0000000000
RDAX REG5,-1.0000000000
MULX REG10
RDAX REG5,1.0000000000
WRAX REG18,0.0000000000
;------ Control Mixer
RDAX REG8,1.0000000000
RDAX REG17,1.0000000000
WRAX REG19,0.0000000000
;------ Crossfade
RDAX REG18,1.0000000000
RDAX REG9,-1.0000000000
MULX REG17
RDAX REG9,1.0000000000
WRAX REG20,0.0000000000
;------ Pot 2
;------ Scale/Offset
RDAX POT2,1.0000000000
SOF 0.6600000000,0.3400000000
WRAX REG21,0.0000000000
;------ Servo Delay
RDAX REG20,1.0000000000
WRA 0,0.0
CLR
OR $007FFF00
MULX REG19
RDFX REG23,0.0012500000
WRAX REG23,1.0000000000
SOF 0.0199890137,0.0000305176
WRAX ADDR_PTR,0.0000000000
RMPA 1.0
WRAX REG22,0.0000000000
;------ Mixer 2-1
RDAX REG20,0.5000000000
WRAX REG24,0.0000000000
RDAX REG22,0.5000000000
MULX REG21
RDAX REG24,1.0000000000
WRAX REG24,0.0000000000
;------ Output
RDAX REG24,1.0000000000
WRAX DACL,0.0000000000
RDAX REG24,1.0000000000
WRAX DACR,0.0000000000
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Spin Semiconductor Forum Index -> Algorithm development All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group