Listen to audio on focused tab only, muting all others. To keep the audio on the background: pin tab or open a separate window
Medium article here: https://medium.com/@ilanbarmagen/did-i-just-fix-chromes-audio-d614c1531bb0 Did I Just Fix Chrome’s Audio? 🔊 Ilan Bar-Magen Aug 14 · 6 min read Or — the biggest historical UX mistake that you’ve always heard, but probably never heard of. -------------- You’ve probably been in that situation: you browse the web all chill and happy, having multiple tabs open — when suddenly your speakers yell at you, they spit on you with the highest volume the most random sounds. You turn down the volume to normal volume, and then realize that its probably coming from a rebellious chrome tab that decided to declare it’s independent at that moment, and shout it out loud. It could be an audio/video ad on a page that auto-refreshed itself, a youtube video that liberated itself… it could be anything. Once upon a time web browsers conspired and made a decision: audio is a notorious free zone, any tab can play any audio at any time, regardless of your attention and totally ignoring your current active tab. The weird default behavior of letting each and every tab to play sounds regardless of other audio channels playing at the same time. How weird is that? The problem becomes bigger when you actually consume more than one tab with audio: what are you supposed to do when you want to zap between two tabs running a video feed? Same like we used to zap between channels back in the good old simpler days of analog TV. Now imagine that those TVs were engineered with that same weird twist: you switch a channel and the audio of the last channel stays in the background. And all the ones from before. After fighting with it for a while, meaning muting the audio before changing each channel, for instance, everyone would’ve given up — and we’d never got to know that couch potato semi-meditative channel zapping experience. The mistake became so obvious when I tried to watch more than one football match in parallel on the Champions League while watching a youtube live video event. There I was, having three video feeds on three different tabs, starting a big chaotic audio party of two different commentators plus all of the surrounding noises, and the live youtube feed. Switching video involved muting the previous tab, and unmuting the new tab. Not the best sports and web viewing experience to say the least. What I expected was to be able to have one sacred audio channel that will always play what I see, and at any case always just one of them. Seriously, is there any human that can really listen to more than one audio channel? Sure, we can listen to music in the background — indeed a very common use case, but a very specific one — it doesn’t justify making it the default case. So how come that's the default case? In computing there is a term “WYSIWYG” — “What You See Is What You Get”, I want to have “WYSIWYH” — “What You See Is What You Hear”. The default state should be that you can hear only the tab that you consume, unless you want it otherwise. The option to make an audio channel to stay in the background should be on demand, and not the current state where the on-demand action is muting other tabs, on a muting Whac-A-Mole frenzy. Our basic ability is to process and listen and focus on one main pro-dominate audio channel. The visual equivalent of the current state of audio on browsers would be overlaying two different websites on top of each and trying to understand what you see. If that sounds stupid, then the same rules should apply to audio. More than that, you can perceive visuals side by side, window next to window, something you can’t really do with audio — the ears are just way more serial in their perception than the eyes, that can absorb much more parallel information. vision is way more superior in processing data to hear. Browsers, hence, were made by omnipotent multi-channeled uber-mensch, 10 eared aliens, not by humans. But seriously, it is weird that it happened like that. Using our eyes and ears we can usually watch and listen to only one thing at a time, but we can see spatial objects way more parallel than we can hear. hearing is good in pinpointing directions of sounds — but that's not the case with audio coming altogether from computer speakers. And in 3 decades of web and browsers, there were endless revisions and changes in the experience, but it was mostly visual: i.e. web 2.0, responsive design, both reducing information overload on our eyes — but not no change made to the way audio is consumed. It might have been a coincidence. It’s possible that this logic comes from different times when the web didn’t focus on video and audio, and even after it did, it wasn’t common to run more than one media stream with the jeopardy of chocking the bandwidth. but in 2019 — who cares? let it stream! in today’s free to use the bandwidth you can run dozens of streams in parallel. You want to be able to jump between 5 video streams of football matches in the world cup, you want to open 8 youtube videos and just zap between them as if it is TV, you want to run 10 radio stations and have the Radio experience and data consumption you get in the car — on your browser, the place we pass a substantial time of our day. You want to open 3 news streams on a breaking news event, no reason to avoid doing that but the weird non-muting tab decision someone made way back. I’ll have to add that on smartphones they sort of fixed it, but not really — you do hear just the app that you see most of the time, but the decision there was to pause/stop when you switch an app that uses audio (switching between a youtube video to Spotify and vice-versa pauses the previous one when you go back). Its a novel decision that can get its own respect, a decision that is probably fitting the mobile needs as a narrow focus application — but the computer is a different case, a much more flexible and parallel machine. The Solution So on that sports viewing occasion, I decided to check on google how to create a chrome extension to solve this. It turned out to be a very quick and easy job, just about 4 lines of code! That's it! I call it AudioZapper. (Well, originally I called the repo HumansCantFocusOnMoreThanOneAudioChannelDah! less catchy 😉 …I’ll stick to AudioZapper from now on 😇) What does the extension do? -Plays only the current tab you’re focused on! -And for the cases you do want the audio to run in the background: *If you pin the tab, the audio stays in the background *If you have two separate chrome windows (not tabs), each one of them is a different context that lets you hear it’s own focused tab — in parallel (between windows it’s the regular functionality) I’m using it for a few months now, and my chrome experience became much better. Having that “zapping” experience between several running youtube videos has that nostalgic feeling of old TVs, and I adopted some new intriguing habits that I didn’t think of before — mainly running video and audio streams all day in the background, waiting for my focus. I think I’m all set to the next sport season 😄
- (2021-06-15) Gregan Dunn: Worked great until recently... Now the audio doesn't switch automatically to the browser tab being viewed. It still cuts all audio out on all but one tab, but it's hard to control which tab audio plays now.
- (2021-05-30) Banya Rola: I like this but with Chrome ver 91 it doesn't work automatically. I have to click on the extension icon to get to the tab I want to hear. Hope you can fix this... Thanks
- (2020-08-20) Brandon Lanier: The other reviews have it pegged. It works wonderfully from the first moment of installation.
- (2020-07-28) James Musil: Just the feature I need for monitoring multiple streams during Sunday morning service. I haven't used it for long, but I think it has great potential.
- (2020-07-21) fetB: Since google just removed audio focus enforcement, I tried this and it sorta works. It mutes the other audio instead of pausing it, which i guess makes sense given the name, but if the audio is not playing, it doesn't need to play at all taking up internet data. Ideally, this would be an option to toggle.
- (2020-03-21) Bonnie Smith: Magnificent!! Brilliant!! This app is perfect for when you don't know which annoying tab is playing, and you want to shut it off fast! It is so easy & quick. When you click on the icon, you get a small popup which shows what's playing. Just click the pause button and Silence!! It takes 2-3 seconds. It also lets you go right to that tab if you want, but you can silence it right in the popup. The BEST thing is that this app finds the playing tab no matter what window it's in, if you have multiple windows open.
- (2019-09-30) Bimbo TM: really good on Microsoft Edge
- (2019-09-24) Christopher Pitcher: I have been looking for this option in Chrome for so long and finally I have something that works. It gives you the ability to open multiple tabs but only hear sound from the one with focus. Note that chrome itself requires apps be set to enabled for incognito mode. As a bonus, if you drag and separate a tab from the main tab group it operates independently - so you can still stream music in one tab and be jumping between tabs in separate group.
- (2019-09-17) Geoff Speedie: The description was all i needed to download this. If you cared that much to write something so...inspired, then i am sure the app is great as well. will check back when i actually use it. i have 97 yoututbe tabs currently open so i will try soon.
- (2019-08-14) Micky Fridman: This is great! This needs to be the default behaviour on chrome
- (2021-06-10, v:1.1.0) Pogle Swood: not working properly on certain site since latest chrome update
On the chaturbate site when opening multiple rooms in separate tabs the zapper will no longer unmute tabs when returning to them. This seems to have happened with the latest chrome update. Something seems to get confused between muting/unmuting the tab versus the rooms player. Shame, as this is the main reason I used the zapper - I have been using it for several years and it is usually great.
- (2021-05-30, v:1.1.0) Banya Rola: Not Automatic with Chrome 91
I like this but with Chrome ver 91 it doesn't work automatically. I have to click on the extension icon to get to the tab I want to hear. Hope you can fix this... Thanks
- (2020-06-09, v:1.1.0) Brenda Lega: can i know
how to work this please man oh gosh
- (2020-01-22, v:1.1.0) Christopher Pitcher: tabs with no audio no longer mute the last viewed audio tab
Great extension but since the Jan 20th update going to a silent tab has no effect on the audio, ie audio from the previous tab keeps playing. This appears to be the same for going to tabs with no inherent audio or tabs with players set to mute. Using Chrome on Windows 8.1 laptop, both fully updated.