Skip to content

Is it possible to add "hidden" track using AlphaTex? #1568

Answered by Danielku15
bali182 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes this is possible the data model holding the song information can have many tracks and they will be played all (unless muted explicitly through APIs). And separately you can tell alphaTab which tracks to render.

With the tex method you set the overall song with all tracks.

In your case you would do simply

const api = new AlphaTabApi(dom, config)
const basslineTex = `\\track "Bass Line" 1.1 2.1 3.1 4.1`
const guitarChordTex = `…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bali182
Comment options

Answer selected by Danielku15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants