Skip to content

Triplets are not merging correctly when note duration changes #222

@cheap-glitch

Description

@cheap-glitch

Your environment

  • Version used: 0.9.3.159
  • Platform used: JavaScript
  • Rendering engine used: SVG
  • Browser Name and Version: Firefox 64.0.2
  • Operating System and version (desktop or mobile): ArchLinux
  • Link to your project: https://www.theguitarlickdatabase.com

Expected Results

Given the following alphatex:

\tempo 140 . \ts 4 4 :8 7.3{b (0 4)}{tu 3 sd} 5.2{tu 3 sd} 5.1{tu 3 su} 8.2{h}{tu 3 sd} 5.2{tu 3} 7.1{tu 3 su} :16 5.1{h}{tu 3 sd} 6.1{h}{tu 3} 5.1{tu 3} :8 8.2{tu 3 sd} 5.1{tu 3 su} 8.2{h}{tu 3 sd} 5.2{v}

The result should be (as rendered by Guitar Pro 6):
triplet-bug-gp

Observed Results

The tab produced by alphatab:
triplet-bug-alphatab
Live example here: https://www.theguitarlickdatabase.com/lick/3
Another one: https://www.theguitarlickdatabase.com/lick/4

Steps to Reproduce (for bugs)

Create a tab with the following alphatex code:

:8 0.1{tu 3} *3 :16 0.1{tu 3} *3 :8 0.1{tu 3} *3

Metadata

Metadata

Assignees

Labels

area-renderingEverything related to the renderingplatform-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