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 

Attempt at Jonny Greedwood's Max MSP delay effect

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



Joined: 01 Feb 2011
Posts: 115

PostPosted: Sat Jun 11, 2011 7:44 am    Post subject: Attempt at Jonny Greedwood's Max MSP delay effect Reply with quote

Just for a laugh I thought I'd try and do something similar to Jonny Greenwood's Max MSP random delay effect. In case you've never heard of it here's a youtube clip of it in action http://www.youtube.com/watch?v=xyKCwDJ7ZUc

It's based on Franks record/play example here http://www.spinsemi.com/forum/viewtopic.php?t=20 with an LFO added to change it periodically from play to record.
It does a reasonably impression of Jonny's effect. The "randomness pot" doesn't really do what I want yet, ideally I'd like it control the amount of randomness in some way, needs some more thought.

Enjoy Smile

Code:
;pot 0 LFO speed
;pot 1 max delay time
;pot 2 randomness of delay time anticlockwise no randomness, clockwise max randomness

; Define delays
del   mem   32767

;set up registers
equ division reg0

;set up LFO, only at start up
skp run, START
wlds sin0,0,32767      ;sin0 used for LFO



START:

ldax pot0      ;sets LFO speed
mulx pot0      ;multiply it by its self a few time to get a nicer taper, needs work
mulx pot0
sof 175/511,0.2/511   ;set minimum and maximum rates
wrax sin0_rate,1      ;write to sin0 rate   
cho rdal,sin0      ;get sin0 value

skp   gez,play      ; If ACC is >=0 we are in playback mode so jump to play
rdax adcl,1      ;read adcl
and %000000000000000000011111      ;mask off upper bits leaving a random 5 bit number (32 possible values)
sof -2,0               ;apply gain to get it up to 0 - 1 ish levels
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
sof -2,0
absa      ;just to make sure it's positive
wrax division,0   ;write to division register

ldax   adcl      ;Read in ADC left
wra   del,1      ; Write to delay line
wrax   dacl,1      ;and to dacl
wrax   dacr,0     ;and to dacr   
skp   zro, end      ;Jump to end

; Play back mode
play:
ldax pot2
and %011111000000000000000000
mulx division
sof -1,0.999
mulx pot1   ;multiply by division, to give some random time up to max set by pot1
wrax addr_ptr,0   ;write to address pointer
rmpa 1      ;read from delay position set by addresss pointer
wra del,1   ;write to head of delay
wrax   dacl,1    ;Write it to dacl
wrax   dacr,0      ;Write it to dacr

end:
Back to top
View user's profile Send private message
frank



Joined: 19 Oct 2005
Posts: 958

PostPosted: Mon Jun 13, 2011 4:34 pm    Post subject: Reply with quote

Interesting, in the videos it almost sounds to me like it is a delay line and he is randomly selecting a starting location, number of times to loop and a random length (all values within some range that make sense). But never having the opportunity to examine this effect before it is a guess on my part.
_________________
Frank Thomson
Experimental Noize
Back to top
View user's profile Send private message Visit poster's website
sunfalls



Joined: 30 Oct 2015
Posts: 6

PostPosted: Thu Dec 03, 2015 1:10 pm    Post subject: Reply with quote

Hi, as i'm truly loving the GreenWood Delay fx...
I've noticed a serious Volume drop when turning my Zdsp Mix knob
from Dry to Wet..
Even at just 50% mix, theres a serious drop in Volume.

Is there a setting in the algorhythm which will allow for Gain adjustment in this area..

please assist!
Back to top
View user's profile Send private message
sunfalls



Joined: 30 Oct 2015
Posts: 6

PostPosted: Tue Dec 08, 2015 2:09 pm    Post subject: Reply with quote

no one.. please assist Sad

the dry to wet mix gain is seriously lacking in volume
Back to top
View user's profile Send private message
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