Skip to content

Solo & mute features #1024

Answered by Danielku15
MrDrone-ru asked this question in Q&A
Nov 1, 2022 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Hi.
Yes, isSolo and isMute are not affecting directly by default the playback and this is rather by design to avoid unexpected side effects for people who do not build a full UI around the mute/solo functionalities.

You can simply use the provided APIs for muting and solo tracks to update the player. to respect the information in the tracks.

https://alphatab.net/docs/reference/api/changetrackmute/
https://alphatab.net/docs/reference/api/changetracksolo/

api.changeTrackSolo(score.tracks.filter(t => t.playbackInfo.isSolo), true);
api.changeTrackMute(score.tracks.filter(t => t.playbackInfo.isMute), true);

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@MrDrone-ru
Comment options

@Danielku15
Comment options

@MrDrone-ru
Comment options

@Danielku15
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