No special messages at the moment. Just have a good day and stay hydrated!

Fix Macbook Audio Not Working on Discord

Nov 25th, 2018 / 1 min read / Share / Edit on GitHub
Use this script to fix Discord's audio problems on Mac.

I recently started getting this problem where I wasn't able to hear any audio (nothing, not even system sounds) after having been on Discord on my Macbook Pro.

It would also mean that I'm not able to join a call and hear anyone's voices. Pretty annoying.

Try killing your current audio process with this command.

ps aux | grep 'coreaudio[d]' | awk '{print $2}' | xargs sudo kill

Or add it to your ~/.zshrc so you can run it whenever the audio starts acting up again.

echo 'alias reset-audio="ps aux | grep 'coreaudio[d]' | awk '{print $2}' | xargs sudo kill"' >> ~/.zshrc
source ~/.zshrc

I hope it works for you!


Thoughts? Share the article if you think it'll be useful to someone + join the discussion about this post on Twitter!

Stay in touch!

About the author

Khalil Stemmler

Khalil Stemmler is a Software developer / designer and musician based out of southern Ontario cities. He co-founded Univjobs, currently works as a consultant and writes about JavaScript, TypeScript, software development principles and best practices.

SOLID Principles: The Software Developer's Framework to Robust & Maintainable Code [with Examples]
May 18th, 2019 / 15 min read
The SOLID principles are a set of software design principles that teach us how we can structure our functions and classes to be as...
Flexible Error Handling w/ the Result Class | Enterprise Node.js + TypeScript
May 15th, 2019 / 9 min read
Purposefully throwing errors can have several negative side effects to the readability and traceability of your code. In this arti...
REST-first design is Imperative, DDD is Declarative [Comparison] - DDD w/ TypeScript
May 15th, 2019 / 11 min read
A comparison between designing Node.js applications using REST-first design and Domain-Driven Design.
Clean & Consistent Express.js Controllers | Enterprise Node.js + TypeScript
May 11th, 2019 / 8 min read
In this article, we explore how to structure a clean and consistent Express.js controller by using abstraction and encapsulation w...