| Author |
Message |
fredmerts
Joined: Jun 03, 2008 Posts: 7 Location: earth
|
Posted: Fri May 14, 2010 6:14 am Post subject:
Delay/reverb/echo |
 |
|
| Since we are utilizing square waves, has anyone used a D Flip Flop to create a delay/echo/reverb? I'm not sure it could be done, but after reading a bit about D Flip Flops, it seems possible. I'm an electronics newby so please be kind! |
|
|
Back to top
|
|
 |
Top Top

Joined: Feb 02, 2010 Posts: 266 Location: California
|
Posted: Fri May 14, 2010 11:07 am Post subject:
|
 |
|
I'm very interested to know as well. It seems that you could do a chorus type of effect at the least...
I am not sure about full on reverb because you need a decay to get a realistic reverb sound... Perhaps in combination with some sort of VCA you could get that type of effect, but it is a little bit hard for me to wrap my head around completely... or actually... now that I think about it, if you had several discreet stages of delay, each with increasingly higher value resistors to give lower amplitude, you could get something like that? I don't know how many stages of repeat you have to have to get reverb-like sounds...
this is an interesting page that sort of displays it what is going on in terms of the inputs and output:
http://www.sheffield.ac.uk/physics/teaching/phy107/dff.html
I often wonder about these sorts of things as well, because most of my ideas for lunetta-type devices come from having messed with the logic processing modules in the nord modular, which does include a logic delay module. I wonder how much of what you can do with logic processing in the nord modular can be replicated with cmos... it would seem most of it, but I don't know enough about cmos to say. |
|
|
Back to top
|
|
 |
fredmerts
Joined: Jun 03, 2008 Posts: 7 Location: earth
|
Posted: Fri May 14, 2010 11:59 am Post subject:
|
 |
|
| Ha! That's the very same page that got me thinking about a delay line. It would be cool to have a low budget, lofi echo to go with these circuits. I guess I have to get out my breadboard and try it sometime. |
|
|
Back to top
|
|
 |
electri-fire
Joined: Jul 26, 2006 Posts: 536 Location: Dordrecht NL
Audio files: 4
G2 patch files: 4
|
Posted: Sun May 16, 2010 5:22 pm Post subject:
|
 |
|
| fredmerts wrote: | | It would be cool to have a low budget, lofi echo to go with these circuits. I guess I have to get out my breadboard and try it sometime. |
The delay you get is always less than the clock cycle lenght. And though ne IC like 4013 has two D-flipflops, only one will do the delay. I mean putting the second in series wouldn't delay more as then the signal has been synchronized with the clock. So to get a significant delay you'd need a vast amount of D-flipflops, each with a slightly different clockspeed.
Use as a delay seems a daunting task, nicely lofi no doubt, but beyond low budget or practical.
But...
I do see use for a Pulse With Modulator.
When having just a slight difference in frequency between clock and Data the output would be a PWM'ed version of the input. Some gating of the clock, data and outputs along with mixing the diverse versions could be nice for pads or drones. A compact module could have a dual D-flipflop, two inputs, some Mickey Mouse Logic LEDs or diodes and a series of resistors to mix and weigh the outputs being the clock, the data, the PWM out and it's negative, and a suboctave of the PWM and the negative of that.
Erm, thinking for a 4013 dual D-flipflop, wich I don't even have . Ooh, I see I have some 40174 hex D-flipflops , no reversed outs, but I could give it a try with those.
Droffset, you have some D-flipflops installed, would this be working the way I imagine it would? |
|
|
Back to top
|
|
 |
Sam_Zen

Joined: Mar 08, 2008 Posts: 251 Location: NL
|
Posted: Wed May 19, 2010 7:50 pm Post subject:
|
 |
|
The pulse width modulation is the trick to get a delay.
The monostable multivibrator CD4098 is one.
Of course, as said, the width should stay within the width of the clockpulse,
otherwise it would skip.
A matter of triggering the next circuit with the 'falling edge' of the 4098. _________________ 0.618033988 |
|
|
Back to top
|
|
 |
slabman
Joined: Sep 01, 2005 Posts: 102 Location: UK
|
Posted: Thu May 20, 2010 7:00 am Post subject:
|
 |
|
| For an echo/delay, you'll need to clock the flip-flops, and each one will delay the incoming signal by one clock cycle. Let's say you have very lo-fi clock signal (thus sampling rate) of 6Khz. You'd need 1,500 flip flops to make a half-second delay. Analogue delay chips do something similar in the analogue domain and come in delay length from 1024 to 4096 steps. Digitally, it's more usual to have and ADC, RAM and a DAC. RAM chips are cheap. I think UK magazine Everyday Electronics published a DIY delay using a PIC chip as controller a couple of years ago. That design would be open to some experimentation |
|
|
Back to top
|
|
 |
|