Bluetooth Anti-Lag Add-on

AnkiWeb addon 1972606896

Loops silent audio while Anki runs to keep Bluetooth headsets connected and eliminate playback lag at the start of card audio.
AI-generated summary; may contain mistakes.

bugfix-workaround

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
2 (👍 2 · 👎 0)
Updated
2023-06-19
Anki versions
2.1.16~
License
Not found (this does not mean that the addon has no license)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

abandoned

  • Last update or commit: 2023-06-19 (1231 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.16+2023-06-19
History across monthly snapshots

Loading…

Similar addons

Bluetooth Headset Audio Lag Fix

Continuously plays a silent audio track to keep Bluetooth headsets from sleeping, preventing the delay before Anki card audio starts.

bugfix-workaround

12 votes 25% approval 👍 6 · 👎 6 Updated 2019-03-28
AirPods: fix audio dropouts (macOS)

Keeps a silent dithered audio stream running during reviews so macOS AirPods stay connected, preventing missing, broken, or dropped audio from short clips.

bugfix-workaround

3 votes 44% approval 👍 3 · 👎 0 ⭐ 0 Anki 26.08~ Updated 2026-08-06

Description

# English Version ## Overview The Bluetooth Anti-Lag Add-on is designed to eliminate the audio lag experienced when using Anki with a Bluetooth headset, specifically the lag that occurs at the start of audio playback on Anki cards. Bluetooth headsets enter a sleep mode when not receiving an audio signal, and when they receive an audio signal again, it takes about a second for the headset to fully wake up and start playing the audio. By looping a silent audio while Anki is running, this add-on maintains the connection with the headset and prevents this lag. ## How to use After installing the add-on, silent audio playback automatically begins when you start Anki. The playback continues for as long as Anki is running, preventing interruptions to the Bluetooth connection and avoiding audio lag. ## Mechanism 1. The Python script of the add-on is stored in Anki's add-on folder. 2. When Anki starts, the Python script of the add-on is executed. 3. The script begins playing a silent audio as soon as Anki starts. This audio uses the `5-minutes-of-silence.mp3` file located in the `Audio` subfolder of the add-on folder. ## Note This add-on uses Anki's built-in player for audio playback. When the add-on is enabled, audio will be looped for as long as Anki is running. # 日本語版 ## 概要 Bluetooth Anti-Lag Add-onは、Bluetoothヘッドセットを使用してAnkiを利用する際に発生するオーディオラグを解消するためのアドオンです。特に、Ankiカードのオーディオ再生開始時のラグを軽減します。Bluetoothヘッドセットはオーディオ信号の受信がないときにスリープモードに入り、再度オーディオ信号を受け取ると、ヘッドセットが完全に起動しオーディオを再生するまでに約1秒の時間がかかります。このアドオンでは、Ankiの起動中、無音のオーディオをループ再生することでヘッドセットとの接続を維持し、ラグを防止します。 ## 使い方 アドオンをインストール後、Ankiを起動すると無音の音声の再生が自動的に始まります。再生はAnkiが起動している間ずっと続き、Bluetooth接続が途切れることなく、オーディオのラグを回避します。 ## 仕組み 1. アドオンのPythonスクリプトはAnkiのアドオンフォルダに保存されます。 2. Anki起動時、アドオンのPythonスクリプトが実行されます。 3. スクリプトはAnkiの起動と同時に無音の音声を再生します。この音声はアドオンフォルダ内の`Audio`サブフォルダにある`5-minutes-of-silence.mp3`ファイルを使用します。 ## 注意 このアドオンはAnkiの内蔵プレーヤーを利用して音声を再生します。アドオンを有効にすると、Ankiが起動している限り、音声はループ再生され続けます。