Designing a simple audio compressor from scratch

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 มิ.ย. 2024
  • 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 461

  • @UnwelcomeGuestVideos
    @UnwelcomeGuestVideos ปีที่แล้ว +471

    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  ปีที่แล้ว +31

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

    • @mbrombert
      @mbrombert ปีที่แล้ว +5

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

    • @c1ph3rpunk
      @c1ph3rpunk ปีที่แล้ว +5

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

    • @executorarktanis2323
      @executorarktanis2323 ปีที่แล้ว +1

      @@MoritzKlein0 Animation helped me a lot here thanks

    • @San.Tarcisio
      @San.Tarcisio ปีที่แล้ว +1

      animations super helped

  • @erich1394
    @erich1394 ปีที่แล้ว +135

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      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.888 3 หลายเดือนก่อน +7

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

  • @elluisito000
    @elluisito000 ปีที่แล้ว +104

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

    • @chrismathewsjr
      @chrismathewsjr ปีที่แล้ว +14

      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 ปีที่แล้ว +5

      @@chrismathewsjr lmaoo how does it go then

    • @dieSpinnt
      @dieSpinnt ปีที่แล้ว +8

      @@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 ปีที่แล้ว +1

      @@dieSpinnt holy thanks man

    • @matturner6890
      @matturner6890 ปีที่แล้ว +5

      @@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"?

  • @famitory
    @famitory ปีที่แล้ว +7

    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.

  • @punman5392
    @punman5392 ปีที่แล้ว +7

    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.

  • @chitlitlah
    @chitlitlah ปีที่แล้ว +9

    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.

  • @juanvicentedelrio716
    @juanvicentedelrio716 ปีที่แล้ว +23

    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 ปีที่แล้ว +14

    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.

  • @adamdev9391
    @adamdev9391 10 หลายเดือนก่อน +2

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

  • @BristlyBright
    @BristlyBright ปีที่แล้ว +17

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

  • @DiVoidationStudio
    @DiVoidationStudio ปีที่แล้ว +18

    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 ปีที่แล้ว +1

      Agreed awesome stuff

  • @SomeWeirdCat
    @SomeWeirdCat ปีที่แล้ว +8

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

  • @lettersnstuff
    @lettersnstuff ปีที่แล้ว +7

    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

  • @vinjetho1609
    @vinjetho1609 ปีที่แล้ว +23

    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!

  • @aduedc
    @aduedc ปีที่แล้ว +5

    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.

  • @JoseLuisGarcia1234
    @JoseLuisGarcia1234 ปีที่แล้ว +3

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

  • @longdongsilver4719
    @longdongsilver4719 ปีที่แล้ว +1

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

  • @abhijithcpreej
    @abhijithcpreej ปีที่แล้ว +1

    Absolutely beautiful! I love these types of breakdowns!

  • @visionary4040
    @visionary4040 ปีที่แล้ว +2

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

  • @GerardoLeon-zd2kl
    @GerardoLeon-zd2kl ปีที่แล้ว +1

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

  • @wedkarzkosma
    @wedkarzkosma ปีที่แล้ว +1

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

  • @Triggs-Music
    @Triggs-Music ปีที่แล้ว +5

    absolutely astonishing how well you put together this info.

  • @oveschleisner-meyer8139
    @oveschleisner-meyer8139 10 หลายเดือนก่อน +1

    I love your clear and visually decription - great.

  • @spencebarton2947
    @spencebarton2947 ปีที่แล้ว +4

    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.

  • @SeanPorio
    @SeanPorio ปีที่แล้ว +1

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

  • @michael-rommel
    @michael-rommel ปีที่แล้ว +1

    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!!

  • @alemassa6632
    @alemassa6632 ปีที่แล้ว +1

    Beautifully explained, you're a great speaker.

  • @gooball2005
    @gooball2005 ปีที่แล้ว +15

    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!

  • @jacobrepp787
    @jacobrepp787 ปีที่แล้ว +13

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

  • @majordabalert
    @majordabalert ปีที่แล้ว +3

    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

  • @FirstnameLastname-gl1hh
    @FirstnameLastname-gl1hh ปีที่แล้ว +1

    Very thorough easy to understand explanation, great job

  • @ulfschoneberg6452
    @ulfschoneberg6452 ปีที่แล้ว +1

    Toller klarer Stil, tolle Videos, danke Mortiz!

  • @spiesonmars
    @spiesonmars ปีที่แล้ว +1

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

  • @javierpiles
    @javierpiles ปีที่แล้ว +1

    Animations were very helpful for the explanation! Thanks!

  • @camjones9213
    @camjones9213 ปีที่แล้ว +1

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

  • @neekonsaadat2532
    @neekonsaadat2532 ปีที่แล้ว +1

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

  • @PeterJaquesMusic
    @PeterJaquesMusic ปีที่แล้ว +1

    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!

  • @jregns
    @jregns ปีที่แล้ว +1

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

  • @5eZa
    @5eZa ปีที่แล้ว +8

    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  ปีที่แล้ว +1

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

    • @5eZa
      @5eZa ปีที่แล้ว +2

      @@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

  • @takislontras4563
    @takislontras4563 ปีที่แล้ว +1

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

  • @joshuakendall3965
    @joshuakendall3965 ปีที่แล้ว +1

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

  • @TheBigChoppa
    @TheBigChoppa ปีที่แล้ว +2

    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!

  • @jorgezuniga3956
    @jorgezuniga3956 ปีที่แล้ว +1

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

  • @electron7373
    @electron7373 ปีที่แล้ว +1

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

  • @infantino93
    @infantino93 ปีที่แล้ว +1

    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.

  • @mats4011
    @mats4011 ปีที่แล้ว +1

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

  • @kcbanner
    @kcbanner ปีที่แล้ว +1

    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!

  • @frankjrgensen1439
    @frankjrgensen1439 ปีที่แล้ว +2

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

  • @blacklion79
    @blacklion79 ปีที่แล้ว +1

    Best explanation how basic compressor works I ever seen.

  • @marouaniAymen
    @marouaniAymen ปีที่แล้ว +1

    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.

  • @mymodularjourney
    @mymodularjourney ปีที่แล้ว +1

    Great description of the functionality. Thanks for the video.

  • @xpump876
    @xpump876 ปีที่แล้ว +1

    Nice explanation and walk-thru !

  • @moliver_xxii
    @moliver_xxii ปีที่แล้ว +1

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

  • @DrMoe.Lester
    @DrMoe.Lester ปีที่แล้ว +1

    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.

  • @2012TheAndromeda
    @2012TheAndromeda ปีที่แล้ว +1

    This is so elaborate and well explained. Wow. The animations are great too. Thank you!

  • @cspower7259
    @cspower7259 7 หลายเดือนก่อน +1

    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.

  • @markhammer643
    @markhammer643 ปีที่แล้ว +15

    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 ปีที่แล้ว +2

      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 ปีที่แล้ว +1

      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.

  • @kernealalpiniste6293
    @kernealalpiniste6293 ปีที่แล้ว +1

    The animation is great ! Really helps
    Great videos, as always !

  • @delusionwalker8852
    @delusionwalker8852 ปีที่แล้ว +1

    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!!!!!

  • @AMTunLimited
    @AMTunLimited ปีที่แล้ว +2

    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

  • @Zadagu
    @Zadagu ปีที่แล้ว +1

    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.

  • @McTroyd
    @McTroyd ปีที่แล้ว +1

    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. 👍

  • @Signal_Glow
    @Signal_Glow ปีที่แล้ว +5

    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.

  • @JamesPearson
    @JamesPearson ปีที่แล้ว +101

    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  ปีที่แล้ว +5

      let me know how it went once you do!

  • @anthonyhart7878
    @anthonyhart7878 ปีที่แล้ว +2

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

  • @vicopujia
    @vicopujia ปีที่แล้ว +1

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

  • @kevinknutson4596
    @kevinknutson4596 ปีที่แล้ว +1

    Your visualizations are wonderful and these videos help get my head around a lot of EE concepts xD

  • @AndersWeijnitz
    @AndersWeijnitz ปีที่แล้ว +2

    Best compressor walk-through on Earth!

  • @Sharky_31
    @Sharky_31 ปีที่แล้ว +2

    The Grafiks are amazing. Well done

  • @kellerdev2905
    @kellerdev2905 ปีที่แล้ว +5

    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!

  • @doBobro
    @doBobro ปีที่แล้ว +2

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

  • @cadflo
    @cadflo ปีที่แล้ว +1

    Thank you so much for this!! Ive been waiting for this type of video to start making my own comp. Time to get to work!!

  • @Scanlaid
    @Scanlaid ปีที่แล้ว +5

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

  • @prsm3
    @prsm3 ปีที่แล้ว +5

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

  • @francescoprontera9957
    @francescoprontera9957 ปีที่แล้ว +1

    Amazing work ! Wanna see more of this in the future ! Keep going man

  • @victorsantanpagay5811
    @victorsantanpagay5811 ปีที่แล้ว +1

    Wow it's very simple at the same it's very effective good work sir

  • @autofigure00
    @autofigure00 ปีที่แล้ว +1

    youre videos are extremely helpful and a major godsend

  • @heslip7042
    @heslip7042 ปีที่แล้ว +3

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

  • @jas_bataille
    @jas_bataille ปีที่แล้ว +1

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

  • @brunohaas3421
    @brunohaas3421 ปีที่แล้ว +1

    This just helped me so much in understanding compression, thank you!

  • @laptoprecai
    @laptoprecai 8 หลายเดือนก่อน +1

    I just discovered your channel and loved it! Great stuff man please keep up the great work!!

  • @CircularMirror7
    @CircularMirror7 ปีที่แล้ว +3

    Another great video. Loving the Animations. 🔥 🔥 Luckily my DIY system needs a analog compressor. Happy new year 🎉

  • @juppster5694
    @juppster5694 ปีที่แล้ว +1

    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.

  • @manobabicz
    @manobabicz ปีที่แล้ว +5

    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.

  • @railfilm
    @railfilm ปีที่แล้ว +28

    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  ปีที่แล้ว +13

      good call, will add!

    • @timbeaton5045
      @timbeaton5045 ปีที่แล้ว +4

      @@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.

  • @maxhouseman3129
    @maxhouseman3129 ปีที่แล้ว +1

    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

  • @AngadBagga
    @AngadBagga ปีที่แล้ว +1

    I finally understood what a VCA is. Thanks.

  • @JonDeth
    @JonDeth 8 หลายเดือนก่อน +2

    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.*

  • @cwrigh13
    @cwrigh13 10 หลายเดือนก่อน +3

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

  • @DrTacoPHD665
    @DrTacoPHD665 ปีที่แล้ว +1

    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.

  • @MrShmazoo
    @MrShmazoo ปีที่แล้ว +4

    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!!

  • @DjDoggDad
    @DjDoggDad 2 หลายเดือนก่อน +1

    Figuring out how to make a sidechaininng compressor has been on my radar of projects i'd like to do and then stumbled across this awesome video! Thank you so much!

  • @waporwave5066
    @waporwave5066 ปีที่แล้ว +1

    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 :)

  • @jimgoodinmusic
    @jimgoodinmusic ปีที่แล้ว +1

    Moritz great one! I will add this one to my build list and it gives me some confidence to do it having built your VCA. The side chaining feature is cool in this - I don't know the term but I believe I have heard the effect. I've still got to finalize the breadboard version of your ADSR - still playing with and understanding a bit. Thanks for being a great teacher and resource for the DIY mod community!

  • @acdnrg
    @acdnrg ปีที่แล้ว +1

    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!

  • @Blah53455
    @Blah53455 ปีที่แล้ว +1

    DUDE SUPER SLOW CLAP, what and amazing video, i will be sharing this over and over again brother, I love the way you even went in depth on the parts you ended up changing . This just doesn't just show you something , it shows you why you chose to coarse correctly . What an amazing video. I'm so pumped to see your others .

  • @YanDoroshenko
    @YanDoroshenko ปีที่แล้ว +1

    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.

  • @thomashowe855
    @thomashowe855 ปีที่แล้ว +1

    I have been looking for a way to make a diy compressor. Thanks Moritz!

  • @danweston6109
    @danweston6109 ปีที่แล้ว +1

    This is awesome dude. Subscribed!