I don't really care about synth design, but you are a truly gifted electronics teacher. Your explanations are clear and concise, and you make subjects which can often be subjected to overcomplication incredibly simple. Bravo sir! Subscribed
@TheLightningStalker2 жыл бұрын
6:15 this is the best basic description of JFET operation I have seen yet.
@martinnoble-james624115 күн бұрын
So this is really cool: When I first built this it didn't sound right at all, but because of your in depth explanation of the circuit I knew the problem had to be around the 100nf cap. Changed the ceramic one I had put in there for something decent and now it works a treat (and I get to feel smug about my trouble shooting), so thanks very much for this video - I really learnt stuff. I've build a second one now - this time with internal triangle lfo and noise, with a switch to choose between them, and an external input which overrides the switch. All in 4hp - it's really really nice!
@Chris-vr8cd2 жыл бұрын
Please never stop making these videos
@DoctorKarul2 жыл бұрын
Your explanations are wonderful. I just finished building my S&H and the debugging would have been better if your video was 1 week earlier! Something you didn't mention: if the input gets near the negative rail, the voltage between gate and source is too low, and it begins sampling. This behavior of JFET is confusing for newbies.
@Mogwai062 жыл бұрын
yes it is! im glad it wasnt just me. thanks for that info too by the way...
@MoritzKlein02 жыл бұрын
you‘re right - i should have mentioned that the circuit is designed for a eurorack-standard 5 V peak-to-peak signal. my bad!
@madrigo2 жыл бұрын
I was going to make a video on the topic then I got your notification. Holy hell this video was good! hahaha Now I'll just reference to yours and show de differences, I'm not making it better than this. Thanks for the content Moritz!
@sennabullet2 жыл бұрын
First, immaculate diagrams...which significantly enhance (second) the excellent explanation. Leaning should always be this good. Thank you as always for sharing your knowledge.
@McTroyd2 жыл бұрын
That's about the best break down of the "equivalent series resistance" and "self-discharge" topics I've seen on KZbin. I think the application, in this case your synth, really helps illustrate the concept well -- with your 'scope, we can both see and hear the result. Good stuff. 👍️
@markblacket89002 жыл бұрын
great video, thank you! also loved the hand gesture for "destroying a component" :D
@mattihaaponiemi44802 жыл бұрын
I just yesterday started to figure out what would be my dream s&h module. It would have 2 channels, accuracy to sample pitch without quantizing, slew pots with range from musical portamento to looong rises and fall times, pre-patched noise in, internal clock, switches to select between s&h and t&h. Maybe that's it. I'm happy to hear dreams from other people too.
@riechner2 жыл бұрын
Maybe some Rectification and an inverted Out?
@Mogwai062 жыл бұрын
yours sounds almost what ive been trying to build recently. i want to be able to tune it somehow to get arpeggios out of simple waveforms. so im guessing an internal clock is a good idea but not sure if itd be necessarily mandatory. my thinking was that the frequency of the sampled wave would need to be a multiple of factor of the trigger rate, so that itd be a repeatable pattern rather than just random always. again though, im teaching myself all this shit so i could be far off base also... maybe as long as the cloak was sync-able to the waveform's...?
@hadihammouda27042 жыл бұрын
I'd suggest having a look at the LF398 IC, it's a relatively cheap monolithic sample-and-hold circuit - I believe that's what was used in the original Wogglebug and there's a great take on it by René Schmitz which you can find on his webpage! I've built a couple modules from it and with a bit of tweaking you can get it to sample waveforms as "microtonal" scales, anyway it's a good building block for any kind of random-voltage based circuits! Strongly recommend
@Marioasmr9292 жыл бұрын
@@Mogwai06 xcxccx cc
@hasemhasan11512 жыл бұрын
Such a well designed video. You explained everything in such a simple way. Definitely subscribed for more videos like these.
@MrFlint512 жыл бұрын
Many years ago I built my S&H module using a CMOS 4007 chip configured as a SPDT switch. The low resistance gave very snappy sampling. I also used an identical circuit as keyboard voltage hold so that I could have portamento and piano-style sustain pedal
@carloschafin9144 Жыл бұрын
Great content and I personally appreciate the context of synth-eurorack based designs. Thanks so much and please keep up the great videos. You're explanations are very educational.
@Mogwai062 жыл бұрын
you done did it again, brutha! you made about the clearest and best explained video step by step of the very thing i've been working on at the moment. i entirely appreciate the shit out of you, dude. these videos are great at explaining the shit between the lines so top speak, that is either absent most other places, or just explained way above the heads of anyone not formally educated in these matters. you're a fucking saint. thank you thank you thank you!
@ro-ce8vg2 жыл бұрын
fantastic video, the timing for me seeing this is perfect as ive just finished my first electronics course, so i actually understand what youre talking about
@possible-realities2 жыл бұрын
Nice! But I think that the sampling pulse is too short. When you turned down the trigger frequency, you could see that the amplitude decreases as well, which means that there is not enough time to sample the the input during one pulse. One way to solve this problem would be to mimic the design of the master-slave D flip-flop: You have two sample and hold circuits in series. The first samples when the trigger is low, the second when it's high. Then when the trigger goes from low to high, the first sample and hold starts to hold and the second one starts to sample it, and that is when the new value comes through. Probably needs a few more components, but should give plenty of time to sample the signal (as long as the trigger isn't just made of narrow pulses).
@gerardstrik2555 Жыл бұрын
A nice addition would be an offset which can be controlled with a potentiometer. Then, when lowering the range of sampled voltages, you can choose a higher pitch instead of having only the low pitch ones.
@sonosus2 жыл бұрын
'real things are never ideal' - as a mechanical engineer, this statement has never been more true.
@Mogwai062 жыл бұрын
as a human, i think it really applies to everything honestly...
@SwampSurfer692 жыл бұрын
Looks like I at least have all the parts... I should probably do this then. Maybe I'll actually learn some JFET Basics too, as an added bonus! Thanks, Moritz👍🏽
@SBender362 жыл бұрын
Another very educative vid, excellent ! thx for all 😀
@Scrogan2 жыл бұрын
Surprisingly simple for such a usable result. Considering how flat your output voltage was I bet you could have used a 10nF without issue. Split the difference and size a cap for the multiplicative average between the on-resistance and the off-resistance. I’d also consider an analog switch IC, as they can have much lower on resistances since they use an internal MOSFET instead of a JFET, and can be used in bipolar circuits due to connecting the body to the negative rail instead of the source. I figured that JFETs would always be far inferior to analog switches because of this, but considering a JFET’s very low leakage they’re actually decent. Don’t use a CD4053 though, they’re pretty bad. I think you can reduce the leakage problem further by using an op-amp feeding a signal to before the switch/transistor, think I saw it on EEVblog. Personally I was designing a sample+hold circuit to be used in some sort of convoluted phase comparator inside an audio phase-locked-loop.
@bph97272 жыл бұрын
Will DG409DY be OK?
@torronthemighty2 жыл бұрын
I love all of these diy video! A little over my head and the drawings and explanations have me lost but I really want to give this a shot!
@MoritzKlein02 жыл бұрын
i‘d recommend you start with my VCO series - those videos are more beginner friendly!
@kensmith5694 Жыл бұрын
I will explain two concepts that someone wanting to build systems related to thing may find useful: 1) Imagine a typical inverting amplifier with a capacitor across the feedback to limit the bandwidth. For the moment consider the resistors still being connected to each other but not directly to the inverting input of the op-amp. The capacitor is connected directly. The resistors go through a switch (JFET) to get to the inverting input. With the switch "ON", the circuit works as normal. With the switch off, the output of the opamp is fixing in voltage. This makes and inverting sample and hold circuit. To make it work well, you really need a second JFET to ground the junction of the two resistors while you are holding so that the voltage across the first JFET is always small. 2) Given this inverting sample and hold, there is a slightly clever thing you can do with it. Imagine that the "sampling" time made so short that the output doesn't get all the way to the final value before you go into "hold". Also imagine that the sample/hold cycle repeats fairly fast. Instead of running the sample and hold circuit directly from the input, it could be run from another opamp that is adding the input signal (remember the circuit inverts) and the output signal and filtering that before sending it to the sample and hold. With care, you can make a circuit that makes an output that sort of "draws a smooth curve connecting the dots of when the sample signal is true". The circuit will tend not to make strong beats between the sample signal and the input signal.
@izerpizer Жыл бұрын
Outstanding video! Extremely well made!
@francescoadorno98912 ай бұрын
Hi Moritz, Great explanation as always..one of the things i like about your videos is that you give inputs for "improperly creative" use of your circuits...so the question i am asking myself now is: if i use a gate rather than a trigger, have i done a track and hold circuit? i am sure there is a catch, but i am now curious to know how it sounds like 🙂
@MoritzKlein02 ай бұрын
@@francescoadorno9891 as far as i know that’s what a track and hold circuit is, yes!
@darrenjefferies25983 ай бұрын
The J113 mosfets seem to be fairly expensive so I'm wondering whether anyone has substituted it with a Mosfet or CMOS switch gate. If anyone has done this successfully, could they please let me know the substitute part they used? I'm not sure about Mosfets as they have an internal diode as I understand it but I have not worked with mosfets much and there have been a few mentions in other comments that a mosfet may be suitable. BTW, I have just started learning about modular synths and have found that this channel is the best source of information, Well done Moritz, your explanations are brilliant.
@markhammer6432 жыл бұрын
While working on a sample & hold filter unit for guitar, it occurred to me that one could, theoretically, vary the stability/perfection of the circuit's ability to hang on to a sampled noise voltage. So, I experimented with what I like to call the "droop" option. That is, a held voltage in the storage cap that is allowed to drain off before the next clock cycle, in a manner that is musically useful. The drain-off time is set by a resistance to ground in parallel with the storage cap - like any decay-time resistance in an envelope follower - but requires change contingent on the step-clocking rate. I.E., if the time between samples is very short, the drain-off time needs to be faster in order to be audible. It adds a musically interesting wrinkle to S&H effects, whether they are applied to filters, VCOs, or whatever. One can think of it as a sort of unidirectional (downward only) portamento. I'm sure those cleverer than I can mimic this with slewing modules that can add glide between steps, but this is a LOT simpler and easier. I use an on-off-on SPDT toggle and two selected resistors to provide faster and slower droop and no-droop. Hard to get simpler.
@AJMansfield12 жыл бұрын
This is way simpler than the idea I had for how to approach this. My concept was to add transistors to gate the Vs+ and Vs- pins of an op-amp, or use an op-amp with a shutdown or device-enable pin. When sampling the op-amp would be able to pump charge in and out of the capacitor to match the input, then when holding I'd cut the supplies so it can't pump any further. (Would probably need to use a FET-input amplifier to ensure we don't leak current in the switched-off state.)
@alexwalli2 жыл бұрын
Great video! Even though I disagree on the precision part. One of the main s&h use cases for me is holding a pitch cv using the gate that triggers a note when pitch and rhythm come from different sources. (As mylarmelodies does in his s&h vid around the 15min mark). Maybe that‘s something for a follow up? :)
@robotdogmusic2 жыл бұрын
Great video Moritz! I'm not sure what to suggest next, but very much looking forward to the book. Also, can't tell if that's a PCB accident or a cat attack, stay safe!
@AjinkyaMahajan2 жыл бұрын
Impressive demonstration. Cheers ✨✨
@zacharyrowden76922 жыл бұрын
Another enlightening, beautiful video. Thanks!
@owensthethird2 жыл бұрын
Honestly sounds a lot like a Buckethead solo when you feed white noise through the vco.
@Abihef2 жыл бұрын
Love the carpet And as I said on fb, perfect timing
@tanjiro32852 жыл бұрын
I am sensing ur channel is gonna Rock🔥
@chrisjones-fp5vd2 жыл бұрын
That was awesome. I've done this with the CD4046 but it was nowhere near as cool. Def wanna build this
@tamasgal_com2 жыл бұрын
Nice video as always, but what happened to your hand? 😅
@MoritzKlein02 жыл бұрын
kitchen appliances can be fierce!
@RegebroRepairs2 жыл бұрын
Ooooh, yes. I love sample and hold.
@kurtkabica2 жыл бұрын
Thank you Moritz…😻
@johnwellbelove148 Жыл бұрын
An alternative to using a JFET could be use a diode bridge and drive the top and bottom diode pairs with complementary positive and negative pulses.
@stephenlife686 Жыл бұрын
Hi Moritz, I wonder if you could help. I’ve built this on a breadboard and double checked everything many times that it is as you have explained, but all I get is the noise from the white noise generator and nothing through the trigger input. And the pot is just adjusting the volume. I’m sure I’ve built it correctly but I can’t work out what’s wrong. Any help would be most appreciated. Thank you 🙏
@josephcote61202 жыл бұрын
The only thing I would add is an op amp buffer before the 100k pot. This will give the circuit a very high impedance (tens to hundreds of megohms) vs 100k input impedance. And no harm to buffer the trigger input as well.
@MeeBilt2 жыл бұрын
Excellent video as always!
@possible-realities2 жыл бұрын
Any reason to use a JFET instead of a MOSFET? With a MOSFET, you don't need to worry about the gate voltage going above the source voltage.
@alexmcgruder61542 жыл бұрын
I've just dicsovered your channel, and your videos are incredible! Thank you so much!
@colonelbarker2 жыл бұрын
Thanks for being so clear and building the circuit up piece by piece. Out if curiosity how does it sound with a human voice driving the input?
@rainbowmade1880 Жыл бұрын
From one Klein to another, well done!!!
@christianlamalle8758 Жыл бұрын
Very good work and explanations !
@toifel2 жыл бұрын
Using a quantizer with an S&H is a pretty common use case for me.. just to sample every (n)th note of a sequence for a baseline. Still lots of useful information, thanks for sharing.
@MoritzKlein02 жыл бұрын
fair point - will see if i can get it to work with enough precision in the follow-up!
@Mogwai062 жыл бұрын
thats what i usually do to come up with a random pattern, but i sample a vco's (or something similar usually) output wave and even then sometimes i try to time it up to get a repeatable pattern or arpeggio. the sampled-and-held signal goes via a quantizer into the v/oct of another/second vco.
@Mogwai062 жыл бұрын
edit: i meant i sampled an LFO. i think i was having issue with variations on the output, or lack thereof, due to the vco output's inherent speed...
@EarJuice Жыл бұрын
Yeah I was kinda thinking don't all typical sample n hold modules have droop?
@MoritzKlein0 Жыл бұрын
yeah. you’d have to go digital to eliminate it.
@kensmith5694 Жыл бұрын
@@MoritzKlein0 Not quite. There are "droop compensation" circuits that tend to make the hold voltage run away to the rails instead of actually drooping. In theory they can be fine tuned so they don't do either. In practice, not so much.
@techslfink97222 жыл бұрын
Thanks! Just the schematic I was looking for!
@andrewmackenzie2638 Жыл бұрын
Just a thought - could you not put 2 JFETs in parallel to double the current for charging the cap?
@d.j.peters2 жыл бұрын
What are about IC's as analog switches 74HC/HCT4051, CD74HC/HCT4316 or any analog multiplexers etc ?
@denebvegaaltair11462 жыл бұрын
I have never worked with JFETs. Will this still work if I use a mosfet instead?
@pontussjoblom2164 Жыл бұрын
How will this work with an audiorate clock? Looking to build one to use as a samplerate reduction effect.
@MoritzKlein0 Жыл бұрын
i demonstrate that in this video: kzbin.info/www/bejne/lafVlGennKekmKM
@TheNormalUniverse2 жыл бұрын
oh happy day! Love your vids
@finonomastropiero42612 жыл бұрын
I dont get it, which signal is being sampled from the osom banger of the beginning? The deepmind 12 chords Triggered by the tr8's clock?
@MoritzKlein02 жыл бұрын
no, it’s a white noise source for the signal input, and 16th note triggers from the tr-8!
@PracticalCat Жыл бұрын
Just curious. How are you turning off the jfet without a negative voltage? Isnt that trigger pulse going from 0v to +ve voltage? I thought the jfet will only block with its gate voltage lower than the source voltage. Ie -ve. What am I missing? I can get the fet to turn off by negatively biasing the gate to the -ve rail so the +ve spikes bring it up to 0v (source on the other side of the diode) to sample than back down to -ve to hold.
@mramonlopez Жыл бұрын
I have exactly that problem. I tried to build the circuit this weekend and it doesn't work for me. It seems that the comparator output only swings between 0V and +12V. I need to do more testing to eliminate the possibility that the sound card I'm using as an oscilloscope isn't filtering out the DC component.
@chefbeats53142 жыл бұрын
Hey Moritz, thank you so much for these videos they’re amazing! I just wanted to ask what your design process is for all these circuit videos? Do you have a background in electronic engineering?
@MoritzKlein02 жыл бұрын
no, i‘m self-taught, i‘m a humanities major. doing circuit design started off as a small hobby and grew from there. at some point i realized that explaining this stuff to someone is helping me learn much better, so i started this channel!
@Galova2 жыл бұрын
for some reason I like seeing things on analog oscilloscope a lot more. yet newer digital oscilloscopes are so advanced and convenient they lack much style in it. They're fancy but don't look cool
@MoritzKlein02 жыл бұрын
agreed!
@saimon16802 жыл бұрын
Nice work!
@colossusaudio51262 жыл бұрын
hello, is any N channel symm would work? like the 2N5458 ? thanks
@professionalhater28092 жыл бұрын
I’m new to this, are your feeding the circuit audio or voltage? Can this work with any type of sound source?
@MoritzKlein02 жыл бұрын
yes, you can use any kind of sound source for this. i'd recommend you watch my beginner's guide to breadboarding (kzbin.info/www/bejne/jqGwi6KIaMuampI)
@observant_sound2 жыл бұрын
at 04:00 why does the 2nd part of the circuit hold the voltage once the switch is off? Wouldn't going to ground be the path of least resistance?
@danielmendes56822 жыл бұрын
great video as always! thank you Moritz :)
@AntonioBonifacio2 жыл бұрын
Lovely! Next time a quantizer? :3
@cj-er4xr2 жыл бұрын
Thanks great video as always. What component change/add would a track & hold circuit need?
@MoritzKlein02 жыл бұрын
as far as i know, the only difference between t&h and s&h is the duration of the sampling phase. so you could simply install a switch at the trigger input that bypasses the capacitor and diode. this way, the circuit will be tracking while the trigger in is high, and would hold when it goes low.
@cj-er4xr2 жыл бұрын
@@MoritzKlein0 thank you so much I'll try that!
@matheuspimenta84862 жыл бұрын
the circuit without all the pulse control shenanigans is already a track and hold. The slopes he describes as ''bad triggers'' are tracking the triangle waveform and then holding.
@briannielson9712 жыл бұрын
So informative! this is awesome!!
@peter.stimpel2 жыл бұрын
A video, and such a great topic ... kinda like xmas is nearby ;) Cheers
@fintux2 жыл бұрын
Nice video once again! Just a small comment: the audio level from the synth at the end was quite low, especially when using headphones.
@johanekamp2 жыл бұрын
Hi Moritz! Ii find it also faszinating what you are doing. May I ask if you learned it in some way, do you have a Ausbildung, or is it learning all that stuff by diy?
@MoritzKlein02 жыл бұрын
it‘s all learning by doing for me - just bought my first batch of components one day and discovered that figuring this stuff out is super fun.
@johanekamp2 жыл бұрын
@@MoritzKlein0 Yes I get that! One day I bought an Arduino and then i was somehow hooked with electronics and also bought more stuff. Now what's frustrating for me somehow is the steep learning curve paired with everyday business stealing me time for what i am curious about. But now i have some parts the will be some time to go on...
@bibel2k2 жыл бұрын
Amazing! Thank you
@blenderbuch2 жыл бұрын
Great as usual!
@keithking19852 жыл бұрын
that was very well explained dude.. thank you.. i will put this video into the old grey matter... BUT ALSO! into my favourites.( for when the brain refuses to work for me ; ) .. ) P.S. and a screen picture of your final schematic for my ever growing circuit's file. : )
@mardav15452 жыл бұрын
I would like to know from where you obtain those capacitors and breadboards?
@ewajustka2 жыл бұрын
so good. thank you
@tanjiro32852 жыл бұрын
you have got a nice Indian style carpet 🙂
@inlasttonowhere44592 жыл бұрын
Very Nice, thank you 😃✌⭐
@jlucasound Жыл бұрын
SNL's "Sprockets"!!! 😆😂😉
@mastermachetier55942 жыл бұрын
I want to design a sample and hold that takes a clock and can sample on divisions of that clock with like 6 outputs with 6 different divisions
@anshuksahu92072 жыл бұрын
New epic video, yay
@RedRacconKing2 жыл бұрын
Why did you not use an opamp?
@uPek450HL2 жыл бұрын
Very good !!
@Gary-vo9rm2 жыл бұрын
Right on. I'm new to this channel and this electricity bullshit :-) . This video has revealed much to me. Thanks! As a matter of fact, I'm right in the middle of something I believe you just answered for me. Beeeuuuteeeful!!
@NamelessSmile2 жыл бұрын
Hi! Why not use an analog switch IC?
@DollysplitBand2 жыл бұрын
You always upload videos on concepts I'm currently learning about, and I love it. I've been going deep into track and holds for the purpose of VpO bus bar keyboard designs. Have you any experience with the LF398 ic?
@DrJ3RK82 жыл бұрын
I've used the LF398 quite a bit. One can build an extremely simple S&H with it, but I've noticed that it droops a bit more than I like. I prefer to use a DG-series switch (such as DG418), use a Polypropylene capacitor, a good op amp that can drive capacitive loads, and a low drift output op amp like the OPA140. This combination works REALLY well.
@DollysplitBand2 жыл бұрын
@@DrJ3RK8 I really appreciate the detailed responce, thank you. I'd never heard of that series of chips, that'll save me many wasted switches. As a little bit of a capacitor noob, I've read the most reliable for this are polypropylene film, which checks out with what you are saying here. Would wima, small plastic box types be suitable? Or should i be looking at other packages? Thanks again
@DrJ3RK82 жыл бұрын
@@DollysplitBand I use the WIMA red-box polypropylene caps a lot. I use them for VCO integrators, filter integrators, S&H, etc. I use TDK MLCC (small blue) caps for everything else.
@kellerdev29052 жыл бұрын
So sample and hold is basically like a ranom number generator that is triggered on demand
@zerstaerker Жыл бұрын
If you can't find a JFET for the switching part, the beloved cmos 4016 IC can do this.
@soejrd249782 жыл бұрын
Smallest white noise circuit?
@MoritzKlein02 жыл бұрын
soon!
@dragonemortale90562 жыл бұрын
hi, great video, how if it was made with an asymmetrical jfet?
@MoritzKlein02 жыл бұрын
then your capacitor would charge and discharge at different speeds i think, which would reduce the circuit‘s accuracy further
@dragonemortale90562 жыл бұрын
@@MoritzKlein0 thanks, maybe could make it even spicier
@tylergunther82192 жыл бұрын
Can you do a video on midi to CV
@MoritzKlein02 жыл бұрын
i‘ll try and see if it can be done without a microcontroller!
@stephenlife519611 ай бұрын
I’ve tried building this so many times and it just won’t work☹️
@MaZderMind2 жыл бұрын
Vers nice drawings 👏
@roboticsadvancedstudy95122 жыл бұрын
Looking good computer hardware circut explanation tutorials..... And nural stick circut tutorials.....
@kuro7582 жыл бұрын
is that a cat's doing on your hand??
@MoritzKlein02 жыл бұрын
nah, i was trying to clean my new milk jug. didn’t go the way i planned.
@finonomastropiero42612 жыл бұрын
Nice banger
@AlPha-lv8ok2 жыл бұрын
👍
@scottlarson15482 жыл бұрын
One day it dawned on me that every analog synthesizer has a sample and hold circuit because how else would the oscillator know what frequency to keep playing after you release the key?
@azador26772 жыл бұрын
ily
@gilsoncarlos87062 жыл бұрын
Video top parabéns pena estar em inglês
@northerngannetproject3147 Жыл бұрын
As elec engineer I understand perfectly your nice elec lessons but i don't fu*king understand what is the audible purpose 🤔. Same for most of the other vids...