Bỏ qua đến nội dung

Bluetooth Anti-Lag Add-on

Chờ xử lý #anki #addon #bluetooth #anti #lag #add
https://forums.ankiweb.net/u/waifuism_02/summary
19/6/2023

Cách tải addon Bluetooth Anti-Lag Add-on

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

1972606896

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 1972606896 và copy

1

Mô tả chi tiết

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.

  1. When Anki starts, the Python script of the add-on is executed.

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


Liên kết hỗ trợ


Reviews (1)

👍 2025-09-01

Perfect! This solved my problem where around the first 0.5s of audio was always “cut”. I don’t use Bluetooth speakers, but it seems my laptop’s audio driver uses a similar deep sleep/low power state. Anyway, this add-on solved it for me. MANY THANKS!