Skip to content

External Media Sync / Backing Tracks - Allow mixing with Synthesizer #2397

Description

@Danielku15

alphaTab has currently the limitation that it can only use either the synth or the external media or backing track.

The missing part is: having both together.

  1. The external media or backing track would be the main media source.
  2. alphaTab would respect the playback speed just as today it internally plays the song "virtually" to synchronize the cursor and other bits.
  3. alphaTab would in parallel generate the audio via the synthesizer and play it through web audio.

Activity

  1. self-assigned this
    on Nov 28, 2025
  2. added
    area-playerRelated to the audio playback engine.
    state-ideaThis is an unplanned idea, vote for it if you want it.
    on Nov 28, 2025
  3. added theissue type on Nov 28, 2025
  4. Danielku15 commented on Dec 2, 2025

    @Danielku15
    MemberAuthor

    Notes:

    In this mode the behavior is similar to:

    1. the synthesizer always stays active.
    2. Additionally the backing track or external media player can be active modifying the current time position regularly
    3. If no backing-track or external media is active, the synth just keeps playing (but respecting the sync points).

    If the external media time updates indicate a drift of the time axis (simple threshold?), we need to seek the synthesizer. As the update should happen quite often, there is no need for a smooth correction.

  5. liJie-wk commented on Jan 28, 2026

    @liJie-wk

    I am looking forward to being able to synthesize metronome and accompaniment simultaneously in External Media mode

  6. leocaseiro commented on Feb 27, 2026

    @leocaseiro
    Contributor

    Hi, I just noticed that when using the External Media, and enabling count-in or metronome, we can no longer see the cursor animated, and the browser kind of freezes (audio plays, but no event listeners), until gets "Page unresponsive".

    Is this related to the same issue, or is it another one?

    To replicate:

    • open playground
    • load a guitar pro file with synced media (setup done in guitar pro, not alphatab)
    • set volume to either metronome or count-in to 1
    • play the track
    • sound is playing, but everything else is unresponsive, untill it "crashes"

    Thanks in advance

  7. AvaTheArchitect commented on Feb 27, 2026

    @AvaTheArchitect
  8. Danielku15 commented on Feb 27, 2026

    @Danielku15
    MemberAuthor

    I guess the answer is simple here: It is expected that metronome does not work as alphaTab cannot mix synth and external media. For the count-in I might have totally forgotten to think about this part. But internally it is the same as external media: It is not supported.

    But its definitely a bug that alphatab gets stuck. And it will get a feature when alphaTab can play external media and the synth together.

  9. leocaseiro commented on Mar 1, 2026

    @leocaseiro
    Contributor

    Thank you for the details @AvaTheArchitect. That makes sense.
    I am aware of some of the limitations in the browser, and this is definitely challenging to get right, but I do think it would be possible. I've seen metronome and audio backing track working well with Soundslice. I've never investigated how they do it, but they managed to get a nice performance when playing metronome + backing track (audio or youtube).

    (I don't think they allow to play synth + audio as well, but metronome and count-in they do)

    I was just wondering whether I should raise a new issue for the metronome and/or count in, or, because they use synth, it would be fixed when supporting mixing synth + media.

  10. AvaTheArchitect commented on Mar 2, 2026

    @AvaTheArchitect
  11. leocaseiro commented on Mar 2, 2026

    @leocaseiro
    Contributor

    Thanks @AvaTheArchitect, I am still exploring, but I am trying to create a rhythm game with alphatab and midi. Especially with e-drums, but it worked fine with the keyboard on my tests, too.

    On my previous attempt, starting from scratch, I had performance issues (https://leocaseiro.github.io/alpha-drums).
    So I decided to try forking from the alphaTabWebsite, and it's working much better for now, but it's still in a very early stage.
    https://leocaseiro.github.io/alphaTabWebsite/docs/rhythm-game

    If you don't have any midi input devices, and use mac, you can try it out via https://github.com/flit/MidiKeys mac app that simulates a midi keyboard.
    I haven't tried on windows yet, but I saw a bit of a latency on Android, so I'm expecting the same on Windows devices too.

  12. updated Priority High, Area Player, Platform All / Multiple and Work State Idea on Jul 10, 2026
  13. removed
    area-playerRelated to the audio playback engine.
    state-ideaThis is an unplanned idea, vote for it if you want it.
    on Jul 10, 2026
  14. added 7 commits that reference this issue on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

High

Area

Player

Platform

All / Multiple

Work State

Idea

Effort

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions