Feature: Respect AudioContext.outputLatency
メンテナーはふだん 1 日以内に返信
@Danielku15 がすでに取り組んでいます。
2024年5月14日 から。
評価
この issue はまだ評価されていません。
説明
See https://github.com/CoderLine/alphaTab/discussions/1454
AlphaTab currently does not respect the AudioContext.outputLatency describing the timely difference between us passing the audio samples to the context and the actual time it will be heard by the user.
This leads to a shift of the cursor and seen audio.
AlphaTab should correctly expose the time and tick position according to the heard audio on the synthesizer area. Internally it might still need to keep its "synth" timeline. Things to consider:
- It seems the audio latency is not static but can change any time.
- There is a time axis within the midi sequencer, and one on the synth level.
- The sequencer position decides which midi events to play next for audio generation.
- The one on synth level is handling the actual audio position according to the samples played by the output. Here we likely need adjustment
- The synth level audio is also used to determine whether the playback finished (and potentially seek back to the start of the desired playback range - if looping is active).
- When looping and jumping/seeking back to an older position, we need to be careful on just applying the latency wrongly. We might be stopping/seeking too early resulting in a strange cursor jump/positioning.
- Testing might be tricky as I'm not aware of a way to modify the latency.
- 主要言語
- TypeScript
- スター
- 1.9k
- フォーク
- 297
- 平均マージ
- 9時間 2分
- マージ済み PR(30日)
- 44
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CoderLine/alphaTab のほかの issue
-
ai-authored
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 1 日以内に返信
-
ai-authored
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
Respect systems layout of MusicXML対応中かも @Danielku15 が 18 日前に担当しました。 オープン
CoderLine/alphaTab#2909 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Expose Lyrics in public api対応中かも @Danielku15 が 18 日前に担当しました。 オープン
CoderLine/alphaTab#2908 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Show accentuations on tab-only staves対応中かも @Danielku15 が 18 日前に担当しました。 オープン
CoderLine/alphaTab#2906 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
CoderLine/alphaTab の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
braintrustdata/braintrust-sdk-javascript#2659 ·
メンテナーはふだん 1 日以内に返信
-
body-parser 2.3.0 in the published ai-dial-chat-bff image is vulnerable (CVE-2026-111181, HIGH)対応中かも @illya-havsiyevych が今日担当しました。 オープンbug
難易度 1/5 1〜3時間 初心者へのやさしさ 87/100
epam/ai-dial-chat#9566 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
はさみアイコンを修正するオープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
-
area: core
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信