RDA possible to use buffer_begin + POT to change time?
Posted: Wed Jan 25, 2012 8:37 am
Hi,
I'm wondering if it is possible to use a POT entry to vary the time of a delay. I'm aware of the fact that we're talking about different formats S1.14/S1.9/S.10 but it would make my coding of a new echo emulation simpler.
The
was to use the delta,factor or even the buffer length as the variable but I'm 'in the woods' if a possibility exists that would work.
equ buflength 10000
mem echo buflength
;
equ dry_out reg0
equ wet_out reg1
;
equ factor 0.8
equ delta factor*buflength
;
;--------------- start ------------
rdax adcl,1.0
wrax dry_out,1.0 ; write the DRY to the right channel
wrax wet_out,1.0 ; keep wet before processing w&f
wra echo,0
;
rda echo+delta,1.0 ; get head timing and place result in acc, add base of delay to offset into delay (-0dB)
;
wrax dacl,0 ; wet out left
rdax dry_out,1.0 ; dry
wrax dacr,0 ;dry out right
;
;/eof/
Thanks
Piet
p.s. this minimized working template is based on an extensive example from Frank obtained when I started my projects . It's purposely minimized to focus only on the question raised.
I'm wondering if it is possible to use a POT entry to vary the time of a delay. I'm aware of the fact that we're talking about different formats S1.14/S1.9/S.10 but it would make my coding of a new echo emulation simpler.
The
equ buflength 10000
mem echo buflength
;
equ dry_out reg0
equ wet_out reg1
;
equ factor 0.8
equ delta factor*buflength
;
;--------------- start ------------
rdax adcl,1.0
wrax dry_out,1.0 ; write the DRY to the right channel
wrax wet_out,1.0 ; keep wet before processing w&f
wra echo,0
;
rda echo+delta,1.0 ; get head timing and place result in acc, add base of delay to offset into delay (-0dB)
;
wrax dacl,0 ; wet out left
rdax dry_out,1.0 ; dry
wrax dacr,0 ;dry out right
;
;/eof/
Thanks
Piet
p.s. this minimized working template is based on an extensive example from Frank obtained when I started my projects . It's purposely minimized to focus only on the question raised.