Designing a simple audio compressor from scratch

Ғылым және технология

Support the channel...
... through Patreon: / moritzklein
... by buying my DIY kits: www.ericasynths.lv/shop/diy-k...
Simulation in CircuitJS: tinyurl.com/2qj8o66t
Subtractor op amp explanation: • Designing a classic tr...
In this episode, we'll DIY our way towards a simple audio compressor circuit, based on my diode VCA. If you want to build along, here's the bill of materials:
1x TL074 quad op amp
1x TL072 dual op amp
11x 1N4148 small signal diode
1x 10 uF capacitor
1x 100k log potentiometer
2x 100k lin potentiometer
1x 20k lin potentiometer
10x 100k resistor
2x 20k resistor
2x 14k resistor
1x 4k7 resistor
1x 1k resistor
Chapters
00:00 Intro & what is compression?
04:21 Rough circuit structure
06:12 Diode VCA
09:48 Peak detector
14:19 Voltage subtractor
16:24 The gap & how to get rid of it
21:34 The ratio control
23:32 Attack & release
27:45 Sidechaining & outro

Пікірлер: 464

  • @UnwelcomeGuestVideos
    @UnwelcomeGuestVideos Жыл бұрын

    The extra effort here with the animations was definitely appreciated on my end! I love that you slipped a side chain feature in at the very end! Beautiful stuff Mortiz!

  • @MoritzKlein0

    @MoritzKlein0

    Жыл бұрын

    glad to hear - doing the animations is super fun, will definitely expand on this in the future.

  • @mbrombert

    @mbrombert

    Жыл бұрын

    @@MoritzKlein0 Agreed. This new approach is really well done and looks great. Thanks for the awesome content!

  • @c1ph3rpunk

    @c1ph3rpunk

    Жыл бұрын

    @@MoritzKlein0 what did you use for those animations? They’re super helpful.

  • @executorarktanis2323

    @executorarktanis2323

    Жыл бұрын

    @@MoritzKlein0 Animation helped me a lot here thanks

  • @San.Tarcisio

    @San.Tarcisio

    Жыл бұрын

    animations super helped

  • @erich1394
    @erich1394 Жыл бұрын

    I am a hobbyist C++ Audio DSP programmer, so I understand exactly what a compressor does and the functional blocks used to control it, but the actual breakdown of specific implementations using electronic components has always eluded me. Looking at electronic circuits without experience made it difficult to see the "boundaries" between components. Your video has helped me realize that obtaining generalized knowledge of common audio electronics sub-assemblies and the ability to identify those sub-assemblies is the key to my understanding audio electronics in general. I feel significantly less intimidated about designing audio circuits after watching this video. Thank you so much for the work that you do!

  • @simonlinser8286

    @simonlinser8286

    Жыл бұрын

    Yeah, thinking in modules i guess. It's what makes any tear down or circuit analysis video good, is them kind of circling part of the board and saying what it is and then the individual components, and it's the right way to think of circuits. I guess the only difference is when you don't know and see a circuit board it looks over overwhelming but if you can break it down into its parts or sections it's more approachable.

  • @jacobhn2

    @jacobhn2

    Жыл бұрын

    I hacked a Yamaha compressor GC2020 to have a 10-second release time, it was so that when I watched a movie the sound was absolutely perfect and without it going beyond the dynamics and when the scenes with low volume the compressor slowly turned up the volume. Attack time=0, Release time=10sec or less

  • @widepen93

    @widepen93

    10 ай бұрын

    I'm in a similar boat designing a pi DSP drum machine+synth. Care to share your favorite resources of getting to understand compressors? This video helps but im trying to soak up some more. Thanks!!

  • @TheRailroad99

    @TheRailroad99

    5 ай бұрын

    Yeah, that's what engineers (have to) do... Divide and conquer. Doesn't matter if it's HW or SW. chop it into simple modules and test them thoroughly

  • @pollo.888
    @pollo.8884 ай бұрын

    Ive taken the full electronics series of courses in my degree track. Stumbling across these videos makes everything I've learned click.

  • @famitory
    @famitory Жыл бұрын

    i have been looking for a good compressor circuit that didn't need any fancy components (monolithic VCA chips, OTAs, special FETs , or LDR tuning) for a long time and finally here one is.

  • @juanvicentedelrio716
    @juanvicentedelrio716 Жыл бұрын

    I have been on the audio scene for over thirty years, I mean on the electronics field rather than in the use of the machines, and believe me...I have never found a book or document that explains in both easy and comprehensive way the subject you have gift us on this video. Not only the practical design and the theory behind (without getting into heavy design issues) but, also, the perfect animation and perfectly chained explanation. I have subscribed immediately to your channel. Thank you for your work.

  • @lukaswalczak93
    @lukaswalczak93 Жыл бұрын

    This is exactly, how to learn analog circuit design. I absolutely love how you describe every single detail. That shows that you truly understand what you are doing, making it really really helpful for others to understand these concepts. So helpful, thank you so much.

  • @lettersnstuff
    @lettersnstuff Жыл бұрын

    I’m not sure how I haven’t had your videos in my recommended yet but I’m genuinely excited to have found your channel

  • @elluisito000
    @elluisito000 Жыл бұрын

    As a pedal designer, compressors have always puzzled me. This is a very nicely done video describing how they work. Thanks

  • @chrismathewsjr

    @chrismathewsjr

    Жыл бұрын

    i don't work in music any more but one of my favorite things is asking "pedal designers" simple things like "what does an NPN transistor do" and "how does ground work"?

  • @executorarktanis2323

    @executorarktanis2323

    Жыл бұрын

    @@chrismathewsjr lmaoo how does it go then

  • @dieSpinnt

    @dieSpinnt

    Жыл бұрын

    @@executorarktanis2323 I am more basic. I would first ask why he uses his assumptions(or delusions?) on his hypothetical designers with an example in the style of the Brothers Grimm? What stupid (and the totally unnecessary blanket insulting taunt) stuff he's talking up there? A totally insane straw man about how transistors work... thrown out of context to make himself important. Great! Now we all know the kind of people he dislikes: music pedal designers. Did someone ask for that? Or does this childish BS interest anyone? As @elluisito000 said, it is a very interesting topic. Just search for "boss compressor schematic" or "Formant", "Parametric Multiband", "Hollis", "Teletronix", and so on. Not a bad idea to learn from the experts ... or ancients ... or ancient experts!:) Have fun playing and soldering, all (including our braggart).

  • @executorarktanis2323

    @executorarktanis2323

    Жыл бұрын

    @@dieSpinnt holy thanks man

  • @matturner6890

    @matturner6890

    Жыл бұрын

    @@chrismathewsjr I'm not an obstinate prick anymore, but one of my favourite things is asking guys like this simple things like "how do you talk to people at parties without them all leaving"?

  • @adamdev9391
    @adamdev939111 ай бұрын

    2:02 - My god. This is the best explanation of compression I have ever seen

  • @SomeWeirdCat
    @SomeWeirdCat Жыл бұрын

    This single video is more useful than any of my circuits classes ever were

  • @chitlitlah
    @chitlitlah Жыл бұрын

    I just built this circuit with some changes for my guitar. Since unamplified guitar voltages are a few hundred mV at most, I only used one diode on each side of the diode bridge and didn't attenuate the signal going through it. Other than that, I replaced the potentiometers with fixed resistors since I don't have any pots on-hand and changed two or three resistor values, but that's it. It works really great as a compressor.

  • @juanbarcelosalves

    @juanbarcelosalves

    2 ай бұрын

    hey, I'm trying to recreate this circuit for the same purpose as you, for a electronics class in college, I would very much appreciate if you could share the components you used, specially the OpAmp, since all the OpAmp I own strugles with such low voltages. Thank you.

  • @BristlyBright
    @BristlyBright Жыл бұрын

    Just paused at 8 minutes to say WOW! The animations! They really help to grasp the flow in a much easier way! Thank you!!! 🙏

  • @vinjetho1609
    @vinjetho1609 Жыл бұрын

    i've been wanting to learn about signal processing, and electronics in general, for a while, but it all just seemed so confusing. the animations and visualizations in this video were amazing, and helped finally feel like i have a chance at understanding things! thank you so much for this amazing video!

  • @punman5392
    @punman5392 Жыл бұрын

    You should modify the peak detector to use a precision rectifier instead of a half wave single diode like you use. That way you can reuse the circuit for an envelope detector to control a VCF without noticeable wobble when playing bass frequencies. The big downside to half wave peak detectors like that is that with bass frequencies you tend to hear a lot of wobble in the envelope as it’s only acting on half the peaks.

  • @DiVoidationStudio
    @DiVoidationStudio Жыл бұрын

    This is the best stuff about electrotechnical principles in music. This beats all that I've learned for several years in my engineering university. Just excellent and very inspiring! Thank you!

  • @payloh_3328

    @payloh_3328

    Жыл бұрын

    Agreed awesome stuff

  • @Signal_Glow
    @Signal_Glow Жыл бұрын

    Explanations are very good with animations helping people visualise what is going on. Those who are into pro audio side of compressors might like Gyraf Audio diy 4k compressor explanation as it shows pretty simple, typical VCA compressor, explaining how each part works and interacts with others in easy to understand details. Also shows typical balancing circuits, use of IC based parts like THAT VCA's, detectors, etc. Ian Bell of Custom Tube Consoles had or has example of simple opto compressor, i'm not sure it is still there although whole diy part is more than worth checking, same for Gyraf's. I will always be thankful to people like Moritz, Gyrad and Ian Bell, not many take their free time to explain this matters to beginners, or even more advanced pro audio electricians/designers. Many thanks, wish you all the best in 2023.

  • @doBobro
    @doBobro Жыл бұрын

    Animation o_O. It's amazing how well fluid pressure analogy works here. Oscillating membranes are mesmerizing.

  • @aduedc
    @aduedc Жыл бұрын

    This works great for symmetric wave forms, which is most of the cases. Now, imagine you have a wave form which has negative peaks and no positive peaks, then the peak detector will never turn on. To solve this problem you need to place absolute value circuit before the peak detector, which could be as simple as full wave 4 diode rectifier circuit or its opamp equivalent.

  • @manobabicz
    @manobabicz Жыл бұрын

    It is unbelivable that i try to make a compressor with sidechaning since last fall (without any succes), and your video is just came to my face and covers everything! This new animations makes a really nice illustration, and as i see you implemet this really well with motion. You are a really kind person to share this knowledge in a professional way. Perfect stuff! Deserve more attention.

  • @jas_bataille
    @jas_bataille Жыл бұрын

    You sir, by the noticeable loudness difference and perfect clarity of your depth and clarity of your voice, definitely know about compression.

  • @AndersWeijnitz
    @AndersWeijnitz Жыл бұрын

    Best compressor walk-through on Earth!

  • @YanDoroshenko
    @YanDoroshenko Жыл бұрын

    The last time I've heard anything to do with voltages and stuff was at school, yet this is perfectly comprehensible. Might even try it at some point.

  • @JonDeth
    @JonDeth9 ай бұрын

    This is great and straight forward. There's so many ways to achieve compression that seeing a specific scheme broken down into an actual tutorial with the lab and circuit gives those of us interested an example of a clear pathway for our own designs. Because I am specifically desiring one for guitar ATM, I can see from your circuit a way to incorporate this theory of operation into a feedback path to buck some of my input buffer when the circuit sees an excess. As I understand it, you're demonstrating the implementation of multiple methods of compression for an overall more dynamic circuit and performance. *Anyway, this will definitely help me with the design I have had rolling around in my head.*

  • @MrShmazoo
    @MrShmazoo Жыл бұрын

    I’m a current EE student with a budding passion for computer music and find this video incredibly inspiring. Thanks for the detailed explanation and impeccable animations!!

  • @JamesPearson
    @JamesPearson Жыл бұрын

    Brilliant Moritz, this is such a great circuit and beautifully explained as always. The animated visuals are a treat, thanks for all the effort with that - I know it wasn't easy. Looking forward to building this sometime. Happy New Year when it comes :)

  • @MoritzKlein0

    @MoritzKlein0

    Жыл бұрын

    let me know how it went once you do!

  • @anthonyhart7878
    @anthonyhart7878 Жыл бұрын

    The add level of quality was really noticeable with this one. This was a great video.

  • @ahreuwu
    @ahreuwu Жыл бұрын

    I'm a complete noob when it comes to electrical things, I can barely follow the "pipe" of the current, but you presented this in such a straight forward way that I think I understood it completely. Loved the visual aid, I already knew how the waveform behaves under the parameters but it was very useful for translating that into knowledge that's compatible with electronics. Your format is so approachable for beginners that it's making me want to keep learning about electronics and get into dyi audio gear, thank you‽

  • @spencebarton2947
    @spencebarton2947 Жыл бұрын

    Many audio signals from synths BECOME asymmetrical when they pass through a cap coupled stage. Any pulse wave with a duty cycle less than or greater than 50% will do this. Send a 90% duty cycle pulse wave into the DC coupled input of your scope. It *should* be symmetrical about 0V. Then change to AC coupling. The narrow phase of the pulse have a larger excursion above or below zero than the wide phase. This is due to the time required to charge and discharge the coupling cap. Even some of the example waves in this video show this. Since this is so, if you want your compressor to work well it doesn't make sense to throw away the negative portion of the wave. The negative half could have a significantly larger excursion from zero than the positive half. It's EASY to full-wave rectify the input signal instead. One or two op amps. These kinds of circuits are called precision rectifiers and there are probable a dozen different types available on the internet. That way you get accurate compression of asymmetrical signals.All the famous compressors and limiters derive the side chain from a full wave rectified version of the input not a half wave rectified version. It's so easy to implement it makes no sense to throw away half the signal and wave your hands about audio signals being symmetrical about 0V. We're only talking about $1 worth of parts.

  • @Scanlaid
    @Scanlaid Жыл бұрын

    So glad I found your channel. Went to school for mechE, this is basically all magic.

  • @AngadBagga
    @AngadBagga Жыл бұрын

    I finally understood what a VCA is. Thanks.

  • @cwrigh13
    @cwrigh1310 ай бұрын

    I'm amazed that all this can be achieved with a handful of components. Not an Arduino in sight!

  • @thomasallen3532
    @thomasallen3532 Жыл бұрын

    As someone who knows verry little about all of this but wants to learn more this was an incredibly helpful video and explained verry well! Thank you

  • @gooball2005
    @gooball2005 Жыл бұрын

    This was a great video! I especially appreciate how you went into your circuit design process, building it up on a breadboard and addressing any hurdles as you came across them. Great work!

  • @railfilm
    @railfilm Жыл бұрын

    Hi Moritz, excellent job. Just a little add on. On every compressor one usually loses some level of the signal, therefore in the output stage you will need one more potentiometer to change the gain of the output stage to recover the original input level.

  • @MoritzKlein0

    @MoritzKlein0

    Жыл бұрын

    good call, will add!

  • @timbeaton5045

    @timbeaton5045

    Жыл бұрын

    @@MoritzKlein0 You could also add a mix control between the input signal ("dry") and the compressed output ("wet!") which gives you instant parallel compression. Should be a straightforward output mixer stage between the two signals.

  • @Wizardofgosz

    @Wizardofgosz

    Жыл бұрын

    If you're actually compressing then you have to be losing input signal. Compressors make things quieter. But yes a makeup gain knob will compensate for that.

  • @cls9474

    @cls9474

    10 ай бұрын

    @@Wizardofgosz Not necessarily. Compression usually means: compression of the dynamic range, not the volume/loudness. Therefore: if you'd like to just compress the dynamic range (in contrast to limiting the peaks), then you'll need a make up gain.

  • @Wizardofgosz

    @Wizardofgosz

    10 ай бұрын

    @@cls9474 You have no idea what you're talking about. Compressing dynamic range is compressing some of the gain or the volume. Compression only makes things quieter.

  • @prsm3
    @prsm3 Жыл бұрын

    Diese Videos sind einfach so informativ wie eine Doppelstunde Physik Leistungskurs, wirklich sehr gute Qualität und man kann einfach alles so leicht verstehen!

  • @Triggs-Music
    @Triggs-Music Жыл бұрын

    absolutely astonishing how well you put together this info.

  • @jacobrepp787
    @jacobrepp787 Жыл бұрын

    Amazing, thank you for bringing this subject to life. Great graphics, animation and as usual clear and deep explanations.

  • @Zadagu
    @Zadagu Жыл бұрын

    I always wanted a video which explains how compressors are engineered and never found one on YT, to this day. Thank you very much! Finally I got some insights.

  • @longdongsilver4719
    @longdongsilver4719 Жыл бұрын

    Your descriptions are, as always, clear and simple. And I love your animations.

  • @nsfeliz7825
    @nsfeliz7825 Жыл бұрын

    you are a real electrical engineer. you are the sabine hossenfelder of electronics. no gbledygook no bullshit. i have zero respect foe 99 percent of audio experts . but you you. ypu are the man.a

  • @moliver_xxii
    @moliver_xxii Жыл бұрын

    circuit using diodes as variable resistors always make me happy and smile. they are always so surprising but work great. thanks!

  • @frankjrgensen1439
    @frankjrgensen1439 Жыл бұрын

    This is by far the best explanation I’ve seen on compressors and the building blocks involved. Thanks a bunch!

  • @TheBigChoppa
    @TheBigChoppa Жыл бұрын

    Appreciate that you shared from the process of designing vs explaining a schematic! This definitely shed some light on a few basic ways compressors can have unique characteristics. Thank you for the hard work!

  • @naota3k
    @naota3k Жыл бұрын

    As someone who understands the basics of music production/mixing, but is just _awful_ with electronics, this is incredibly insightful. I have always been curious how we were able to do things like compression, EQing, etc back in the analog/electromechanical days.

  • @DrTacoPHD665
    @DrTacoPHD665 Жыл бұрын

    I did circuit design and filtering courses at university out of interest, but it never got to the point where I could see those principles being put to use in a real application. This is amazing.

  • @paulmdevenney
    @paulmdevenney Жыл бұрын

    I learnt more about electronics casually watching this video than in a year of my "Electronics Engineering 1A" module at university.

  • @infantino93
    @infantino93 Жыл бұрын

    Been getting into DIY pedals lately, I must say you may be the most concisely informative 'tutor' I've stumbled across. Learned a ton, thanks.

  • @AMTunLimited
    @AMTunLimited Жыл бұрын

    I was just thinking about this! I plan on making my own Eurorack in the new year and my first module is going to be ab envelope follower as it's one of the few things I don't already have on hand, and I realized that ducttaping it to a VCA would be instant compressor! Excited to watch this

  • @markhammer643
    @markhammer643 Жыл бұрын

    As ever, very nice video, accompanying explanation, and pleasingly simple circuit. One needs to distinguish, however, between compression and limiting. Limiters direct the circuit to address the dynamic peaks, while leaving material below the threshold intact. Compressors attempt to achieve an overall average signal level, by limiting peaks in the manner you've illustrated, but also *increasing* gain when content is well below the peak threshold. In practice, the two can sound identical with adjustment of controls, but there can still be audible differences between them when controls are set differently. One of the phenomena compression can result in is often referred to as "breathing". Since analog compressors generally have no means to differentiate between pianissimo signals and background noise. they dramatically increase gain when the input signal is small. If the release/gain-recovery time is long enough, the gradual increase in gain during soft parts results in amplification of background hiss that sounds like someone inhaling - hence "breathing". The cure involves use of as pristine an input signal as one can provide, and as quick a gain-recovery as is plausible. Limiters typically do not encounter breathing. While not strictly true all the time, limiters often involve feed-FORWARD control, while compressors tend to use feed-BACK control. That is, limiters use the input to control the final result, after the gain is applied, while compressors tend to use the amplified result to adjust how the gain is set. That aspect plays a big role in achieving an overall average level-setting in compressors. Another limiter/compressor difference that may not be quite so apparent in the percussion example used in the video is the impact of instrument, or other, signal sources that either sustain or have long decay times. Although we may perceive such sustain or prolonged decay as smooth, it is actually filled with a great many little bumps, often referred to as "envelope ripple". When simple half-wave rectifiers are used to extract information about signal level, that ripple in the resulting control-voltage can produce small rapid fluctuations in output level (or filter-frequency, when used to control a filter) that can sound like "distortion" to the user; especially if used in conjunction with control elements that are able to respond to very quick changes (one of the reasons why photocells are often prized for some forms of sound processing). The solution is often to use better rectification, as well as averaging the detected signal level over a longer period; the goal being to make the control voltage resemble pure DC as much as possible. Again, as elegant as the circuit shown here is - and it IS elegant - it is really predicated on processing short percussive sounds, and would need more to be able to process longer-sustaining sounds without problem.

  • @murrayedington

    @murrayedington

    Жыл бұрын

    Indeed, this isn't actually a VCA, it's a clipper / limiter. It's an interesting journey but opamp based voltage controlled gain is fairly straightforward. There would be a lot gained by doing some reading up front, rather than trial and error. The Art of Electronics by Horowitz and Hill might be a good place to start.

  • @Wizardofgosz

    @Wizardofgosz

    Жыл бұрын

    This isn't really true at all. There is no difference between compression and limiting. Limiting is just extreme compression with an infinity to one ratio and a very very fast attack. The only time a "normal compressor" adds gain to the quieter part of the signal that's not being reduced by the compressor is if you have a makeup gain knob and you're using it. Otherwise I can make a compressor with a wide range of controls be a limiter quite easily. My Urei LA 22 compressor for example. And plenty of limiters do have makeup gain.

  • @markhammer643

    @markhammer643

    Жыл бұрын

    @@Wizardofgosz Oh they can certainly *be* tweaked and dialed in to sound the same, and yes there is makeup gain. But there is a difference between rackmount units, like your Urei LA 22, and floor pedal compressors, which operate like AGC controls on budget tape decks. In those circuits, there is not really any "make-up gain". They are aimed at a narrow range of output signal amplitude, both attenuating peak transients and automatically boosting signal level, when it falls below some threshold. FWIW, I built a pedal for myself, using the SSM2166 chip from Analog Devices (great great chip by the way). It's a general purpose preamp dynamics-control device, and can function like a limiter OR compressor, if twiddled just right. For instance, if I set the ratio to "infinity", but leave the threshold high, it behaves like a peak limiter, such that everything below the threshold retains all dynamics. If I set the threshold very low, and crank the gain, it behaves like a compressor, with very little in the way of audible dynamics.

  • @spiesonmars
    @spiesonmars Жыл бұрын

    Your use of animations is great - it really helps to understand what's going on in the circuit. Nice work!

  • @snarfusmaximus
    @snarfusmaximus Жыл бұрын

    This video was recommended to me by KZread, probably based upon what I've been watching lately. I studied electronics over 25 years ago and this video has made me subscribe. Great stuff!

  • @oveschleisner-meyer8139
    @oveschleisner-meyer813910 ай бұрын

    I love your clear and visually decription - great.

  • @marouaniAymen
    @marouaniAymen Жыл бұрын

    This is one of my best electronic related videos that I watched so far. It did give me some inspiration on how to multiply two signals together or how to do frequency modulation.Thanks.

  • @joshuakendall3965
    @joshuakendall3965 Жыл бұрын

    Wow, your educational videos are superior to all others. So elegantly constructed and informative. I thank you.

  • @cspower7259
    @cspower72597 ай бұрын

    Loving the diagrams. Gives a really good way to visualize whats going on. Its kind of what my mind see, when looking at a circuit diagram.

  • @PORKCHOPSH
    @PORKCHOPSH Жыл бұрын

    Holy crap i think I actually understand compression now! Seriously, I can't wait to know what I'm actually tweaking next time, big big thanks!

  • @vicopujia
    @vicopujia Жыл бұрын

    This why I like the most on the electronics field of knowledge. Amazing channel

  • @kellerdev2905
    @kellerdev2905 Жыл бұрын

    Wow, great ideas! Compressor is a must to make a nice mix, I've struggled with adding a little bit of soft clipping on a couple of iterations to increase the loudness this way, but that's much more professional sounding!

  • @McTroyd
    @McTroyd Жыл бұрын

    Thanks for the video! It's a lot simpler than it seems, which explains why this was doable back in the era of vacuum tubes(/valves). Love the animations as well. 👍

  • @camjones9213
    @camjones9213 Жыл бұрын

    What a great explanation of compression circuits - these videos really helped me whilst studying Audio electronics

  • @JoseLuisGarcia1234
    @JoseLuisGarcia1234 Жыл бұрын

    starting the year with incredible stuff! thanks so much for all your effort and great content, you are a truly unique channel in youtube 🔥

  • @PeterJaquesMusic
    @PeterJaquesMusic Жыл бұрын

    This is really great! I'm just diving into circuit design, so this was still over my head, but you explain things so well that I started to get it, even though I need to understand the real basics first. I'll definitely be checking out your other content! thanks!

  • @5eZa
    @5eZa Жыл бұрын

    sounds pretty good. i think fully rectifying the cv signal would catch initial negative transients that you are missing and improve attack response. that's the only thing i would add

  • @MoritzKlein0

    @MoritzKlein0

    Жыл бұрын

    you mean rectifying the VCA's output before detecting the peak, right?

  • @5eZa

    @5eZa

    Жыл бұрын

    @@MoritzKlein0 I mean fully rectifying the audio input signal you are using to detect the peaks. if the input audio signal has an initial negative transient instead of + then your VCA signal will be delayed by that missing half wave

  • @ArchetypalCat
    @ArchetypalCat Жыл бұрын

    Dear Moritz - viele Grüße aus North Florida! I'm a retired programmer and hardware engineer. I studied electronic music and sound recording in music school years ago. (Among the first students permitted to have the synthesizer as their major performance instrument, I was also fortunate while there to meet some of the biggies: Robert Moog, Ray Kurzweil, and Don Buchla. I've been doing electronics stuff off and on for over half a century *sigh*). I'm not mentioning all this to "toot my own horn" as we say in America, but rather to provide a context of why I find your KZread presentations so very significant in this field. Not only is your modular approach easy to follow, but also the way you simplify each essential step and provide clear diagrams, making each video approachable for any skill level. (And, having lived in Deutschland für einige Jahre, und Englisch unterrichtet, muss ich ganz ehrlich sagen, dein English is absolut spitzenhaft! :) After years away from synths (due to work ;/), I've come full circle back to learning about them, to see what's current. The Euro Rack world has exploded since I first glanced at Doepfer Musikelektronik, GmbH (hey - another great German company :) ... and the world of electronics has become so much easier with stand-alone modules, microcontrollers, I2C, I2S, etc., the Arduino platform, and, of late, the Raspberry Pi. But especially useful is the amazing content on KZread. I've watched a ton of presenters here - your work is among the best. And I don't say that lightly. Since you're doing kits of your own and are already in the advanced stages of electronics design, I'd like to suggest a book for you (and your viewers, of course) - if you don't have it already. This 700-plus-pager is by one of the best (and oldest) experts in the field of audio: "Small Signal Audio Design, Third Edition, 2020" by Douglas Self, Routledge / Focal Press, ISBN 978-0-367-46895-8. It isn't a beginner's book. In fact, I'd say it's near the peak of the knowledge pyramid. And yet, anyone interested can learn from it, if they are persistent enough. It will improve designs, even those that aren't audio. By watching your videos, I've learned new things and remembered stuff I'd long forgotten. Just goes to disprove the old, (English) adage: you *can* teach an old dog new tricks :)) Dank You! Thanka Schoen! 😁 - Howard

  • @MoritzKlein0

    @MoritzKlein0

    Жыл бұрын

    hey howard, thanks for the nice comment, i appreciate it!

  • @ArchetypalCat

    @ArchetypalCat

    Жыл бұрын

    @@MoritzKlein0 you are most welcome, Moritz! I'm really enjoying watching your interesting work - it has given me some fun, new ideas. MfG -H

  • @randomaztec2208
    @randomaztec2208 Жыл бұрын

    Wow this is exactly what I needed to under compression

  • @blacklion79
    @blacklion79 Жыл бұрын

    Best explanation how basic compressor works I ever seen.

  • @acdnrg
    @acdnrg Жыл бұрын

    This is awesome. The bonus part, sidechain, also explains very well why sidechain filters only affect the control voltage and have no influence on the processed main audio signal. One look at the diagram is enough. Bravo!

  • @GerardoLeon-zd2kl
    @GerardoLeon-zd2kl Жыл бұрын

    So much dedication on this video. Thank you so much for making it, its so useful and wondrous!!

  • @michael-rommel
    @michael-rommel Жыл бұрын

    Thank you, Moritz, for this outstanding video! It was one of the best that I have seen in a long time! Very comprehensive and comprehensible!! Tempted to get your series of modules just to support you in this effort!!

  • @ulfschoneberg6452
    @ulfschoneberg6452 Жыл бұрын

    Toller klarer Stil, tolle Videos, danke Mortiz!

  • @wedkarzkosma
    @wedkarzkosma Жыл бұрын

    Thank you Moritz! Great explanation and I really like the animations you made.

  • @heslip7042
    @heslip7042 Жыл бұрын

    What a great video. The drawings and animations are fantastic. As an electrical engineer, I've very much enjoyed this.

  • @neekonsaadat2532
    @neekonsaadat2532 Жыл бұрын

    Moritz you are great. Thank you for all of your hard work to spread this knowledge!

  • @bobbysatya9312
    @bobbysatya9312 Жыл бұрын

    A compressor without led-ldr pair, transconductance opamp, or FETS? Damn, you've got to be a genius.

  • @BennosProject
    @BennosProject Жыл бұрын

    Its the first time i really understand what a crompressor does! Thank you!

  • @abhijithcpreej
    @abhijithcpreej Жыл бұрын

    Absolutely beautiful! I love these types of breakdowns!

  • @Anvilshock
    @Anvilshock Жыл бұрын

    More features? Let's see: - *pass controls for the feedback line, to make the compression dependent on the spectral characteristics of the signal. - normalize voltage against frequency to follow the energy density in the signal, rather than just peak amplitude.

  • @majordabalert
    @majordabalert Жыл бұрын

    Awesome video. I’ve been really interested in building a compression circuit so this is kind of a godsend. Really great video structure too. Thanks

  • @DrMoe.Lester
    @DrMoe.Lester Жыл бұрын

    I've been binging your videos. If only electronics at school was explained how you present it! Thank you so much for your efforts, looking forward to more videos.

  • @maxhouseman3129
    @maxhouseman3129 Жыл бұрын

    I am very impressed. The explanations and animations are top notch! Doing just digital circuits for living, that makes me smile 😍 Greets from an hw engineer

  • @kcbanner
    @kcbanner Жыл бұрын

    Have been watching this channel from the beginning, these animations are so good at explaining these concepts - this channel is a such a good resource!

  • @visionary4040
    @visionary4040 Жыл бұрын

    awesome video! love the animations, they make everything feel much more intuitive

  • @takislontras4563
    @takislontras4563 Жыл бұрын

    Finally !!! I was hoping you would touch the subject!! Awesome content my friend. My best youtube suggestion video in ages :)

  • @jorgezuniga3956
    @jorgezuniga3956 Жыл бұрын

    Genuinely very detailed and well taught. Thank you for showing this. Love the content!

  • @jregns
    @jregns Жыл бұрын

    Brilliant walk through and animations! I especially like the step by step explanation and problem solving when the next issue arise. Thanks! 😊✨

  • @mymodularjourney
    @mymodularjourney Жыл бұрын

    Great description of the functionality. Thanks for the video.

  • @alemassa6632
    @alemassa6632 Жыл бұрын

    Beautifully explained, you're a great speaker.

  • @FirstnameLastname-gl1hh
    @FirstnameLastname-gl1hh Жыл бұрын

    Very thorough easy to understand explanation, great job

  • @SeanPorio
    @SeanPorio Жыл бұрын

    Awesome video! Always super informative and well-explained. Hope you keep making more great videos this year!

  • @juppster5694
    @juppster5694 Жыл бұрын

    That was fabulous, thank you! I especially liked the 'rule of thumb' explanations around some of the feedback mechanisms, and the real-time 'scope traces of control and signal displayed together. The VCA is so simple and I wouldn't have thought of it - I'd be using something more complicated like a FET affecting an op-amp gain stage. In the olden days I think we might even have used a bulb-LDR optocoupler. Very nice work - thank you.

  • @hamlob
    @hamlob Жыл бұрын

    This is the best video I have ever seen

  • @rotoast8113
    @rotoast8113 Жыл бұрын

    Thank you so much for your videos. As an electrical engineering student I find it quite difficult to understand the fundamental (transistor, OpAmp) curcuits and their purpose in the real world. This helps a lot, because your explanations fit in so well with my current level of knowledge. Love your animations, too. :)

  • @delusionwalker8852
    @delusionwalker8852 Жыл бұрын

    Dude, you are amazing!!!!! You explain and show things just how I like it straight to the point, concise explanation no bullshit. Thank you so much!!!!!

  • @javierpiles
    @javierpiles Жыл бұрын

    Animations were very helpful for the explanation! Thanks!

  • @mats4011
    @mats4011 Жыл бұрын

    so much knowledge, well taught, with meaningfull explainations and stunning visuals. I learnt a lot. Thank you for this amazing work!

  • @electron7373
    @electron7373 Жыл бұрын

    Excellent presentation quality - you must put a lot of time and creative effort into each video. Thanks Moritz!

  • @Sharky_31
    @Sharky_31 Жыл бұрын

    The Grafiks are amazing. Well done

  • @stevenwilliams6258
    @stevenwilliams62582 ай бұрын

    Nice explanation. My initial thought was why compress? Don't you want a dynamic sound? But, as you explained, this can correct the balance of related instruments for a more desirable sound. I just happened to see this and clicked - I'm an audio listener, not a musician or recording engineer. Thanks!

  • @raphaelcochez3863
    @raphaelcochez3863 Жыл бұрын

    A full 5 star explanation on compression and electronic background explanation! A possible extension of this circuit could be mono/stereo compression or multi-band side-compression by splitting the signals. Great work!

  • @waporwave5066
    @waporwave5066 Жыл бұрын

    more straightforward than I would have thought, I could follow the thought process really well. I expected there to be a catch but it seems somewhat simple, maybe that's from how you explain it :)

Келесі