Skip to content

Make the load API consistent #267

@Danielku15

Description

@Danielku15

Description

Currently there are multiple ways to load tracks or scores into alphaTab to be ultimately rendered. This API is not consistent and 100% clear to users. e.g. the load method accepts a URL that will download a file, and then use some previously configured track indexes for display. The renderTracks method acceps a score, track indexes and a bool for rendering.

Possible Solutions

One or max 2 dedicated methods should exist that allow full flexibility of passing in to alphaTab what to load and display.

Metadata

Metadata

Assignees

Labels

area-documentationRelated to documentation and sample codeplatform-javascriptRelated to the JavaScript version of alphaTabplatform-netRelated to the .net version of alphaTabstate-acceptedThis is a valid topic to work on.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions