DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: benfox on April 06, 2006, 09:49:23 PM

Title: variable stuttering pedal
Post by: benfox on April 06, 2006, 09:49:23 PM
I'm searching someone who did this one.... http://www.geofex.com/FX_images/stutter.pdf  :icon_question:
Is it a simple tremolo or is it a really variable duty  cycle of stuttering ????
Title: Re: variable stuttering pedal
Post by: RLBJR65 on April 06, 2006, 10:04:38 PM
I've never built it but think it could be described as a choppy tremolo.
Try doing a search cause I'm sure I have seem this come up in previous thread(s).
Title: Re: variable stuttering pedal
Post by: R.G. on April 06, 2006, 10:23:17 PM
It is really a volume chopper, with a variable duty cycle. The amount of chop is variable.
Title: Re: variable stuttering pedal
Post by: John Lyons on April 07, 2006, 01:18:38 AM
I was hot to make this one a while back but got sidetracked. I started a PCB layout for it but haven't been back to finish it.
I don't think I've seen a thread about anyone here making it...I may be wrong.

R.G.
I know I've heard about making the speed of the EH Pulsar circuit faster and how you can get close to a ring modulated sound...I assume this is the case with this circuit..?  can you reccomend how to go about changing the speed to be able to chopp faster...or does the speed work fast as it is layed out now?

Title: Re: variable stuttering pedal
Post by: Transmogrifox on April 07, 2006, 05:29:10 AM
It would certainly sound interesting to do ring modulation with a variable duty cycle pulse--particularly if you were modulating the duty cycle with a separate LFO.  I have been wanting to try something of this nature for some time.  It's by no means unheard of in the DIY synth community. 
Title: Re: variable stuttering pedal
Post by: col on April 28, 2006, 02:58:22 AM
I built this and the effect is fantastic but I can't get rid of the ticking noise as mentioned in other threads on this forum. I don't know how to post links so unfortunately you'll have to do a search. For some reason the noise starts quite loud and diminishes with time as you leave the effect on. I have tried all the things mentioned on other posts but nothing has removed the ticking to a useable level for recording. For practice it's fine if a little annoying.
I have tried various caps on different parts of the circuit and none have made any difference withiout affecting the sound adversely. The silly thing is I dind't notice it before I boxed it up. When it was just on my test rig it sounded fine. Has anyone actually solved the problem on this circuit as apart from the tick it is superb!

Col
Title: Re: variable stuttering pedal
Post by: Processaurus on April 28, 2006, 03:32:49 AM
http://geofex.com/FX_images/stutter.pdf (http://geofex.com/FX_images/stutter.pdf)
If you right click the Geo links and say properties, it gives the URL.
Would a photo-FET be a good idea for this effect, to electrically isolate the audio section from the LFO?  I built it and it ticked badly too, even with a cap on the gate of the JFET to ground to slow down the transition from off to on.  The LFO design is great on its own, though.
Title: Re: variable stuttering pedal
Post by: gez on April 28, 2006, 04:48:35 AM
Trapezoid...no click stutter. :icon_wink:

One day I might be generous enough to post a schemo...
Title: Re: variable stuttering pedal
Post by: Paul Perry (Frostwave) on April 28, 2006, 08:16:55 AM
Quote from: gez on April 28, 2006, 04:48:35 AM
Trapezoid...no click stutter. :icon_wink:
One day I might be generous enough to post a schemo...

In the meantime, at the cost of some complexity, a 'slew limiter' circuit will convert a square to a trapezoid.
But if the question is just how to get a LFO that is flat topped, but doesn't have a vertical edge, then what about a triangle wave going to a grossly overdriven LM13700 or other OTA amp stage? First the triangle goes to a sine & then with more signal, the top flattens, you get a round shouldered square at some stage, could be OK?
Title: Re: variable stuttering pedal
Post by: gez on April 28, 2006, 08:42:34 AM
Quote from: Paul Perry (Frostwave) on April 28, 2006, 08:16:55 AMIn the meantime, at the cost of some complexity, a 'slew limiter' circuit will convert a square to a trapezoid.
But if the question is just how to get a LFO that is flat topped, but doesn't have a vertical edge, then what about a triangle wave going to a grossly overdriven LM13700 or other OTA amp stage? First the triangle goes to a sine & then with more signal, the top flattens, you get a round shouldered square at some stage, could be OK?

It's quite easy to do; I think what you proposed with the 'slew limiter' is where I'm comming from (though I prefer to think of it as an integrator stopped in its tracks).

Feed an OTA set up as a follower with your square, stick a cap at the output of the OTA (not it's buffer) and the output ramps up till the -ve input is same as +ve.  This gives you your trapezoid.  Adjusting the amplitude of the square (stop resistor and variable resistor from Square output to centre of bias divider) and you have variable depth.  You'd think that the feedback to the -ve input would cause distortion of the ramp up/down, but it doesn't (nothing that's visible/audible).

If you use half a LM13700 for the trapezoid shaping, the other half can be used for the modulation.  Might sound kamikaze, but if you provide separate ground paths for the square LFO and all bias resistors/cap etc associated with the trapezoid shaping circuit, it works out fine and click free.

No schematic, but all the info's there...can't get fairer than that!

Title: Re: variable stuttering pedal
Post by: Paul Perry (Frostwave) on April 29, 2006, 06:16:46 AM
Quote from: gez on April 28, 2006, 08:42:34 AM
No schematic, but all the info's there...can't get fairer than that!

Aw, c'mon Gez, where's the stripboard layout for me?? (seriously, I was wondering what to do with the other half of the LM13700.... DOH!)
Title: Re: variable stuttering pedal
Post by: R.G. on April 29, 2006, 11:34:28 AM
Try this one:
http://www.elecdesign.com/Articles/Index.cfm?ArticleID=6294 (http://www.elecdesign.com/Articles/Index.cfm?ArticleID=6294)
Title: Re: variable stuttering pedal
Post by: gez on April 29, 2006, 11:39:37 AM
RG, you're just showing off now!  :icon_lol:

I'll stick to my cheap and cheerful (read 'hack') way of doing things for now... :icon_redface:
Title: Re: variable stuttering pedal
Post by: R.G. on April 29, 2006, 12:04:34 PM
Hey - that's not mine, it's right out of a magazine.

I simm'ed it with a 2N5485 in shunt chopping, drain and source held to 5.1V on a zener and a 100K series res. Looks good, and very little feedthrough with 70mV signal

Bread board it will you?
Title: Re: variable stuttering pedal
Post by: gaussmarkov on April 29, 2006, 12:35:35 PM
Quote from: R.G. on April 29, 2006, 11:34:28 AM
Try this one:
http://www.elecdesign.com/Articles/Index.cfm?ArticleID=6294 (http://www.elecdesign.com/Articles/Index.cfm?ArticleID=6294)

:icon_cool:
Title: Re: variable stuttering pedal
Post by: gez on April 29, 2006, 02:16:50 PM
Quote from: R.G. on April 29, 2006, 12:04:34 PM
Hey - that's not mine, it's right out of a magazine.

Whoops, I don't know what happened there.  I must have accidentally clicked on one of those ad links as the thing I first saw was a microprocessor chip that limited slew, not the article you've just linked to.   :icon_confused:

Dr Who is about to start, so the article will have to wait for the moment!  :icon_biggrin:

Title: Re: variable stuttering pedal
Post by: gez on April 29, 2006, 03:40:28 PM
Quote from: R.G. on April 29, 2006, 12:04:34 PMI simm'ed it with a 2N5485 in shunt chopping, drain and source held to 5.1V on a zener and a 100K series res. Looks good, and very little feedthrough with 70mV signal

Bread board it will you?

Probably not, now that I've actually looked at the right link (sorry for the confusion  :icon_redface:).  It's a clever circuit, but what I outlined suits my needs better as I can use the other half of the LM13700 for modulation, there's none of the rounding off mentioned in the article, I can vary slope by varying Iabc and vary depth around a central (or off-centre) axis - this gives choppy trem as well as on/off stutter.   Apart from anything, I don't have a spare board free, sorry.

It's a really clever circuit though.  I think a suitable op-amp would have to be specified as the inputs get pulled to the rails.

Someone here should give it a go mind, I'm sure it would cure the click...

Title: Re: variable stuttering pedal
Post by: donald stringer on April 29, 2006, 07:01:53 PM
Would you put that circuit R G mentioned before the variable stuttering circuit.?
Title: Re: variable stuttering pedal
Post by: R.G. on April 29, 2006, 09:30:17 PM
QuoteWould you put that circuit R G mentioned before the variable stuttering circuit.?
It would be the voltage that drives the JFET gate. The PWM stuff would drive the slew rate limiter, and the slew rate limiter slows down the gate waveform until you can't hear transients.
Title: Re: variable stuttering pedal
Post by: gez on April 30, 2006, 06:31:54 AM
RG, can't promise anything, but I found a fix for the circuit I was working on so should be able to strip a board this afternoon.

I've downloaded your schemo and I think I've got some switching FETs somewhere.  I'll report back if I get it up and running.

Title: Re: variable stuttering pedal
Post by: R.G. on April 30, 2006, 08:11:01 AM
Hey - thanks!

I did get a chance to put your OTA limiter into the simulator last night. It works in simulation. I was getting feedthrough of 20mV peak, which would otherwise be a noticeable thump, but it was all slow ramps up and down, so that may work out fine.

I suspect that the JFET setup may just need the drive waveform DC level and peak to peak size tailored to the JFET to get rid of residual feedthrough.
Title: Re: variable stuttering pedal
Post by: R.G. on April 30, 2006, 11:28:07 AM
I messed with it a bit more on the simulator. It looks like using a series-shunt JFET switch instead of either one alone produces a major improvement of feedthrough regardless of the slowdown on the gate drives. Using two similar JFETs, one being driven on and one being driven off at the same time seems to cancel the charge injection.

One JFET is hooked up as a shunt switch on the input, drain to signal, source to reference voltage. The other is a series switch to the - input, drain to signal and source to - input. The + input of the following opamp is tied to Vref.

I got transients under 50uV. That's way better than real world will be, of course, but it's also way better than you need, as noise under 1mV is going to be pretty insignificant.

It's also better than I could get with OTAs in any hookup.

Slowing down the gate drive seemed to make no difference. What made a HUGE difference was imbalancing the gate drives. Different cap or resistor values on the gate drives made the residual noise jump by 10:1.
Title: Re: variable stuttering pedal
Post by: gez on April 30, 2006, 12:56:22 PM
Quote from: R.G. on April 30, 2006, 08:11:01 AM
I did get a chance to put your OTA limiter into the simulator last night. It works in simulation. I was getting feedthrough of 20mV peak, which would otherwise be a noticeable thump, but it was all slow ramps up and down, so that may work out fine.

It's possible to use quite gentle slopes without having a detrimental effect on the stutter, you'd be surprised.  I set the thing up with back of an envelope calculations then just tweaked the damn thing till the clicking went (it's noiseless now but, despite quite a gradual slope, sounds like on/off action).

Had a mixed afternoon.  I had bleed-through from the LFO despite being really careful with layout - and this was without the FET connected!  No amount of rail filtering/shifting of layout solved it; haven't had this problem in a long time...must be losing my touch...or your circuit's cursed!!  :icon_lol: Hooking up the FET did make things slightly worse, so that helped a little in deciding whether the trapezoid had some effect.

Ok, next problem was the circuit you linked to.  I was a bit concerned it would require something esoteric like an amp from the ICL76X1 series, so I tried a more common or garden variety to see how well it would fare.  Can't remember its code and I'm not about to check what it was as it now resides at the bottom of my rubbish bin - I think you can guess how well that experiment went!  I then came up with this shaper:

(http://hometown.aol.co.uk/Gezpaton/Trapezoid+shaper.GIF)

As you can see it's just an integrator set up to clip.  When the amp's output hits one of the rails and stops providing feedback, the diodes prevent the input being pulled to either rail, thus preventing damage.  It actually worked very well, but needs its own divider.  The slope is the max I could get away with for the range of PWM you've set things up for.  Ideally, I'd have preferred to reign in the PWM and make the slope a lot gentler.  The LFO could do with speeding up slightly too, though it's not too far off the mark. 

It made some difference when I hooked the trapezoid up to the FET, but just how much is difficult to tell because of the bleed through I already had (sigh).  I think your intuition about using more than one FET might be right though; in this set up I don't think slowing the ramp up/down is going to make too much difference...though it definitely works with OTAs. 
Title: Re: variable stuttering pedal
Post by: puretube on April 30, 2006, 05:22:07 PM
QuoteIt's possible to use quite gentle slopes without having a detrimental effect on the stutter, you'd be surprised.
agreed! the hundred percent (>80dB) on/off thing within a µS is near mojo...
(at least when playing 50% duty cycle)
:icon_wink:
Title: Re: variable stuttering pedal
Post by: gez on April 30, 2006, 05:27:27 PM
Quote from: puretube on April 30, 2006, 05:22:07 PM
(at least when playing 50% duty cycle)
:icon_wink:

Yeah, that's the clincher; deviation from 50:50 requires a steeper slope which is noisier.
Title: Re: variable stuttering pedal
Post by: puretube on April 30, 2006, 05:35:04 PM
noisier? - well, depends...  :icon_wink:

(supposed you mean: CV-noise, aka: bleedthrough).
Title: Re: variable stuttering pedal
Post by: gez on April 30, 2006, 05:39:27 PM
Quote from: puretube on April 30, 2006, 05:35:04 PM(supposed you mean: CV-noise, aka: bleedthrough).

Yeah, the ramp up/down is no longer slow enough that you can't hear it.
Title: Re: variable stuttering pedal
Post by: R.G. on April 30, 2006, 05:50:14 PM
The ramp up/down needs to be short relative to the perceptible on/off period. The human ear loudness characteristic shortens the "on" period a bit. Too slow and you get noticeably less "on" duty cycle.
Title: Re: variable stuttering pedal
Post by: R.G. on April 30, 2006, 06:06:44 PM
I posted the series/shunt version under the old "variable stuttering pedal" article, page 2.
http://geofex.com/FX_images/stutter.pdf (http://geofex.com/FX_images/stutter.pdf)
Title: Re: variable stuttering pedal
Post by: gez on May 01, 2006, 03:17:47 AM
Quote from: R.G. on April 30, 2006, 05:50:14 PM
The ramp up/down needs to be short relative to the perceptible on/off period. The human ear loudness characteristic shortens the "on" period a bit. Too slow and you get noticeably less "on" duty cycle.

Depends how far you take things.  The waveform should still be trapezoid and not a triangle, though that was pretty much the case in your circuit with the PWM at one of its extremes due to 'on' time being so miniscule.  However, the effect was unusable in this position, even without the additional sloping I introduced - a barely perceptable signal at output - which is why I mentioned reigning in the range a little.

I'd have to crack open my box to measure what I did (can't remember & didn't make any notes), but with 50:50 duty cycle (I didn't use PWM, not keen on it with trem circuits...all subjective though), it sounds like 50:50.
Title: Re: variable stuttering pedal
Post by: gez on May 02, 2006, 08:10:38 AM
RG, found a spare 20 mins and managed to get rid of the bleedthrough problem I was experiencing.  Ran out of time so haven't tried you fix yet, but will do sometime over the next couple of days.

The trapezoid shaper I posted was still on the board so I did manage to tweak that and can confirm that it gets rid of the tick, but not with the values shown: the slope needs to be gentler and this is done at the expense of PWM.  If one were willing to forego the PWM it would make more sense to use a single op-amp LFO with the Trapezoid shaper, that way a single dual amp could cover it.  Despite what you said, with 50:50 duty cycle it sounds 50:50 and there's a definite on/off action.

Anyway, I'll get back to you on your amended schematic, stay tuned.
Title: Re: variable stuttering pedal
Post by: R.G. on May 02, 2006, 10:09:43 AM
Hey, thanks. I have not had a chance to get to the workshop yet.

QuoteDespite what you said, with 50:50 duty cycle it sounds 50:50 and there's a definite on/off action.
I guess that the ear is just shifting the threshold in time, giving back on the trailing edge what it lops on the leading edge. Ah, well. Sometimes thought experiments turn out wrong, just like real ones.
Title: Re: variable stuttering pedal
Post by: gez on May 02, 2006, 12:21:05 PM
Had a few moments to check the trapezoid shaper with the scope.  I think your solution is going to work out better, but for the sake of completeness this is what I ended up with:

(http://hometown.aol.co.uk/Gezpaton/Trapezoid+shaper+II.GIF)

I took the lead from one of your posts above and incorporated a trim, which made a huge difference.  The PWM went out of the window (rise/fall time too slow) so I replaced the 1M pot, diodes and 10k with a 470k resistor.  Still a little slow for my liking.

This circuit was not easy to tame.  The rise/fall time ended up as 4mS!  This would vary from amp to amp though (the one I used didn't have rail-to-rail swing).  Despite the slowness, it still sounds like on/off stutter.  In the interests of science I kept increasing the value and even 20mS sounded ok (very little in it).  Any more than this and it starts sounding more like choppy trem that stutter.

Anyway, I'm looking forward to trying your idea (nifty by the way).
Title: Re: variable stuttering pedal
Post by: gez on May 02, 2006, 03:30:02 PM
Unfortunately it seems to make things worse RG.  :icon_sad:

I think in order to get this idea off the ground both FETs would have to be incredibly well matched.  Might be an application for a 4007?  With the gate of the FET in parallel with the 2M2 grounded, the bleedthrough is about as the same as it was in version 1.  With this FET dialed in, the background click goes way up in level, to the point where it's louder than the signal.

I'll keep it on the board for a day or two.  If you want me to try anything, just give me a shout (though I might not be able to get round to it till Thursday).
Title: Re: variable stuttering pedal
Post by: gez on May 02, 2006, 03:38:51 PM
Quote from: R.G. on April 30, 2006, 11:28:07 AMWhat made a HUGE difference was imbalancing the gate drives. Different cap or resistor values on the gate drives made the residual noise jump by 10:1.

I'm wondering if one of those 100Ks were replaced by a trimpot it might help to tune things in...or out in this case?
Title: Re: variable stuttering pedal
Post by: Gus on May 02, 2006, 04:10:26 PM
I read most of this thread.

  what about a power mosfet?

  Power mosfets have a lot of gate cap that and a resistor in series to the gate might be something to try.
  or even one of the photovoltaic IC Mosfet gate drive chips?

  You could do high and low side switching because you can "float" the mosfet and photo cell side of the drive circuit and adjust the gate charge time with a series resistor to make it turn on even slower
Title: decoupling ground lines
Post by: gaussmarkov on May 02, 2006, 05:58:01 PM
R.G.:  thanks for the new variable stuttering pedal.  i'm looking forward to building and using it.  :icon_biggrin:

anyone:  in R.G.'s version 2 of the variable stuttering pedal he says,

QuoteThere are two bias voltages for isolation. Note that there are current spikes of about 20ma on the grounds of the three LFO opamps. If you don't isolate these spikes from the other analog ground by careful wire routing and decoupling , it will still tick.

i searched a little to try to understand what this means for a layout of his circuit.  i understand keeping the ground line for the LFO opamps away from the ground for the rest on the circuit board.  i suppose one might even run separate ground wires from the board to the ultimate ground on the output jack.  maybe even use shielded wire for those two connections.

would someone please clarify whether this is right and what "decoupling" the grounds means.  i have only seen decoupling using capacitors as a way to isolate the dc supply of different parts of a circuit.

thanks in advance, gm
Title: Re: decoupling ground lines
Post by: gez on May 03, 2006, 03:08:43 AM
Quote from: gaussmarkov on May 02, 2006, 05:58:01 PMi suppose one might even run separate ground wires from the board to the ultimate ground on the output jack.  maybe even use shielded wire for those two connections.

More or less,  use separate grounds for the audio and the LFO and join them at the -ve connection for the battery/PSU.  Most cases you can run it to the -ve connection on the board, not litterally to the -ve terminal, ie the PSU jack socket.

I still had a problem (see above) on the breadboard as the wires I used were too long and were coupling tick into neighbouring ones.  Keep things short and if you still have a problem use screened wire for audio in/out.
Title: Re: decoupling ground lines
Post by: gaussmarkov on May 03, 2006, 09:42:12 AM
Quote from: gez on May 03, 2006, 03:08:43 AM
Quote from: gaussmarkov on May 02, 2006, 05:58:01 PMi suppose one might even run separate ground wires from the board to the ultimate ground on the output jack.  maybe even use shielded wire for those two connections.

More or less,  use separate grounds for the audio and the LFO and join them at the -ve connection for the battery/PSU.  Most cases you can run it to the -ve connection on the board, not litterally to the -ve terminal, ie the PSU jack socket.

I still had a problem (see above) on the breadboard as the wires I used were too long and were coupling tick into neighbouring ones.  Keep things short and if you still have a problem use screened wire for audio in/out.

got it!  thanks, gez.  and thanks for the whole thread.  you and R.G. are sharing cool stuff. :icon_cool:
Title: more layout questions
Post by: gaussmarkov on May 03, 2006, 07:03:18 PM
here's a draft layout of R.G.'s variable stutter, version 2.  i think i am on my way to a reasonable layout after switching the connections around on the tl072s for lfo a bit.  before investing anymore effort in this layout, i was hoping to get some feedback on the layout of the grounds.  (edit:  for example, i just noticed that it is possible to move ic2 down and make the bias d net more direct and shorten the lfo ground net to boot.)  is this the sort of layout that you all are talking about?

the red net between ic2 and ic3 is the lfo ground net.  light green is ground for the rest of the circuit.  i did  this in eagle, so if there are problems they will appear in my transcription of R.G.'s schem (without part values) which is here (http://gaussmarkov.net/images/geostutter-schem.png).

(2nd edit:  i couldn't resist.  i changed the layout to make several nets a little shorter and to move the output further away from the lfo ground.  i take it this is a good idea.)

(http://gaussmarkov.net/images/geostutter-layout.png)
Title: Re: variable stuttering pedal
Post by: gez on May 04, 2006, 02:54:31 AM
Gauss, I hope this isn't taken the wrong way by RG, but is it wise to persue this any further until a fix has been found...or at least until a few others have tried breadboarding the second version to see if they have better luck than I did?  I'd advise you to breadboard it first.
Title: a circuit is only as good as its powersupply
Post by: puretube on May 04, 2006, 03:16:57 AM
read subject...

especially in LFO circuits, I often fail to see fat caps (>47µF) across the rails;
(and/or the battery)
and small ones (100n) right at the Schmitt-trigger opamp`s supply-pins.
Title: Re: a circuit is only as good as its powersupply
Post by: MartyMart on May 04, 2006, 04:17:49 AM
Quote from: puretube on May 04, 2006, 03:16:57 AM
read subject...

especially in LFO circuits, I often fail to see fat caps (>47µF) across the rails;
(and/or the battery)
and small ones (100n) right at the Schmitt-trigger opamp`s supply-pins.

Good advice, I stick reverse 1N4001 and 100uf cap/100n cap across the power on every build.
So far no "PSU" noise / hum or ticking to speak of.

MM.
Title: Re: variable stuttering pedal
Post by: gaussmarkov on May 04, 2006, 11:17:35 AM
Quote from: gez on May 04, 2006, 02:54:31 AM
Gauss, I hope this isn't taken the wrong way by RG, but is it wise to persue this any further until a fix has been found...or at least until a few others have tried breadboarding the second version to see if they have better luck than I did?  I'd advise you to breadboard it first.

my mistake.  thanks, gez. :icon_cool:

Quote from: MartyMart on May 04, 2006, 04:17:49 AM
Quote from: puretube on May 04, 2006, 03:16:57 AM
read subject...

especially in LFO circuits, I often fail to see fat caps (>47µF) across the rails;
(and/or the battery)
and small ones (100n) right at the Schmitt-trigger opamp`s supply-pins.

Good advice, I stick reverse 1N4001 and 100uf cap/100n cap across the power on every build.
So far no "PSU" noise / hum or ticking to speak of.

MM.

again, my mistake.  R.G. has the power supply filter and reverse polarity protection in his version 1.  and, to make it worse, you have both explained this to me before.  maybe this time the lesson will really sink in.   :icon_confused:

thanks all.  (obviously) i'd really like to get this thing working.  gm :icon_biggrin: