Simply learn yourself.
For iMac

How to Fix Sound issue on iMac

Fix Sound Issue On Imac

If you are facing problem with the sound output on your iMac, it may be due to third-party applications as they change the sound settings without your concern. You may need to adjust your computer's sound settings or update your Mac's OS to overcome sound issue. This instruction page will guide you how to fix sound issue on iMac. Additionally, you can also resolve audio issues by following these easy-to-follow steps.

Step 1: Navigate to ‘Applications’ from the home screen of your iMac and select ‘Utilities’ option. Look for ‘Audio MIDI Setup’ application and open it.

Step 2: Click on the tab tilted ‘Audio Devices’. Now ensure that ‘Built-in Output’ option is selected. Move to ‘Audio Output’ section located in the right section of the window.

Step 3: Drop-down menu with title “Format” will appear. Select "44100.0 Hz" from different frequencies. Exit from ‘Audio MIDI Setup’ by clicking cross button. Now, check the sound by playing some audio.

Note: Make sure that your OS and installed applications are updated.