Movie Music has a LOUD PROBLEM! So I fixed that! (Automatic Volume Adjuster)

Поделиться
HTML-код
  • Опубликовано: 31 май 2024
  • Visit Brilliant.org and get a 20% discount: Brilliant.org/GreatScott/
    Previous video: • How far can I Wireless...
    Facebook: / greatscottlab
    Twitter: / greatscottlab
    Support me for more videos: www.patreon.com/GreatScott?ty=h
    Altium Designer: altium.com/yt/greatscott!
    More project information (schematic, code, pictures,.....) on Instructables & Patreon: www.instructables.com/Automat...
    / 56653728
    Parts list (affiliate links):
    LiPo Battery: s.click.aliexpress.com/e/_ASwccg
    amzn.to/3EcECjz
    Charge/Protect board: s.click.aliexpress.com/e/_d7Z...
    amzn.to/3AagCuT
    Switch: s.click.aliexpress.com/e/_9AUg2y
    amzn.to/2Xb67ZD
    3.3V regulator: s.click.aliexpress.com/e/_AAYr2o
    amzn.to/3kaAwQR
    Capacitors: s.click.aliexpress.com/e/_dU4...
    amzn.to/3llj23v
    Resistors: s.click.aliexpress.com/e/_dTP...
    amzn.to/3lmbRIy
    Electret Mic: s.click.aliexpress.com/e/_AP8fDA
    amzn.to/3zeyovE
    OpAmp: s.click.aliexpress.com/e/_dTv...
    amzn.to/3AcMD5p
    Potentiometer: s.click.aliexpress.com/e/_A7tN0k
    amzn.to/3EqTevR
    Arduino Pro Mini: s.click.aliexpress.com/e/_AmcdA0
    amzn.to/3C7vBq3
    IR LED: s.click.aliexpress.com/e/_AMJj6s
    amzn.to/3nv06Sy
    Red LED: s.click.aliexpress.com/e/_dV6...
    amzn.to/3hyj07j
    In this project I will solve one of the biggest problems I have with modern movies. The problem is that the conversation volume is way too low in comparison to the music volume. That is why I combined an Arduino microcontroller with a microphone and an IR LED in order to create an automatic volume adjuster. It basically detects when loud movie music starts playing, lowers the volume and then brings the volume back up when the music is over. Let's get started!
    Websites which were shown in the video:
    ww1.microchip.com/downloads/e...
    www.advanced-monolithic.com/pd...
    Thanks to Brilliant.org for sponsoring this video.
    Music:
    2011 Lookalike by Bartlebeats
    0:00 The problem with movie music
    1:20 Intro
    2:17 Volume control + sound measurement
    3:06 Hardware design around uC
    5:26 IR codes for volume
    5:39 ADC settings for audio sampling
    6:23 Algorithm for detecting loud movie music
    8:21 Arduino code
    9:10 Final test & verdict
  • НаукаНаука

Комментарии • 2 тыс.

  • @met9009
    @met9009 2 года назад +771

    When I did some research a few years back on this, I ended up with the conclusion when the movie audio is mixed the voice is on the center channel. In a system with a center you can turn the center up and the left and right down, this also fixes the problem. I forgot to add cool project though!

    • @minitoe
      @minitoe 2 года назад +27

      I was thinking the same, make sure you're using the right output/input on the player and receiver/soundbar so the center audio is actually on your center speaker (with the right volume if you can).

    • @CDinkle
      @CDinkle 2 года назад +4

      Would switching to mono fix this problem?

    • @ikannunaplays
      @ikannunaplays 2 года назад +106

      It's cause the playback device is sending with an assumption it's connected to a 5.1+ surround sounds system and these days the stereo audio is just a basic left & right channel downmix which makes the center channel weak which is where most vocal performance is set as. Movie companies have gotten complicit in not doing a proper stereo mix and instead are doing a lazy left + right channel mix which leaves vocals low for those who do not use a surround sound system (which is most of us)

    • @trulsvian
      @trulsvian 2 года назад +46

      Just watched blade runner on a surround system and it was fine. Dissconected the center and i get the described problem. Easier solution would be to setup your devices propper.

    • @ikannunaplays
      @ikannunaplays 2 года назад +42

      @@trulsvian Change the audio track to stereo and leave the center disconnected, if the movies stereo audio was mixed properly the vocals should be clear and crisp. More often these days it's not lack of devices being setup properly it's the company that compiled the disc.

  • @peter.stimpel
    @peter.stimpel 2 года назад +296

    Now one should add a detection for broadcaster logos, and if none is detected (aka advertisements are running), shutdown the volume. This could be used as well to create some stats about the broadcasters ad policy. Thanks for the idea on how to fix the basic, very annoying problem in the first place.

    • @TheHellis
      @TheHellis 2 года назад +11

      With a Chromecast it's quite easy to detect the advertisements.
      Look at the media position, if it's still but still in playing mode then it's adverts.

    • @ahmedelwan9129
      @ahmedelwan9129 2 года назад +5

      @@TheHellis how tell me plz i am sick of youtube playing long ads on my tv :(

    • @tanmay______
      @tanmay______ 2 года назад +3

      I think someone has already solved this problem with a Pi.

    • @Waitwhat469
      @Waitwhat469 2 года назад

      the nice thing about this feature:
      it can detect built-in ads

    • @kyoudaiken
      @kyoudaiken 2 года назад +15

      Not watching TV since 2016 and feeling much better in general.

  • @vwestlife
    @vwestlife 2 года назад +339

    Virtually all DVD and Blu-ray players have a Dynamic Range Compression option to reduce the difference in volume between the loudest and quietest parts of a movie. It's a shame that AFAIK, streaming services don't have this feature. Some TVs also have a similar feature in their audio options. And there are ready-made TV volume regulator devices, although all of the ones I've seen only connect via standard analog line-level audio, not HDMI.

    • @heywoodjabozoff9383
      @heywoodjabozoff9383 2 года назад +8

      my Samsung TV and Yamaha receiver have something like this; they are not "dynamic" enough to put an end to the "loudness war"!

    • @richardbishopfenn3913
      @richardbishopfenn3913 2 года назад +6

      I always find DRC lacking, it takes it's time to adjust and the level it sets is never quite where I want it.

    • @MrSwanley
      @MrSwanley 2 года назад +7

      All Blu-Ray movies come with multiple audio tracks, e.g. DTS-HD, DTS, and stereo. The one that usually works best for me is the DTS one.

    • @richardbishopfenn3913
      @richardbishopfenn3913 2 года назад +1

      @@MrSwanley Thank you, I'll explore that!

    • @orhankucuksahnoglu9296
      @orhankucuksahnoglu9296 2 года назад

      9p

  • @OverlandOne
    @OverlandOne 2 года назад +5

    Excellent! Every movie I have seen in the past year has been like this. I can barely hear the voices when people are talking and then the music comes on and blasts me out of my chair. It does the same thing no matter if I watch on my computer, or the tv. Well done Sir.

    • @hepphepps8356
      @hepphepps8356 2 года назад

      Change to the correct sound format for your setup. User error.

  • @Jones12ax7
    @Jones12ax7 2 года назад +107

    I think that an audio compressor would be a better approach. It would reduce the dynamic range of the original audio.

    • @kenmore01
      @kenmore01 2 года назад +4

      @@tiny_toilet How, with HDMI audio? You could do it in the analog path, but not sure about distortion, balance etc.

    • @needles23
      @needles23 2 года назад +7

      I agree, I straight away thought that a simpler solution would be to just put a stereo compressor in the analogue signal path. Ok, still not exactly simple, but nothing he couldn't handle. Besides, there are tons of schematics available for compressors out there on the interwebs.

    • @glennjones6574
      @glennjones6574 2 года назад +4

      Dynamic range is what makes recorded sound realistic

    • @yoctoflop
      @yoctoflop 2 года назад +30

      @@glennjones6574 That's great and all, but most people don't want to hear an explosion at its intended volume.

    • @gqh007
      @gqh007 2 года назад +2

      @@glennjones6574 depends on the compression duration parameters

  • @ColdSphinX
    @ColdSphinX 2 года назад +207

    An audio compressor does exactly what you wanted without sending IR signals to slowly lower/rise the volume.

    • @drumandbassob0007
      @drumandbassob0007 2 года назад +47

      yer i just use the compressor on vlc player to do the same thing , in my opinion the movie industry should do 2 audio mixes , 1 for the movie theatre and 1 for home because if you have neighbours or family in other rooms the dynamic range is far to big for watching at home it should be a lot less

    • @nbd712
      @nbd712 2 года назад +16

      On my main tv, since it's all mixed down to stereo anyway I just throw it all through a compressor and squash it to hell. Much easier than adjusting the volume all the time.

    • @PumpkinDog33
      @PumpkinDog33 2 года назад +10

      Yeah this is like using a camera and colored lights pointed at your TV to fix the tint on the picture.

    • @foxphire0093
      @foxphire0093 2 года назад +3

      @@drumandbassob0007 they do exactly that already, but the reason they seem like it was mixed for a there is, and this is just a guess, they don't put in the work necessary for playtesting it in an equivalent environment because that would eat up budget for a seemingly small gain, people are going to buy the movie either way. its a really interesting economics case really (I'm in microecon rn in college, so my brain thinks this way on top of my engineering economics)

    • @nicewhenearnedrudemostlyel489
      @nicewhenearnedrudemostlyel489 2 года назад +3

      @@foxphire0093 if they did exactly that already, we wouldn't all have the problem of the range being so large. You are in college?

  • @stuart8taylor
    @stuart8taylor 2 года назад +64

    As we know MOST dvds come with a few soundtrack options (even if it's just different languages). It would be great if they included a track for people who's hearing has deteriorated, where the music is backed off so you can hear the dialogue.

    • @johnlshilling1446
      @johnlshilling1446 2 года назад +4

      Yeah, that's my problem. Approximately a decade ago, I searched for remedies. I found none. Time to research again!

    • @Variety_Pack
      @Variety_Pack 2 года назад +7

      Annoyingly most of this problem stems from the fact that soundbars are very popular, yet the movie industry hasn't figured that out. If they would mix audio to work with soundbars, or just provide compressed audio levels, it would solve the problem for both me and you! Hollywood is populated with idiots, though.

    • @johnlshilling1446
      @johnlshilling1446 2 года назад +1

      @@Variety_Pack That last sentence is straight outta the mouth of a Wiseman.

    • @peterbelanger4094
      @peterbelanger4094 2 года назад

      The studios don't want to spend the money on the extra people to re-mix all the audio for home listening.
      Not to mention that they probably have big incentives to keep the theater audio mixing, as to encourage more sales of high end home theater equipment.
      There's not much money in making it sound good on cheap 2.1 audio. Gotta spend $50K on the whole setup.

  • @jackwilliams2010
    @jackwilliams2010 2 года назад +1

    Your talent and experience never disappoint me. It doesn't surprise me you had to spend extra time to get it right. No easy way to get around the complexity to solve this problem. Very nice you were able to get it into a single circuit!

  • @DiscoLucas
    @DiscoLucas 2 года назад +65

    I love that this guy seemingly unknowingly made an external limiter. I definitely agree that the stereo mastering of movies and som tv shows have become quite bad in the last decade or so. It feels like they just take the surround sound master downmix it to stereo, completely ignoring the fact that stereo doesn't have the same dynamic range.

    • @AstoundingAmelia
      @AstoundingAmelia 2 года назад +6

      they don't even do that, its just 5.1/7.1 and is left to the device/service to handle the down-mixing so its kinda a shitshow

    • @gregorszczypek9813
      @gregorszczypek9813 2 года назад +3

      It's actually a compressor not a limiter.

  • @mkpleco
    @mkpleco 2 года назад +4

    This is great! Thank you for showing us how to set this up. Back in the day, I had to get up off the seat to turn it down, now I just read the subtitles.

  • @rubabmubarrat
    @rubabmubarrat 2 года назад

    This video made my day. I can't explain how creative you're getting nowadays. Greetings from 🇧🇩

  • @paradox3875
    @paradox3875 2 года назад +162

    Very interesting approach to have a physical solution to an issue usually dealt with over software!

    • @greatscottlab
      @greatscottlab  2 года назад +17

      Thank you :-)

    • @iamdmc
      @iamdmc 2 года назад +5

      what kind of software can handle this? Looking for a solution on PC

    • @paradox3875
      @paradox3875 2 года назад +15

      Windows has a feature called loudness Equalization, there's no such thing for most TV's as far as im aware
      If the former is still interesting for you :
      Hit Windows key
      type "sound settings" and hit enter
      On the "related settings" tab hit "sound control panel
      Click your output device, then hit "properties"
      Open the "enhancements" tab and scroll down the effect list
      Turn on "loudness Equalization" and apply settings
      Some more modern TV's might have something similar to this

    • @iamdmc
      @iamdmc 2 года назад

      @@paradox3875 doesn't work for all sound cards :( didn't work on my ThinkPad T480s

    • @ReFreshRC
      @ReFreshRC 2 года назад +1

      @@iamdmc there's usually no problem with mixing, but with your speaker configuration. You have to use 5.1 system or correctly map 5.1 sound to your 2.0 system (boost front channel, split it between front speakers)

  • @justengardner6398
    @justengardner6398 2 года назад +8

    I have been wanting something like this for years!!! It is good to know that I’m not the only one who has to constantly adjust the volume on EVERYTHING I watch. I would love to see further development of this idea.

  • @captiveimage
    @captiveimage 2 года назад +1

    What a spectacularly awsome project. Its such a monster pain in the butt having to do this. I've no idea why this feature isn't built into amps as standard. I've been looking for a new project and this is the one. Thank you 😊

  • @andrewbarney5503
    @andrewbarney5503 2 года назад +2

    Thank you! TVs have needed this built in for 20 years! I've been dreaming of this day!

  • @xitee6258
    @xitee6258 2 года назад +107

    But the real problem is that every time when changing the volume, the volume bar comes up and blocks the vision.

    • @gfilion
      @gfilion 2 года назад +19

      He seems to be using a sound bar, in that case it doesn’t show anything on screen when changing the volume.

    • @ryancappo
      @ryancappo 2 года назад +2

      It works better controlling a stereo receiver.

    • @jefferylarson3218
      @jefferylarson3218 2 года назад +2

      That's why you use a line level device. No need for activating the remote at all.

    • @3nertia
      @3nertia 2 года назад

      @@jefferylarson3218 Which is more what my version for earbuds and headphones will be like heh

    • @ddoswashere
      @ddoswashere 2 года назад

      Get a Sony Bravia 2020 and the volume bar is so minimal it doesn’t interfere with the picture like past TVs.

  • @mickeybrand
    @mickeybrand 2 года назад +9

    I've always admired the quality of your videos but they're just getting better and better. The shots of you talking are well composed and super professional! Well done brother! Can't wait for more.

  • @oddjobbob8742
    @oddjobbob8742 2 года назад

    Your builds are simply GREAT!, Scott!!

  • @mikeberger1688
    @mikeberger1688 2 года назад +1

    I've been complaining about this for years. The lack of compression/limiting in digital sources. Great channel !

    • @hepphepps8356
      @hepphepps8356 2 года назад

      Lack of compression? What? There is too little compression now?

  • @Jedda73
    @Jedda73 2 года назад +5

    My old Marantz SR5000 home theatre amp had a similar function called midnight, for watching movies late at night without disturbing people. As well as prevent any loudness past a chosen level, it also flattened the sound frequency to quiet down the sub and tweeters.

    • @kenmore01
      @kenmore01 2 года назад

      So does my Sony. It's called "night mode" or something like that. Useless!

    • @Jedda73
      @Jedda73 2 года назад +1

      @@kenmore01 Thats a shame, the Marantz one was pretty good.

  • @RFX01
    @RFX01 2 года назад +194

    Well, that's an unconventional way to build a compressor. Bonus points for creativity though.

    • @fmphotooffice5513
      @fmphotooffice5513 2 года назад +19

      Not exactly a compressor, but a triggered, temporary IR audio attenuator. A compressor would squash everything- an undesirable effect watching movies.

    • @giuseppebonatici7169
      @giuseppebonatici7169 2 года назад +7

      ​@@fmphotooffice5513 in audacity, a compressor only compresses above a defined threshold, by a defined ratio.

    • @rishiktiwari
      @rishiktiwari 2 года назад +20

      A compressor with super slow attack and release would give similar result. Especially when chained with a limiter.

    • @user255
      @user255 2 года назад +6

      I don't see conventional method for implementing this to "smartTV" without external audio system.

    • @rishiktiwari
      @rishiktiwari 2 года назад

      @@user255 Yes

  • @taylorboultinghouse8296
    @taylorboultinghouse8296 2 года назад

    Great project! Major props for going above and beyond to make a smart remote.
    I want to attempt this project. Thanks for the inspiration, oh wise one!

  • @ohokcool
    @ohokcool 2 года назад

    I'm so glad you said this about Bladerunner, I had to watch with a compressor on and I thought I was being super OCD, but it really was so quiet in conversation scenes, then incredibly loud in music scenes

  • @martontichi8611
    @martontichi8611 2 года назад +97

    The problem is that your TV is downmixing the 5.1 sound to stereo improperly. The center channel needs to be louder and left right channels need to be quieter. VLC's default settings are quite good

    • @TheRevWillNotBeTelevised
      @TheRevWillNotBeTelevised 2 года назад +31

      While this is true to an extent, they do mix the sound effects and music a lot louder as a 'creative choice' too.

    • @greatscottlab
      @greatscottlab  2 года назад +29

      But I have a soundbar + 2 rear speakers and subwoofer. I think it should do a better job with that.

    • @Joe-so6su
      @Joe-so6su 2 года назад +9

      @@TheRevWillNotBeTelevised Yea a more recent movie Tenet has this problem. The center voice channel is quieter and even hard to listen to at some points. Seems to be a thing with Christopher Nolan films.

    • @axeman2638
      @axeman2638 2 года назад

      it's probably more to do with MPG audio compression than any intent on the part of the producers.

    • @DavidBDMyers
      @DavidBDMyers 2 года назад

      @@greatscottlab Is your sound bar an LCR soundbar, or does it just have stereo?

  • @kenmore01
    @kenmore01 2 года назад +114

    Dude, this is actually stunningly brilliant! I made a stereo automatic volume control for movies about thirty years ago. Basically, it used a voltage controlled volume IC, an op amp, a diode, a capacitor etc. Once the volume went above a certain level (no waiting), it instantly turned the volume down. Then as it went quiet, it slowly (maybe about five seconds) turned it back up. It was AWESOME!!
    Years went by. Stereo turned into surround sound. Audio went to HDMI and I have been looking for such a device for years! I never thought to use an Arduino to emulate the remote control! I would use the actual audio rather than "listening with a mic", but that's actually a pretty good idea too in it's simplicity. I may just do that.
    This may be a life changer for me, Thank you!!! Have a great weekend. 👨‍🦳

    • @greatscottlab
      @greatscottlab  2 года назад +13

      Thanks for the feedback✌ Glad you liked it

    • @nickwallette6201
      @nickwallette6201 2 года назад +10

      A line level solution would have one big advantage: Line level is fixed. So, you can still set your volume to whatever level you want, and it’ll adjust relative to that, since the threshold detection is based on absolute levels that are independent of listening levels.

    • @NaoPb
      @NaoPb 2 года назад +1

      @@nickwallette6201 I wonder if it would be possible to convert GreatScott!'s design into a line level solution. That would be nice, also for PC audio devices, like the volume differences between youtube videos (and ads) and such.

    • @harrison00xXx
      @harrison00xXx 2 года назад

      What about a proper AV Receiver?
      By controlling center volume you can basically improve voices enough to make the loud music fitting better
      And if you are really a fan of dynamic compression, well they also do it a lot better and individual for every channel

    • @kenmore01
      @kenmore01 2 года назад +1

      @@harrison00xXx Sometimes the producers mix it in a way that no matter what you do, the speech is unintelligible and the sound effects are overpowering. Especially if you have close neighbors like in an apartment and especially especially late at night.

  • @thejandaebuildlog
    @thejandaebuildlog 2 года назад +14

    Man this is amazing, it’s amazing that you get to make something to solve a problem you encounter

  • @dwindeyer
    @dwindeyer 2 года назад +10

    What's interesting to me is that this issue was fixed in 1996 when DVD was released. All players had dynamic range control by default. You could choose to experience the original theatre dynamics or to have it modified to suit the home environment. Since then the problem has come back with the advent of bluray and streaming services.

    • @ErakkoPapu
      @ErakkoPapu 2 года назад

      On semi related note. Fuck Blu-ray and it's huge licensing fees. They are the reason why blu-ray drives and even the discs themselves are so expensive. Also the reason why it isn't even to this day, very popular way to release smaller budget stuff. Every PC used to have DVD player, everyone had player at home (that you could buy for 20$ new) everything was released on dvd. You don't see that with blu-ray. Sure consoles support the tech but you need ps5 or xbsx for UHD and even they are still hard to get (not as hard as during the launch but still ridiculous). Streaming is probably biggest reason why physical media is dying but for people who want higher quality, it sucks to spend so so much more money just because of greedy companies. I wish hd dvd won.

    • @SuperPickle15
      @SuperPickle15 2 года назад

      bluray players are cheap as hell now. Now UHD players are still expensive... but most people arent buying physically media anymore except enthusiasts. It's like complaining laserdisc was too expensive in the 80's, while everyone use the inferior quality VHS. The general population don't care enough about quality when their are cheaper options. DVD was a huge success because the technology quickly drove prices down, and the discs were vastly cheaper to produce than tape. But there simply wasn't huge jump between dvd to blueray, or by extension HD dvd, for the general population to care. So the cost simply remained high for a long time, which further delayed adoption. Basically HD dvd would suffered the same fate as bluray if it won the format war.

  • @e_neko
    @e_neko 2 года назад +1

    I've been having components ready for just this thing! What I didn't have ready is the IR library, and trying to catch (and replicate) the IR codes by oscilloscope is extremely annoying. Think now I can actually implement it. Thank you so much!

  • @t1d100
    @t1d100 2 года назад +16

    Look up the terms "audio limiter" and "audio compressor." Great vid.

  • @pottieleon
    @pottieleon 2 года назад +6

    YES! I've had this problem for years with so many movies and TV series! always thought about a variable gain compensation, cutting off peaks and raising low volume. thanks!

    • @Mr_ToR
      @Mr_ToR 2 года назад

      this feature have been awailable since the 80s (at least I know since 80s) back then it was called loudness. now it's called dynamic compression or acoustic compression or comp or night mode. TV's have this as well as amplifiers. I'm not talking about logitech computer speakers though however you can use a plugin or software or media player to do this on your computer too. you don't need a device to do this. just don't use the stupid soundbars.

  • @Aerospaceman
    @Aerospaceman 2 года назад

    Televisions in the old days had one speaker, today they can hook up to multiple sound systems. However even some of today's TV's still lag behind sound control. Movies are made with huge Cinemas in mind and it causes issue with those trying to hear voices over the background. Glad you're working on this issue. Good video!

  • @metalosaur
    @metalosaur Год назад

    As a spare time diy music gear builder, I am astonished by this presentation of your creativity and dedication to making your own life harder instead of using an audio compressor.

  • @rpeetz
    @rpeetz 2 года назад +8

    Most TVs nowadays have built in audio level normalizer, mine even have a mode for night time(which makes everything really quiet) and day time(which raises up the low audo level moments), but this project inspired me to make my twist which is replacing the "volume pod" (and the potentiometer) with a really fancy, microcontrolled automatic volume control.

    • @MilesProwerTailsFox
      @MilesProwerTailsFox 2 года назад +1

      i have a big one from 2010 and has an audio normalizer xd

    • @greatscottlab
      @greatscottlab  2 года назад +5

      I should look for such an option on my TV.

    • @agsolarpower5975
      @agsolarpower5975 2 года назад

      @@greatscottlab Of course 👍

    • @toms4123
      @toms4123 2 года назад

      The night time /speech preference on my sonos bar have no discernible/beneficial effect.

    • @southerncharity7928
      @southerncharity7928 2 года назад

      @@toms4123 Sonos is trash

  • @demirmahir
    @demirmahir 2 года назад +57

    I know that this is electronics channel, but having a compressor/limiter on the audio path is way more simpler and without having to hear the loudness until this makeshift device adjust the volume.

    •  2 года назад +3

      I actually built that for in my bedroom :-). It's hard to do with modern digital audio systems though, especially when the audio path goes via HDMI.

    • @HappyMathDad
      @HappyMathDad 2 года назад +1

      @ I have been playing with modify and alsa with a raspberry. And I think it is totally doable.

    • @TheOleHermit
      @TheOleHermit 2 года назад +1

      @ Yes, I was just trying to figure out how to use an HDMI breakout adapter with a 5.1 AV receiver and a fiberoptic audio connection to the TV.😜

    •  2 года назад

      @@HappyMathDad I wanted to make it 100% analogue for my project. Worked out great, just limited to 3.5mm jack plugs.

    • @ErlukaniMusic
      @ErlukaniMusic 2 года назад +1

      Compression is great for smoothing peaks and bringing out hidden elements, but in this case I think his approach (volume automation) might be superior. Especially if you have prolonged periods of time of just talking or just music. Maybe a hybrid approach might be even better

  • @enriquegutierrez7965
    @enriquegutierrez7965 2 года назад

    Scott as an electrical engineer i admire that you always take a hardware approach! thank you so much for such a great video

  • @almosh3271
    @almosh3271 2 года назад

    Hi, I just came acroos your video. I am totaly impressed with your project. Way to go and two thumbs up !!!

  • @heywoodjabozoff9383
    @heywoodjabozoff9383 2 года назад +11

    I've been dreaming of this for 15+ years. I was thinking of using guitar compression petals to do this; never got to it.
    Thank you!

    • @heywoodjabozoff9383
      @heywoodjabozoff9383 2 года назад

      @Ken Mason i was too excided!

    • @ruthlesscutthroat4030
      @ruthlesscutthroat4030 2 года назад +1

      I used to use my dpr402 compressor, then downloaded the waves plugin version. does the exact same thing and I don't have to patch in hundred different cables. yey!

    • @SpektralJo
      @SpektralJo 2 года назад

      @@ruthlesscutthroat4030 you most certainly don't need paid plugins for this job

    • @ruthlesscutthroat4030
      @ruthlesscutthroat4030 2 года назад

      @@SpektralJo so get free ones... eh.

  • @simoneazzoni3882
    @simoneazzoni3882 2 года назад +160

    i thought you would have "just" altered the output from an AUX cable to a speaker, this is quite more interesting nice :D

    • @Sebazzz1991
      @Sebazzz1991 2 года назад +17

      That wouldn't work for any digital audio format or multi-channel audio.

    • @99Duds
      @99Duds 2 года назад +2

      I was thinking he would build a line level out auto adjustment circuit.
      Could even make it work with digital and mutil-channel if you want to deal with the complexity.

    • @stepheneyles2198
      @stepheneyles2198 2 года назад +2

      This could be hacked by some naughty family member to change the channel when it detects music, or even turn the TV off altogether! Could have great fun with that I think!

    • @krzysztofczarnecki8238
      @krzysztofczarnecki8238 2 года назад

      @@99Duds And there would be less lag, as you can change the gain instantly instead of waiting for the device to receive several consecutive IR commands.

  • @markandash2009
    @markandash2009 2 года назад +1

    You couldn't be more right about this, I have tried surround sound, sound bars, changing setting after setting and every thing in between.
    Would be nice if there was a product I could buy as not every one is capable of building one of these.
    Brilliant idea still, maybe manufacturers will catch on and add some thing like this to their equipment from factory.
    Genius!!!

  • @sinjhguddu4974
    @sinjhguddu4974 2 года назад

    GS, your studio is WOW!

  • @stcredzero
    @stcredzero 2 года назад +15

    Yeah! I constantly turn the volume up and down during lots of movies as well! Of course, there are software options as well. VLC has a compressor, which can be adjusted to reduce the dynamic range of volume peaks. Hmm. It seems like you basically implemented a compressor!

    • @TheLightningStalker
      @TheLightningStalker 2 года назад

      I affectionately refer to it as British audio engineering. The dialogue is practically inaudible while sound effects, screaming, and music are at extremely high volumes. You can actually implement a fix using only an op-amp circuit but it only works directly on an audio signal and won't be able to change the volume control on amplified speakers.

    • @SproutyPottedPlant
      @SproutyPottedPlant 2 года назад

      It’s not a British problem.

  • @lalitpal6797
    @lalitpal6797 2 года назад +9

    It is something like automatic gain control (AGC) which lowers or raises the gain of signal automatically. I really liked this idea you came up with. Awesome!!

  • @seditiousmonkeyart
    @seditiousmonkeyart 2 года назад

    Hallelujah, man you are my hero. ...and its not just the music, the over the top sound effects also need a rein in. My budget doesn't include spending heaps of money on new home theatre tech just to watch a movie. Like you, I thought I was doomed to watch movies with my thumb forever on the volume control. I'll definitely be making one of these.

  • @samirelkadmiriaggairi2721
    @samirelkadmiriaggairi2721 2 года назад

    Been a follower for a long time and your videos are not only great 😁 but inspiring. The only thing that I would "change" is putting a de-esser on your voice!! 👌🕺🏾

  • @jmaus2k
    @jmaus2k 2 года назад +10

    You really want to sample 5+ minutes ahead. Then adjust volume to normalize each section and anticipate against set limits. Otherwise, you will have quiet scenes increasing volume and loud scenes decreasing volume. Winamp can normalize music but it takes the entire track and moves highs and lows to a set max or min.

    • @fieryferret
      @fieryferret 2 года назад

      This is always been the thing that prevented me from just doing this with a device in the middle of the line out from the TV.
      Ideally, you want to be able to look ahead to the audio, which means that you really can't use any live immediate feedback.
      Reactive circuits like this one, or one that just detects volume levels directly from the line out signal are always going to be a bit noticeable. Our sound bar has a feature for this, and the problem is you can just tell that the audio is being turned down as an explosion is happening or something. It's not completely jarring, and at least it's better than having to manually turn the volume up or down, but still it's not ideal.
      I dream of the day that there's some industry standard that implements normalized audio for stereo outputs.

    • @DrakeOola
      @DrakeOola 2 года назад

      @@fieryferret But then how on earth would my neighbors know the action movie I'm watching at 3 am reached a climax? Gotta keep the dialog to whispers so you turn the volume to max just to hear them, that way when an action scene plays at max volume the entire neighborhood can hear the exciting parts too and you get to experience they joys of permanent hearing damage... /s
      I hate that the only way to equalize it is to either have real time reactive feedback that'll only start lowering/raising the volume a few seconds after a couple gunshots have been heard by the entire town or to basically download and preprocess the entire movie/episode. Really ruins the immersion in films when you're constantly reaching for that volume knob and you get lazy half the time so you miss out on most of the important dialog when they decided to whisper right after a loud action sequence... The whole reason they make the action scenes 10x louder than the rest of the film is so that it feels more realistic and chaotic but over the years they've taken it to the far extreme and it just ruins the immersion it's supposed to create.
      Honestly, the first streaming service that actually allows an equalized audio service would make bank, We should have the option to disable the stupid "immersion" for action scenes and it baffles me how this isn't a thing. Bonus points if you make it a slider so you can choose an in between, the film wouldn't be as exciting if the climax were the exact same volume as characters whispering but the extremes it's been taken to is just too damn much nowadays...

  • @DexterAmico
    @DexterAmico 2 года назад +3

    I, being a lover of analog electronics, my first thought was to use a voltage controlled amplifier and use it directly on the sound bar to control the signal output. However this kind of application would been way more intrusive, since it's would require to open up the sound bar and directly modify the soundbar's original circuit. So, your approach albeit being more complex, in my view, is better and much more practical.

  • @vladk9152
    @vladk9152 2 года назад

    I needed an arduino based compressor for a personal project and never knew how to do it. You just made the heavy lifting for me!!

  • @arvindjain7501
    @arvindjain7501 2 года назад

    Was thinking about this yesterday. What a great timing.

  • @slimhazard
    @slimhazard 2 года назад +27

    Now that we've seen what the Great One keeps on the shelves behind his couch, I think the next project should be a modern, electrically efficient still.

    • @davidpetry7853
      @davidpetry7853 2 года назад

      Building a still for drinking alcohol is illegal in germany though...

    • @slimhazard
      @slimhazard 2 года назад +2

      @@davidpetry7853 An even better challenge. Build a still that looks like an automatic volume adjuster, to fool the cops if they come looking,

    • @nvmyutube
      @nvmyutube 2 года назад

      hmm is making hand sanitizer legal ;) ?

    • @davidpetry7853
      @davidpetry7853 2 года назад +1

      @@nvmyutube yes it is

  • @johnalexander2349
    @johnalexander2349 2 года назад +35

    I'm sure you've already checked for this, but in 5.1, the dialogue is sent to the centre speaker... if you don't have a centre hooked up, re-map it to the front speakers or it'll suck big time.

    • @some______guy
      @some______guy 2 года назад +2

      Lol. Could have saved him some time

    • @curtchase3730
      @curtchase3730 2 года назад +5

      If you are watching a DVD/BD movie with audio just going to TV speakers or a plain ole stereo, check the SETUP section of movie to see if they provided a simple STEREO audio sound track. Some do, some don't. Just a thought.

    • @seanverrett107
      @seanverrett107 2 года назад

      @John Alexander if he used Wagos it would fix the problem for sure.

  • @EduardoRubioLogan
    @EduardoRubioLogan 2 года назад

    Still at the 1:24 min mark, and boy am I I excited !
    This is an issue that I have always thought it was just because of my poor quality speakers and or the lack of support for audio formats etc etc ... but @GreatScott! comes to the rescue !!

  • @johboh
    @johboh 2 года назад +1

    Great project! I like these practical projects that I didn't know I needed until now 😊. Instead of IR, I'm thinking about integrating directly to Home Assistant, where I can control the volume of my TV speakers.

  • @jan_phd
    @jan_phd 2 года назад +4

    try the V571 dual vca compressor chip, it only costs a few dollars. The V571 is a dual version of a National NE571 or Signetics SA571. This works.

  • @duanejohnston8982
    @duanejohnston8982 2 года назад +3

    Long time viewer, and newest Pateon! I love your work and have used your circuit ideas and teachings to get through my engineering degree! Keep up the great work!

  • @MahatmaMichael
    @MahatmaMichael 2 года назад

    Brilliant. Thank too. I too experience unpropper sound level on youtube videos and even on professional hi end movies, as you have mentioned. Sound is THE MOST IMPORTANT element of video/movies.

  • @josemanuelalogoadjomo7863
    @josemanuelalogoadjomo7863 2 года назад +1

    nice video as usual
    what I specifically like bout your video ideas is that you don't put a lot of technology in your designs even so they're still useful for learning and usage
    many thanks.

  • @AntiGooseAction
    @AntiGooseAction 2 года назад +8

    There's usually a setting for loudness leveling in most TVs. Also you can try changing the sound stage from high dynamic range (audio) to medium or low

  • @Paedow
    @Paedow 2 года назад +7

    The real problem here is that the movie sound is designed with cinemas in mind. There it is an important part that conversations are quieter, so the viewers will focus and follow the dialog. Also the loud music helps to transfer atmosphere. Of course when you view it at home in the evening you can't have the music or explosions or gunfire blaring out, disturbing all your neighbours. The movie producers just don't care about remixing the audio for DVDs or Blurays because they make most of their revenue from cinema ticket sales.

    • @gravesclay
      @gravesclay 2 года назад

      They absolutely do care about remixing and that is why they don't A 5.1 system can be had for the same price as a cheap junk soundbar, and completely fixes this problem. His issue is *specifically* a lack of center channel where most of the dialogue is mixed. Why should they remix and alter the original artform just to pander to consumers who don't appreciate it enough to run 5 wires?

    • @auslanderalex5464
      @auslanderalex5464 2 года назад

      @@gravesclay why should they care? Simple it's the number one rule of business. Always, ALWAYS, give the customer what they want. This isn't about art, expression or other immeasurable concepts its about making money. Money to pay you loans, actors, staff. etc. If you give a middle finger to the majority of your market with a holier-than-thou attitude you will not be making art for long. Most people consume media on laptops, cellphones, PCs and 2 channel audio TVs these days so not catering for this is a very poor business choice.

    • @ThylineTheGay
      @ThylineTheGay 2 года назад +1

      cinemas are way too loud tho

    • @Paedow
      @Paedow 2 года назад

      @@gravesclay because people with 5.1 systems or better make up at most 5.1% of the market

    • @iNsOmNiAcAnDrEw
      @iNsOmNiAcAnDrEw 2 года назад

      It makes no sense to me that conversations would be quieter in movies. You are basically saying that when before the movie theatres start the movie they tell you to be quiet during the movie that they are telling you in between the lines that it's okay to be noisy if the movie is being loud. Actually, your body lowers your own hearing volume when you talk, so you're not wrong. But that doesn't make what they're doing okay. Loud sounds can and will still break your ear drums. They can grow back, I can confirm it myself as I lost all hearing in my right ear and even pulled parts of my ear drum out because it was insanely itchy but it has grown back and I can hear again. But modern entertainment is too loud and people that try to support it a little too much like I have been known to do suffer for it.

  • @RealCousinOkri
    @RealCousinOkri 2 года назад +1

    Pretty clever design. No messing with the signal, no need for making a full blown amplifier. I would only consider adding an EQ stage before signal input to the uC. Audio frequencies like to be audible differently, even when their signal amplitude is the same. Hats off for all the audio related engineers that are able to tame that beast.

  • @DAzZuLK
    @DAzZuLK 2 года назад

    ¿Why wasn't this recommend to me earlier? This is a reason for the notification button.
    I thought about solving the problem by modifying my TV, but too intrusive.
    By many reasons, this is the best approach. Love it!
    I'll be a Patreon but just can't (for now).

  • @RonakDhakan
    @RonakDhakan 2 года назад +3

    Realtek Sound Manager on Windows 10 has loudness equalisation feature built in. It works live without noticeable wait time. It matches the volume to the volume level set in windows. This is very helpful in movies with low dialogue and high effects volume. This is also helpful in games which give you sound clues like footsteps of enemies. Good project though.

    • @nottiification
      @nottiification 2 года назад

      Yeah i was going to say the same.
      Seems like this problem would be easily solved if set-top players had a little more sophisticated software in them.

  • @mrfrog8502
    @mrfrog8502 2 года назад +3

    Well done Scott. How about using audio compressor IC which would do pretty much the same thing but without the need of adjusting the volume up and down.

  • @FantaBH
    @FantaBH 2 года назад

    Thank you for this project, it is interesting and it will solve my problem with certain tv house , who loves to put commercials like 2-3 times louder than movie. Imagine watching movies with such commercials , somewhere in middle of night, it is terrible experience. So this project will for sure solve my problem. Thank you great Scot and forgive me for never tried to build such thing on my own.

  • @maxexposure6253
    @maxexposure6253 2 года назад

    The pleasure is in the building of a project.
    Nice video.

  • @ssakthiaudio
    @ssakthiaudio 2 года назад +5

    Now days all sound systems have in this feature it's called DRC (dynamic range control ) relative word *Night Mode*

  • @BaumInventions
    @BaumInventions 2 года назад +9

    My first idea was a Comprssor/Limiter ... that solution was unexpected :D

  • @XeroShifter
    @XeroShifter 2 года назад

    I actually considered building something like this as a ad-detector for my tv a few years ago. The idea was that most commercials are louder than the TV programs they surround, which means that if you had something detecting that, you could automatically lower volume, or skip if you're using a play-back device. I never made it because I never made time (in part because I stopped watching TV and went to mostly Netflix and RUclips), but it was a cool idea. Its great to see that someone has at least done that for fixing movie volume, and others can develop it from here. I love it. Keep up the good work everyone.

  • @DLxDaemon
    @DLxDaemon 2 года назад

    This is a problem not only with movies, but many RUclips videos, where added music has its volume seriously high... love the video 👍👍

  • @astro-snake
    @astro-snake 2 года назад +7

    Friendly code advice. ((audio > 480 && audio < 540)) has better readability. It logically puts your audio value in-between your bands. Great job overall 😎

  • @amber1862
    @amber1862 2 года назад +8

    Audio engineer and developer here: the reason why so many movies have such a large dynamic range is because the engineers working on the film are mixing for the cinema, not for your home. Most modern TVs (2010+) have an in-built audio compressor you can find somewhere in the audio/speaker settings in its menu. It's often called Night Mode/Auto Volume/Dialog Mode...something like that.
    If you're using a more modern setup with soundbars and wireless connections which bypass the TV audio entirely, then that's admittedly a bit tricky to solve unless your audio system has an in-built audo compressor; read the manual! The best solution to this whole problem would be if the mixers working on these flims released a pre-compressed version WITH the original for-cinema mix which viewers could select. There's actually a big push for this concept in the industry.

    • @frankthetankricard
      @frankthetankricard 2 года назад +1

      I absolutely agree with you but I have my doubts as to people who can't rtfm of their receivers and turn on drc would know to switch to a different audio track. I guess it wouldn't hurt to have the option.

    • @amber1862
      @amber1862 2 года назад +2

      @@frankthetankricard The latest I heard about it was they're thinking of making the compressed version the default, especially on streaming services. It's a battle between viewer experience, artistic expression and the general ignorance of the masses when it comes to anything audio-related which you rightly pointed out.

    • @frankthetankricard
      @frankthetankricard 2 года назад +2

      @@amber1862 I wouldn't be upset if they had a compressed track as default. People who care would quickly learn to change it. Maybe even have a setting per account or device to prefer one over the other, kind of like some players can let you prefer captions for hearing impaired instead of standard subtitles. That would be a decent solution. Especially on streaming services where they aim for "good enough for most cases" audio and image quality.

    • @amber1862
      @amber1862 2 года назад

      @@frankthetankricard I agree on all points.

    • @amber1862
      @amber1862 2 года назад

      @thereisnochoiceleft 'Is it really just the compression that needs to be adapted?'
      No. Like you said, there are a lot of elements that contribute to a mix, such as the number of channels. It's just a relatively easy slap-on-the-end way of somewhat fixing the issue very quickly.
      'would handling an additional mix pose a significant overhead to the mixers?'
      Yes. A lot of sounds and plugin/mixing desk parameters are automated over time and they often transition sounds from one channel to another to create movement and immersion. Changing the number of channels would remove all of that work. Some surround-enabled plugins and hardware have channel limitations too.
      Even though the mixing engineers often have big studios with the same number of speakers as the cinemas, they frequently collapse the mix to stereo and mono throughout the mixing process to ensure it will sufficiently translate, but they're still listening to this collapsed version in a top studio; most people will be watching the film in terrible acoustic spaces with lots of background noise and on consumer-grade equipment. The frequent collapsing also helps to reduce psychoacoustic trickery and allows them to hear the mix in a new way, like a painter stepping back from the canvas to see the bigger picture.
      Even just turning down all non-dialogue sounds by 3-6db as an alternative mix would help in dialogue-heavy films. This too would obviously be a very quick fix :)

  • @jumbleblue
    @jumbleblue 2 года назад

    My AV-Receiver has a dynamic compression feature, also, if yours doesn't, the obvious way to go, would have been to build a digital dynamic compressor into the HDMI stream. There are chips that can split the stream from HDMI, and remux it also. However you went with the ultimatively odd solution and a absolutely love it! Such a nice project!

  • @Lukesab3r
    @Lukesab3r 2 года назад +1

    Very very well done!!! Totally creative, and a perfect example of how necessity mothers invention.
    I would use this daily.
    Thanks for the awesome share!!!!!

  • @MatthewLong8
    @MatthewLong8 2 года назад +5

    To solve this problem as a sound engineer I would use a 5.1 system as the center channel carries a lot of the voice signal while the music uses left and right. But I like your solution too.

  • @electroscientist4447
    @electroscientist4447 2 года назад +6

    Ahhh now i understand what that revolutionary circuit does
    Good project Scott

  • @boydmcree9085
    @boydmcree9085 Год назад

    we use to have a circuit like this in the vacuum tube receivers it was call automatic gain control, it worked like a jiffy, no Arduino or any computer chips though that had not been invented yet. really amazing how things come full circle.

  • @wilwad
    @wilwad 2 года назад

    Great work as usual.
    Reminded me that I use ffmpeg normalize & amplify filter for such issues

  • @Zebra_Paw
    @Zebra_Paw 2 года назад +16

    Using speakers that are not wireless, a laptop with good sound card (or with an external one) can do the job. You can program it the same way, but instead of lowering the volume by IR, it will do it be lowering the gain.

  • @thefrankenator
    @thefrankenator 2 года назад +8

    Nice project, i like how you implemented the SPL detection and the IR emitter, however as a sound engineer the premise of the device upsets me... the film is mixed that way to be experienced through a full surround system, the separation into each channel and speaker is critical and the individual volumes can be set for each speaker, also through a good quality audio decoder device you can enable dynamic range limiters and compression. what you are aiming for here is obviously "Night Mode" or Neutered mode as we would call it, I would recommend looking into the settings on your playback device and speaker system for adjustable settings such as dynamic range etc. The contrast between loud and quiet scenes will never function correctly through something as limited in function as a Soundbar. Great work nonetheless and well executed.

  • @OSD07
    @OSD07 2 года назад

    What a great concept. Thank for your good video. I am will give a try. Thank you so much Great Scot. Though I have not done any electronic. I will give a try

  • @NoHate143
    @NoHate143 2 года назад

    You are Really Great Scott... Love your work 🥰

  • @catandtheostrich
    @catandtheostrich 2 года назад +44

    So - this is an automatic gain control? Let me get my copy of the “Art of Electronics” ;)

    • @larcomj
      @larcomj 2 года назад +5

      oh hail Horowitz......

    • @TheRailroad99
      @TheRailroad99 2 года назад +3

      yes it sort of is.
      Though I think an audio compressor would be the better solution. It lowers the dynamic resolution by making the silent parts of the music louder. like a very very fast AGC

    • @billlawson4236
      @billlawson4236 2 года назад +2

      @@larcomj . . . and Hill!

  • @phileasfogg65
    @phileasfogg65 2 года назад +4

    Automatic volume control are very common in ham radio audio amp stage, a simple pre-amplifier with a feedback does the job. I wonder if such a simplistic analog approach hurts audio quality.

    • @waynegnarlie1
      @waynegnarlie1 2 года назад +2

      They do a great job of enhancing intelligibility over the 300 to 3000 hz audio range, using a combination of soft clipping and equalization. Might be a bit rough for movies.

    • @phileasfogg65
      @phileasfogg65 2 года назад +1

      @@waynegnarlie1 Yes I have to try it however, maybe with some parameter tweaking...

    • @waynegnarlie1
      @waynegnarlie1 2 года назад

      @@phileasfogg65 With that it should get the job done. Enjoy!

  • @patrikremmele1299
    @patrikremmele1299 2 года назад

    i thought about this solution for about a year now :-D glad to see someone just did it :-)

  • @petersage5157
    @petersage5157 2 года назад +2

    As has already been mentioned, the dialog is usually in the center channel on multi-channel audio streams. If your sound bar is 2-channel stereo, you might want to look for an option to boost dialog in your video player's settings.
    If the connection to the sound bar is analog, I'd just whack in an AGC. Simple, reliable and, as it says on the tin, automatic technology that has been around for decades because it works.

  • @aarron1234567
    @aarron1234567 2 года назад +2

    I remember back in the day when sound equalization was a must nowadays it just sounds like they take the noise out and say it’s good enough

  • @AhmedHan
    @AhmedHan 2 года назад +4

    Alternative way: You can use headphones jack to get the sound signal and disable on device speakers. Then you can normalize this signal and use your own external speakers for the sound output.

    • @brandonconst.4244
      @brandonconst.4244 2 года назад +1

      That's how I'd do it 😀

    • @derekflegg2510
      @derekflegg2510 2 года назад

      Nope... Tried.. Over and over. I've started turning the bass and treble way way down...

  • @Junk_Male
    @Junk_Male 2 года назад +1

    This looked like a ton of fun building.... and the satisfaction of a finished project that actually works is really cool.
    This IS the most backward-ass/over-engineered way to make something a simple audio compressor would do, but this was DIY and looked like fun.
    -Thanks for the content

  • @phreak074
    @phreak074 2 года назад

    I've been complaining about this for soooo long.. i'm really glad to see someone talk about it and find a solution.
    Movie makers force you to hear the movie as they see fit, so they turn the speech way way down and most of the audio way way down. This gives the movie playback the flexibility to raise the background or overall sound when things get very intense. Pain in the ass when you want to hear dialogue while simultaneously not disturb your neighbors!

  • @baaatli
    @baaatli 2 года назад +7

    AGC can do the same job to a great extent, and much simpler

    • @TheAdwatson
      @TheAdwatson 2 года назад +2

      My thoughts exactly! But these days "electronic circuit design" means including an expensive microcontroller to do what a few discrete components used to do at far less cost, as well as having to work out how to program it. Despite that, this problem with movies is real and on TV the ads are nearly always louder than the program, but the TV companies say that they have no control over the volume! If that was the case and I owned the TV company, I would sack the sound engineers for incompetence.

  • @tlrptg
    @tlrptg 2 года назад +4

    just activate the AVL (automatic volume level) function in your TV...

    • @dotmatrixmoe
      @dotmatrixmoe 2 года назад

      Not all televisions have this, such as mine.

  • @Drinksfromtap
    @Drinksfromtap Год назад

    So glad to hear that I’m not the only one! I thought I was just getting old 😅 glad to see a solution!!!

  • @tarymaas
    @tarymaas 2 года назад +2

    I think I would use a low-pass filter on the input volume data with an appropriate cut-off frequency, and use the filtered signal to determine whether the volume needs to be increased or decreased. Since the filtered signal follows the original input with a certain delay, it would make sure that the volume is only adjusted if the volume has been low/high for a longer period.

  • @Fergobirck
    @Fergobirck 2 года назад +5

    Your LG soundbar probably has a built in normalizer feature (they come up with different names for it). Nice project nonetheless!

  • @mattflamenco
    @mattflamenco 2 года назад +7

    What you might find is that, all those films you used to love actually have really week dialogue and not worth hearing anyway. 😉

    • @Mr_ToR
      @Mr_ToR 2 года назад

      the best comment :-D

  • @SisterMaryElephant
    @SisterMaryElephant 2 года назад

    I had an old 36" CRT Television that had 'Smart Sound'.. did the same thing and worked wonderfully.

  • @redberlingo
    @redberlingo 2 года назад +2

    Its also possible that the encode you got was expecting 5.1 speakers with all vocals routed to a maybe non existent centre speaker. Worth checking out the settings as that will make a massive difference

  • @maheen-
    @maheen- 2 года назад +5

    Instant adjustment can be achieved if you tinker with the pre amplifier to power amplifier section in your audio system. I think next project should be that.

    • @nickwallette6201
      @nickwallette6201 2 года назад +1

      It used to be, but I would guess there aren’t any analog audio cables involved in his setup - or nearly anyone’s these days.
      At any rate, for volume level normalization, it’s good to have some slack in the detection phase anyway. This is similar to how a traditional audio compression circuit works. The trigger level is known as “threshold” and the timer for reaction is called “attack.” The attack window is usually from tens of ms to a second or more.
      Using a really short attack changes the action from compression to limiting, which is normally used to prevent clipping digital inputs, or as a last resort protection mechanism on the power amplifier input to protect speakers from being overdriven in PA systems. Although it’s starting to show up in cars and Bluetooth speakers and other DSP-driven audio chains.
      Limiting isn’t a good way of managing volume disparity because it doesn’t sound very good when used with a heavy hand. Reacting quickly ends up squashing the sound in a way that is similar to strong wind buffeting a microphone. You need slower attack and release to keep from modulating the volume constantly.
      Of course slow response means initial bursts of loudness and sometimes laggy return to normal levels, but the only way around that is to have a look-ahead buffer that can analyze the level changes and preemptively adjust the volume. Or just mix the source material properly, Hollywood...... 😖

  • @davideaezakmi9530
    @davideaezakmi9530 2 года назад +6

    At first I thought you were going to implement an analog compressor to your speakers, but I guess that your solution is a lot easier and reversible than messing with your audio system

  • @paulodpereira
    @paulodpereira 2 года назад

    This is basically a crude implementation of a audio compressor. I've been thinking of building one mainly for regular tv, some stations have different mastering volumes between the shows and ads. I guess a off the shelf studio compressor set with really long attack and release times would work.
    The implementation done in this video amazes me with the simplicity and versatility.
    It is also a good Idea to implement in a android app for phones with a IR blaster, I should do it actually, if no one does it sooner.

  • @TNStuff
    @TNStuff 2 года назад +1

    I could have used this when watching Dune this weekend!
    Thanks Great Scott!