DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: anotherjim on February 22, 2016, 04:40:36 PM

Title: A 4046 based synth demonstrator
Post by: anotherjim on February 22, 2016, 04:40:36 PM
Not a pedal - too many controls for that. Only 2 chips tho'  :icon_eek:
Schemo...


(http://i.imgur.com/UmtaKWI.png)
... edited. Not too big now. Right click & view image for biggerer.

Sounds -  one track for each of 6 wave sources....
Soundcloud playlist...
https://soundcloud.com/ashdalestudio/sets/4046synth

Title: Re: A 4046 based synth demonstrator
Post by: soderstrom on February 22, 2016, 06:26:39 PM
Great!  :icon_twisted:
Title: Re: A 4046 based synth demonstrator
Post by: garcho on February 22, 2016, 07:13:06 PM
awesome sounds!
Title: Re: A 4046 based synth demonstrator
Post by: Kipper4 on February 22, 2016, 10:44:02 PM
Quote from: garcho on February 22, 2016, 07:13:06 PM
awesome sounds!
Agreed Garcho.
I like 2 & 4 best.
No2 kinda reminds me of throat singing. Check out the Mongolians and Tibetans.
Good work Jim and thanks for sharing.
Title: Re: A 4046 based synth demonstrator
Post by: anotherjim on February 23, 2016, 09:48:59 AM
Thanks for the comments.
This is why I DIY, I can have something the mainstream producers wouldn't look twice at  :icon_mrgreen:

FYI, I played it from a Telcaster. Preferring neck p/u and tone low. Finger plucked (tips not nails) over the neck joint. No overdubs or other FX - it really can do several things at once. Controlling them is another matter.
Be warned, it can take several days to learn to drive this thing.

I think a description would be in order, it is long....

The Input:
A simple comparator using an op-amp. The output is a square wave. TLC272 used a CMOS type, as it can work with a ground reference. The output is a tone source for the filter as well as feeding the detector, the sync pulse and the 4046 signal in.

The Detector:
Actually isn't present on the unit the sound samples are from, it is only on my breadboard version at the moment. It's a basic diode charge pump. The voltage on the cap disables the mute transistor when signal is present. It's intended to mute when the input has decayed too much for the 4046.

The Sync:
A short pulse (the shorter the better) developed from the input positive transition momentarily resets the 4046 VCO while high at pin 5. It can with the wrong settings mute the VCO if it never completes a half cycle before the next sync pulse. With the right settings it can kind of PWM the VCO waveform or impose some of the input frequency when the VCO is out of track. Ideally, there would be a schmitt trigger logic gate involved to get a really fast pulse. The opamp is doing about 8us rise time at best and that limits how short the sync pulse can be. Also, while high, pin 5 disconnects the Mod source from pin10.

4046 Phase comparator:
Pin 13 provides the control of the VCO frequency. It compares the input with the VCO output and if different, either drives pin 13 high to make the VCO faster, or low to slow it down. If the VCO matches the input, pin 13 disconnects. A variable low pass filter turns the correction pulses to a smoothed DC average. With the Slew control large, there is a delayed reaction and the VCO frequency will cyclically over and undershoot the required frequency - hunting - producing a Thermin like warble. With Slew small, the warble is at audio frequency producing ring mod type sound. An additional control, Damp, can reduce the time delay to limit the warbling, but when the Phase Comp' does correct, the pulse rapidly changes the control voltage which can be a cyclic juddering in VCO tone.
With no input signal present, the VCO frequency will be driven to minimum and cut off.

4046 VCO:
The chip contains a voltage controlled oscillator. It has a frequency cap between pins 6&7 and a frequency range resistance off pin 11 toward ground. The cap value may be critical, I've tried a few different values from 4n7 to 10n with 2 different brands of chip. Switching cap sizes might be a useful addition. Varying the range resistor can force the VCO out of range of the input. The VCO control voltage is from a variable low-pass filter fed from the chips Phase Comparator.

Mod:
The VCO control voltage as a filter mod source. The tracking can be set so bad that this is an audio signal and will bleed thru the filter adding it's own sound.

The Tone Sources:
Fuzz:
The direct output of the input comparator. Some of the sounds in the samples of this don't even use the 4046 except some with the Mod switch on. Then the VCO control control voltage derived from the 4046 demod output (a buffered version of the VCO control voltage) sweeps filter frequency which is at its most useful with settings that cause the VCO to mistrack very badly!

Square:
The VCO output which is a square wave.

Saw:
The VCO timing capacitor wave. Pin 6 & 7 each produce a sawtooth waveform. These waves appear half wave rectified and offset from each other by half cycle. If they were combined, you would have a full wave Saw at twice the Square wave frequency. That isn't done here and pin 7 seems happier to drive a load than pin 6 for some reason although ideally a high impedance buffer should be used to prevent an external load effecting the VCO frequency.

Pulse:
Whenever the Phase comparator is correcting the VCO, there is a negative pulse on pin 1. Intended as a "lock indicator", this output is used as a tone source.

2f:
There is another type of phase comparator in the chip outputting on pin 2. It is a simple logical Exclusive OR of the input and VCO waves. When there is a difference, it can produce 2 pulses per cycle, hence I call it 2f. Octave up seems to be more obvious when a small VCO timing cap is used.

Mix:
This is the output of the phase comparator from pin 15. I call it Mix because it can be a complex combination of input and VCO signals.

The Pedal:
This option uses a synth type expression pedal. An on-off-on switch allows the pedal control voltage to affect either the VCO or the Filter. When applied to the VCO, it tends to force the VCO frequency away from tracking the input. This can create a harmonic sweep effect. I've used a TRS socket for my Roland pedal. Be aware that other brands can use different wiring to the jack. Roland is Sleeve=Ground, Ring=+supply and Tip=Control pot wiper.

The VCF:
Tim Escobedo's  Q&D filter - the non-oscillating version, since we don't have a VCA to shut it up. I've reversed the values of the filter caps - it sounds better to me that way. The input is extremely sensitive, so the source input is heavily padded down. Even so, the Drive control can -  you guessed it. It's output is pretty hot too, so is also padded down to the volume control.
With drive at minimum, you can still get audio if the Mod switch is on and VCO isn't tracking. The control LED seemed best with an ordinary 5mm Red 20mA type.
Title: Re: A 4046 based synth demonstrator
Post by: deadastronaut on February 23, 2016, 10:33:15 AM
f.....g awesome jim,..


just played your clips through mixer with delay.... 8) 8) 8)

nice work man..


i'm guessing it might be less glitchy with a comp in front?...very cool either way.  8)
Title: Re: A 4046 based synth demonstrator
Post by: anotherjim on February 23, 2016, 02:27:51 PM
Cheers Rob! Praise indeed from the demo master!
Title: Re: A 4046 based synth demonstrator
Post by: cloudscapes on February 23, 2016, 04:14:50 PM
good stuff, love how the filter sounds! raunchy! :D

this is something I want to do a bit of this year, cmos based synths (aka lunetta synths). I could program it as a far simpler application in a microcontroller, but that's not nearly as fun. and sometimes when you hook up the 'wrong' parts of cmos together, you get really cool sonic results! something hard to emulate in software.
Title: Re: A 4046 based synth demonstrator
Post by: anotherjim on February 23, 2016, 05:10:28 PM
I made no attempt to clean up the front end. It should be done, but it's a lot more work. Not for nothing have I called it a demonstrator. Idea is  - breadboard it, and see if there's a feature you'd like in a pedal. Using open preset pots and jumpers for switches, it shouldn't take long to assemble & then find the minimum control set for what you need. It's a big help to use an expression pedal.

It should be possible to make it nearly 100% 4000 series CMOS. I have seen a synth forum post somewhere that claimed the Q&D filter was possible with inverters, but not seen a schematic for that. I do suspect the 4046 input is prone to jitter with slow moving signals, so a schmitt trigger gate feeding it might well be a benefit.
On that, the Q&D isn't the deepest  filter out there, but I had one half of the op-amp unused. It does benefit from a rich source and with an expression pedal, would make a useful filter stomp box with not too many controls if used after a distortion.
Title: Re: A 4046 based synth demonstrator
Post by: Marcos - Munky on February 23, 2016, 05:43:06 PM
Very interesting sounds!
Title: Re: A 4046 based synth demonstrator
Post by: pinkjimiphoton on September 17, 2019, 11:47:15 PM
Quote from: anotherjim on February 22, 2016, 04:40:36 PM
Not a pedal - too many controls for that. Only 2 chips tho'  :icon_eek:
Schemo...


