Skip to content

[BUG] Low Level APIs - Renderer SVG multiple tracks wrong split #1133

@DevJett

Description

@DevJett

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I'm following the provided low-level APIs to generate an SVG from a Guitar Pro file that contains multiple tracks. However, the result is not as expected. It seems that all of the track bars are placed in the first SVG without any splits between them, and the names of each track are also included. This makes the first SVG too long and difficult to print, as the pages will be stacked on top of each other and become unreadable. Please take a look at the provided screenshot.

Download the Guitar Pro File I'm using here

https://files.fm/u/8w3ct5tjm

I have tested almost all version

1.3 alpha
1.2.3
1.0.1
Screenshot 2023-03-28 at 21 59 25

And still the same issue.

Expected Behavior

The first SVG should be splatted into parts same as when there is no multiple tracks. Also, it would be great if you can also keep the names of each track for the rest of the bars same as the exported PDF from original Guitar Pro software.

Steps To Reproduce

Here is the source code: https://alphatab.net/docs/guides/nodejs
Download GP File here: https://files.fm/u/8w3ct5tjm

Link to jsFiddle, CodePen, Project

No response

Found in Version

1.3-alpha

Platform

Node.js

Environment

- **OS**:
- **Browser**:
- **.net Version**:

Anything else?

No response

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions