2 second delay

Software questions and issues with the FV-1

Moderator: frank

livingston
Posts: 131
Joined: Sun Nov 15, 2009 3:37 pm
Location: New Orleans, LA US

Post by livingston »

Ha, wow this thing is fun. I popped a 4-pole filter before the delay and another one after it, and added feedback to get some repeats happening. The unfiltered sounds are nasty in a cool way, I think.

To implement:
-variable delay time
-stomp switch that starts recording, then on the second tap, it ends the recording and starts playing it back.

I'll post the code as I add features.
livingston
Posts: 131
Joined: Sun Nov 15, 2009 3:37 pm
Location: New Orleans, LA US

Post by livingston »

:arrow:
Last edited by livingston on Tue Jan 25, 2011 7:18 pm, edited 1 time in total.
Alex MAK
Posts: 89
Joined: Fri Nov 05, 2010 1:00 pm

Post by Alex MAK »

livingston For me this code did not begin to work. I tried to use him as well as any other code. Possibly are there cunnings?
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post by frank »

Tried it an it worked for me, dry and delayed signals both come out on right, try changing the last 2 lines from:

rdax adcr,.5
wrax dacr, 0

to:

wrax dacl,0
rdax adcr,.5
wrax dacr, 0

Which will put the delayed out left and the dry out right
Frank Thomson
Experimental Noize
access7777
Posts: 4
Joined: Mon Aug 19, 2013 2:28 am
Location: Ukraine
Contact:

Re: 2 second delay

Post by access7777 »

Ringo wrote:Hi folks,

is it possible to create a 2 second delay with the FV-1?
When yes, how can I create it?

Peace,

Ringo
IMHO
If the mono device is suits you,
the shortest and the simlpest way to do this - to send delayed signal from output of the left chanal to input of the right. Time POT will regulate the both
potul
Posts: 76
Joined: Tue Sep 26, 2017 12:33 am

Re: 2 second delay

Post by potul »

Let me revive this old thread....

Some months ago I was playing with the "8 seconds delay", and I tweaked it to work as a 2-seconds delay with feedback pot and delay pot, using standard clock. Here you have the result. It's a working 2-seconds delay with delay, feedback and mix controls.

I have also successfully modified it for tap tempo control.
It's also possible to add reverb and still keep about 1.3 seconds of delay.

It would benefit of some filtering to reduce the nasty effect of the reduced bandwidth, but I didn't add it yet.

Code: Select all

; 2 seconds delay using standard clock.
; 
; It inteleaves the signal effectively downsampling the delay line and doubling the delay time.
; Based on "8 seconds delay" by donstavely

;http://www.spinsemi.com/forum/viewtopic.php?f=3&t=129

equ   input   reg0 
equ   loop   reg1 
equ   temp   reg2 
equ   output   reg4 
equ   pot2fil  reg5
mem   delay   32767 

skp run, start
sof 0,0.99
wrax loop,0				;initial loop value
start:

ldax output				; load feedback from previous cycle
mulx pot0				;  back pot
rdax   adcl, 1			; mix with ADC
wrax   input, 0			;to be optimized, input register not needed

; If loop is positive THEN read an input sample and put it in the temp variable. 
rdax   loop, 1 
skp   neg, NotZro 
ldax   input 
wrax   temp, 0 
NotZro:
; Put the temp variable in the head-end of the delay. 
ldax   temp 
wra   delay, 0 
; Get a delayed sample out of the tail end of the delay, put it in the temp variable. This must be EVEN
ldax pot2			;read pot2. delay time
RDFX pot2fil,0.0001500000
WRAX pot2fil,1
and	0x7FFFF0 	
wrax addr_ptr,0
rmpa 1

wrax   temp, 0 
ldax   loop 
sof   -1, 0 		;invert loop
wrax   loop, 1 
; IF loop is positive, THEN write the temp variable to the output.

skp   neg, Done 
ldax   temp 
wrax   output, 0 
Done:
; Done, write output you really need to filter it again here 
ldax   output 
mulx pot1			;delay mix
rdax adcl,1			;adding dry signal
wrax   dacl, 0
Post Reply