Feature: Respect AudioContext.outputLatency
Mantenedores costumam responder em até 1 dia
@Danielku15 já está trabalhando nisso.
Desde 14/5/2024.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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.
- Linguagem predominante
- TypeScript
- Estrelas
- 1.9k
- Forks
- 297
- Merge médio
- 9h 2min
- PRs com merge (30d)
- 44
Preparar o ambiente
Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de CoderLine/alphaTab
-
ai-authored
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 69/100
Mantenedores costumam responder em até 1 dia
-
ai-authored
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 1 dia
-
Respect systems layout of MusicXMLTalvez já em andamento @Danielku15 assumiu há 18 dias. Aberta
CoderLine/alphaTab#2909 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Expose Lyrics in public apiTalvez já em andamento @Danielku15 assumiu há 18 dias. Aberta
CoderLine/alphaTab#2908 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Show accentuations on tab-only stavesTalvez já em andamento @Danielku15 assumiu há 18 dias. Aberta
CoderLine/alphaTab#2906 · 1 comentário · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de CoderLine/alphaTab
Issues semelhantes
-
area: image-engine bug priority: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
snapotter-hq/SnapOtter#3885 ·
Mantenedores costumam responder em até 1 dia
-
Mend: dependency security vulnerability
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 3 dias
-
pending triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia
-
bug P3 UI/UX
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
openclaw/openclaw#182077 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia