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 分鐘
- 30 天內合併 PR
- 44
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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
-
area:desktop bug documentation
難度 2/5 1-3 小時 新手友好度 76/100
anthropics/claude-code#104801 ·
維護者通常 1 天內回覆
-
check:passed streams:add
難度 2/5 1-3 小時 新手友好度 67/100
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
spudly/design-system#110 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefix可能已有人在做 @ItsDeadlyProgrammer 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 68/100
appsmithorg/appsmith#42471 · 1 則留言 ·
維護者通常 2 天內回覆