Bluetooth Anti-Lag Add-on

AnkiWeb addon 1972606896

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

bugfix-workaround

Open on AnkiWeb Ask about alternatives

AnkiWeb

Rating
2 (👍 2 · 👎 0)
Updated
2023-06-19
Anki versions
2.1.16~
Description language
en

Maintenance

abandoned

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

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

Anki Time (anti-distraction helper)

Sounds an alarm after 30 seconds away from Anki to discourage distractions, with idle timer recommended; tested on 25.09.4 and spacebar works.

timer

Rating 12 👍 10 · 👎 2 ⭐ 3 Updated 2026-05-10

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が起動している限り、音声はループ再生され続けます。