Hi rayyan176,
We understand you’re experiencing a crackle should with your Mac speakers. We would be happy to help. Let's start by following the steps in this article:
If the internal speakers on your Mac aren't working
If the issue remains, we’ll want to test in a new user. Being able to see if the issue occurs in another user account will help us to identify if it is something that is affecting your entire system or just one particular user account. To do this, we will want to set up a Test User account and then try to replicate the issue in that account.
1. Choose Apple menu > System Preferences, then click Users & Groups.
2. Click the lock lock icon, then enter an administrator name and password.
3. Click the add button (+) below the list of users.
4. Complete the fields shown for a Standard or Administrator account, then click Create Account (or OK).
5. Go back up to the Apple menu in the upper left of the computer and select "Log Out". At the login screen, choose the "Test User" we just made.
6. Once inside the Test Account, try to replicate the issue so we can determine if it just occurs in one account or on the whole computer.
If the same issue occurs in the test user, we recommend that you reach out to Apple Support directly. Get help where you are. Choose a product and we’ll connect you to an expert by phone, chat, email, and more. Please reach out here:
Get Support
Hope this helps!
Have a great day.