3K room reverb help
Posted: Sat Dec 12, 2015 12:41 pm
Hi, after looking at the excellent 3k Room reverb program I am trying to alter it so that instead of having the pre delay pot control the delay it is just a set pre delay of 100ms or so, then into the reverb code.
The trouble is that every time I try and remove or replace the pot0 control, the pre delay disappears.
The code below is up to where it enters the reverb, a point in the right direction from someone who knows better would be a great help.
I have tried replacing the pot code with a register but that does not work
where predelk is an equ constant
I have also wrote a stand alone 100ms delay code which works fine but when I try to put it in with the reverb code I lose the delay as well. I'm a bit stumped here.
The trouble is that every time I try and remove or replace the pot0 control, the pre delay disappears.
The code below is up to where it enters the reverb, a point in the right direction from someone who knows better would be a great help.
Code: Select all
;prepare predelay pot:
rdax pot0,0.1 ;to 1/10th total delay (100ms)
and %01111110_00000000_00000000
wrax addr_ptr,0 ;write to memory pointer
;prepare decay pot:
rdax pot1,0.97 ;get pot, limit to less than infinite
wrax krt,1 ;write loop decay time
sof 0.4,0.6 ;scale to 0.6 to 1.0
wrax kirt,0 ;write impulse filter gains
sof -1,0.99 ;scale to decrease gain with RT
wrax gain,0 ;write gain factor
;prepare damping pot:
rdax pot2,-1
wrax kd,0 ;increases shelf to -1 (infinite loss)
;do inputs to predelay:
rdax adcl,0.5
rdax adcr,0.5 ;get inputs
mulx gain ;give greater gain to short RT
wra pdel,0
;read predelay and write initial response delay:
rmpa 1
rda iap0#,0.5
wrap iap0,-0.5 ;complicate input to initial delay
wrax temp,1
rdfx lf,0.4
wrhx lf,-1
mulx kd
rdax temp,1 ;low pass fiter entire input
wra idel,0 ;write initial sound delay
Code: Select all
;prepare predelay pot:
rdax pot0,0.1 ;to 1/10th total delay (100ms)
and %01111110_00000000_00000000
wrax addr_ptr,0 ;write to memory pointer
Code: Select all
;prepare predelay pot:
rdax predlk,0.1 ;to 1/10th total delay (100ms)
wrax addr_ptr,0 ;write to memory pointer
I have also wrote a stand alone 100ms delay code which works fine but when I try to put it in with the reverb code I lose the delay as well. I'm a bit stumped here.