I'm a beginner with programming DSP. I try simply to make a tremelo effect. So I began to use an external LFO and plug it in the VC-P1 input an multiply this signal by the left input signal. The code is:
Code: Select all
equ POT0fil reg0
ldax POT0 ;read pot0
rdfx POT0fil,0.01 ;filter the values
wrax POT0fil,0 ;write values filtered to register pot0fil and clear acc
rdax adcl,0.25 ; read left input values
mulx POT0fil ; multiply left input with POT0fil values
wrax dacl,0