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-echo autofade

 
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: 266

PostPosted: Sun Jul 20, 2014 10:08 am    Post subject: 4-echo autofade Reply with quote

This one uses the same crossfade structure and LFOs as the 4-distortion patch. However, instead of distortions it mixes 4 different delays and then mixes them with the dry signal:

249 msec multi-tap
98 msec single tap
250 msec single delay with feedback
350 msec delay with feedback

It's a bit more subtle than the distortion patch.

[update, I found a bug in my MN3011a code, which I fixed last night Sunday July 20 2014]


Code:
;  Program: Render Block exported from SpinCAD Designer
;------ Input
;------ Pot 0
;------ Pot 2
;------ Feedback Output
;------ Servo Delay
RDAX ADCL,1.0000000000
WRA 0,0.0
CLR
OR $007FFF00
SOF 0.1349792480,0.0000305176
WRAX ADDR_PTR,0.0000000000
RMPA 1.0
WRAX REG1,0.0000000000
;------ MN3011a
RDAX ADCL,0.9000000000
WRA 4424,0.0
RDA 5238,0.5
RDA 5785,0.5
RDA 6880,0.5
RDA 7975,0.5
RDA 10164,0.5
RDA 11271,0.5
WRAX REG2,0.0000000000
RDA 11271,1.0
WRAX REG3,0.0000000000
;------ Mixer 2-1
RDAX ADCL,0.5000000000
WRAX REG4,0.0000000000
RDAX REG0,0.5000000000
RDAX REG4,1.0000000000
WRAX REG4,0.0000000000
;------ Servo Delay
RDAX REG4,1.0000000000
WRA 11272,0.0
CLR
OR $007FFF00
SOF 0.2500000000,0.3439636230
WRAX ADDR_PTR,0.0000000000
RMPA 1.0
WRAX REG5,0.0000000000
;------ FB In 2
RDAX REG5,0.7600000000
WRAX REG0,0.0000000000
;------ 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
;------ Scale/Offset
RDAX REG7,1.0000000000
SOF 0.5000000000,0.5000000000
WRAX REG9,0.0000000000
;------ Single Delay
RDAX ADCL,0.5000000000
WRAX REG12,0.0000000000
SOF 0.0000000000,0.4500000000
WRAX REG12,0.0000000000
SOF 0.0000000000,0.9990000000
SOF 0.3290000000,0.5939636230
WRAX ADDR_PTR,0.0000000000
RMPA 1.0
WRAX REG11,1.0000000000
MULX REG12
RDAX ADCL,0.5000000000
WRA 19465,0.0
RDAX REG11,1.0000000000
WRAX REG11,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 REG14,0.0000000000
CHO RDAL,9
WRAX REG15,0.0000000000
;------ Scale/Offset
RDAX REG14,1.0000000000
SOF -0.2500000000,0.7500000000
WRAX REG16,0.0000000000
;------ Crossfade
RDAX REG1,1.0000000000
RDAX REG2,-1.0000000000
MULX REG8
RDAX REG2,1.0000000000
WRAX REG17,0.0000000000
;------ Scale/Offset
RDAX POT2,1.0000000000
SOF 0.6600000000,0.3400000000
WRAX REG18,0.0000000000
;------ Crossfade
RDAX REG11,1.0000000000
RDAX REG5,-1.0000000000
MULX REG9
RDAX REG5,1.0000000000
WRAX REG19,0.0000000000
;------ Crossfade
RDAX REG19,1.0000000000
RDAX REG17,-1.0000000000
MULX REG16
RDAX REG17,1.0000000000
WRAX REG20,0.0000000000
;------ Servo Delay
RDAX REG20,1.0000000000
WRA 30246,0.0
CLR
OR $007FFF00
MULX REG16
RDFX REG22,0.0012500000
WRAX REG22,1.0000000000
SOF 0.0199890137,0.9229431152
WRAX ADDR_PTR,0.0000000000
RMPA 1.0
WRAX REG21,0.0000000000
;------ Mixer 3-1
RDAX ADCL,0.3333333333
WRAX REG23,0.0000000000
RDAX REG20,0.3333333333
RDAX REG23,1.0000000000
WRAX REG23,0.0000000000
RDAX REG21,0.3333333333
MULX REG18
RDAX REG23,1.0000000000
WRAX REG23,0.0000000000
;------ Output
RDAX REG23,1.0000000000
WRAX DACL,0.0000000000
RDAX REG23,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