Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roaldnefs/airpods
AirPods sound quality fixer and battery life enhancer for macOS.
https://github.com/roaldnefs/airpods
airpods airpodspro apple applescript macos
Last synced: about 2 months ago
JSON representation
AirPods sound quality fixer and battery life enhancer for macOS.
- Host: GitHub
- URL: https://github.com/roaldnefs/airpods
- Owner: roaldnefs
- License: cc0-1.0
- Created: 2021-01-17T19:58:06.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-01T08:24:43.000Z (about 3 years ago)
- Last Synced: 2024-10-11T19:47:51.686Z (2 months ago)
- Topics: airpods, airpodspro, apple, applescript, macos
- Language: AppleScript
- Homepage:
- Size: 752 KB
- Stars: 41
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
AirPods sound quality fixer and battery life enhancer for macOS.
Usage »
Explanation
·
Report Bug
·
Request Feature## Contents
- [Contents](#contents)
- [Usage](#usage)
- [Setup keyboard shortcut using Automator](#setup-keyboard-shortcut-using-automator)
- [Explanation](#explanation)
- [References](#references)
## Usage
### Setup keyboard shortcut using Automator
[](https://support.apple.com/en-gb/guide/automator/welcome/mac)
**Description:** Setup a keyboard shortcut to change the sound input device to the built-in microphone using [Automator](https://support.apple.com/en-gb/guide/automator/welcome/mac).Show instructions
1. Open [Automator](https://support.apple.com/en-gb/guide/automator/welcome/mac).
1. Make a **Quick Action**.
1. Make sure it receives **no input** at all programs.
1. Select **Run Apple Script** and paste the contents from `airpods.applescript`.
1. Save the **Quick Action**.
1. Open **System Preferences** > **Keyboard** > **Shortcuts** and select **Services** from the sidebar and find your under the **General** section.
1. Add a shortcut by double clicking `(none)`.## Explanation
When the microphone on the AirPods is enabled, the Bluetooth protocol and the compression protocol is changed from A2DP to HSP, downgrading the audio format from 48 kHz to 16 kHz.Using [Audio MIDI Setup](https://support.apple.com/en-gb/guide/audio-midi-setup/welcome/mac) you can this yourself. When the MacBook Pro Microphone is selected as the input device, the AirPods will output at 48,0 kHz:
![AirPods output at 48,0 kHz](screenshots/screenshot_48khz.png)
When the AirPods itself are selected as the input device, they will only output at 16,0 kHz:
![AirPods output at 16,0 kHz](screenshots/screenshot_16khz.png)
## References
For references and further information about the Airpods issue see:
- Apple Community: [AirPods stuck on 16kHz/ SCO codec](https://discussions.apple.com/thread/251360777?answerId=252681287022#252681287022)
- Jeff Geerling’s blog post: [AirPods get stuck in low-quality 16 kHz audio mode when starting a VM](https://www.jeffgeerling.com/blog/2018/airpods-get-stuck-low-quality-16-khz-audio-mode-when-starting-vm)
- Reddit r/airpods: [AirPods low quality issue](https://www.reddit.com/r/airpods/comments/6jqqu4/airpods_low_quality_issue/)For a collection of AppleScript snippets, applets, resources and links, see: [roaldnefs/applescript](https://github.com/roaldnefs/applescript).