(http://i.imgur.com/UmtaKWI.png)
... edited. Not too big now. Right click & view image for biggerer.

Sounds -  one track for each of 6 wave sources....
Soundcloud playlist...
https://soundcloud.com/ashdalestudio/sets/4046synth


(https://media.giphy.com/media/cCKNibD6GMzo4/giphy.gif)
Title: Re: A 4046 based synth demonstrator
Post by: Ben N on September 18, 2019, 06:19:56 AM
Amazing! Jim, have you done anything else with this? Also--it doesn't look extremely difficult to lay out, but if you have anything...
Title: Re: A 4046 based synth demonstrator
Post by: StephenGiles on September 18, 2019, 10:57:18 AM
This might be of help.
(https://i.postimg.cc/LqvvX6bx/CClark-synth1.gif) (https://postimg.cc/LqvvX6bx)

(https://i.postimg.cc/JD2qNYmJ/CClark-synth2.gif) (https://postimg.cc/JD2qNYmJ)
Title: Re: A 4046 based synth demonstrator
Post by: anotherjim on September 19, 2019, 04:51:04 PM
Quote from: Ben N on September 18, 2019, 06:19:56 AM
Amazing! Jim, have you done anything else with this? Also--it doesn't look extremely difficult to lay out, but if you have anything...
I never draw layouts - just build from the schematic until its all on the vero or perf. With the rotary switch and all of the pots, there's a mess of wires. I put it in a project box - kind of a "squeeze it all in, put the screws in and don't ever open it" affair.

Title: Re: A 4046 based synth demonstrator
Post by: StephenGiles on September 21, 2019, 05:04:37 AM
Quote from: anotherjim on September 19, 2019, 04:51:04 PM
Quote from: Ben N on September 18, 2019, 06:19:56 AM
Amazing! Jim, have you done anything else with this? Also--it doesn't look extremely difficult to lay out, but if you have anything...
I never draw layouts - just build from the schematic until its all on the vero or perf. With the rotary switch and all of the pots, there's a mess of wires. I put it in a project box - kind of a "squeeze it all in, put the screws in and don't ever open it" affair.


So do I, although my first ADA Flanger vero build was huge to allow trouble shooting if needed, then I rebuilt to fit in an old EH Memory Man case!
Title: Re: A 4046 based synth demonstrator
Post by: pinkjimiphoton on September 21, 2019, 11:09:07 AM
Quote from: StephenGiles on September 21, 2019, 05:04:37 AM



So do I, although my first ADA Flanger vero build was huge to allow trouble shooting if needed, then I rebuilt to fit in an old EH Memory Man case!
[/quote]


holy shit Stephen!! on vero? you may well be my new hero, dude ;)
Title: Re: A 4046 based synth demonstrator
Post by: StephenGiles on September 21, 2019, 06:24:03 PM
There's a picture floating around somewhere!
Title: Re: A 4046 based synth demonstrator
Post by: anotherjim on September 22, 2019, 12:43:54 PM
I found a photo of my build.  Rockin' the '80s hobby magazine look. I may never find a knob for the D shaft rotary switch that suits it.

(https://i.postimg.cc/qRNSqQ6J/DSC00058.jpg)
Title: Re: A 4046 based synth demonstrator
Post by: Ben N on September 22, 2019, 12:59:59 PM
Quote from: anotherjim on September 22, 2019, 12:43:54 PM
Rockin' the '80s hobby magazine look.
Oh, my God, yes!!!
Title: Re: A 4046 based synth demonstrator
Post by: Uoki-Toki on May 27, 2023, 02:19:26 AM
Where is the output "Meditate" connected?
Title: Re: A 4046 based synth demonstrator
Post by: duck_arse on May 27, 2023, 10:09:46 AM
I'd say "the universe", man.
Title: Re: A 4046 based synth demonstrator
Post by: strungout on May 30, 2023, 03:31:45 PM
Very cool circuit, Jim! Thanks for sharing.

I used a 2272 opamp. An upgrade to the 272, so the datasheet says.

I ran it through my octaver (dry, +1, -1, -2) and it sounds great! Tried it with the autowah I just built and the vocalisations sound interesting. I get quee's and quack's. Some settings I haven't tried yet. Even brushing the pick lightly against a string makes cool vocal sounds.

I'm gonna build this, but I wanna look around for what to add to it.
Title: Re: A 4046 based synth demonstrator
Post by: Ben N on June 01, 2023, 03:31:53 AM
Quote from: strungout on May 30, 2023, 03:31:45 PM
I ran it through my octaver (dry, +1, -1, -2) and it sounds great!
Using any particular waveform?
QuoteTried it with the autowah I just built and the vocalisations sound interesting. I get quee's and quack's. Some settings I haven't tried yet. Even brushing the pick lightly against a string makes cool vocal sounds.
Seems to me that putting a loop after the source switch & ahead of the filter, with an option for series/parallel return might be an interesting way to handle other effects, like octave & other filters
Title: Re: A 4046 based synth demonstrator
Post by: strungout on June 01, 2023, 09:38:55 PM
This thread was necro'ed!

But, @ Ben N: All of them have their own flavors but I think I liked the pulse and saw most. Just now, I was playing with mixing 2 waves together. A lot of wobble happens (Square + mix for example). It'S interesting. But there's some volume issues... Think I might start another thread to figure out that stuff.
Title: Re: A 4046 based synth demonstrator
Post by: Ksander on June 27, 2023, 03:58:33 PM
+1 on the thanks for sharing. I built a version of this too, replacing the 272 (couldn't find one) with a TL072 and an LM393 to first amplify and then square the signal. It is awesome; very odd and versatile! It certainly will become a pedal!

One thing though: there are glitches, like sudden occassional pops in the sound. Are these produced by the IC, and also present in the original circuit?