Skip to content

When the first note of the sheet music is a grace note, I noticed that during playback, there is no sound on the first beat, and sound only occurs on the second beat. #2224

@goodgame365

Description

@goodgame365

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When the first note of the sheet music is a grace note, I noticed that during playback, there is no sound on the first beat, and sound only occurs on the second beat.

Image
20250728_182739.mp4

test file:
test.zip

Expected Behavior

Grace notes should be played quickly before the principal note, and playback should produce sound starting from the first beat to reflect the complete rhythmic effect.

Steps To Reproduce

The issue arises when the initial note in the score is a grace note.

Link to jsFiddle, CodePen, Project

No response

Version and Environment

alphatab 1.4 ~ 1.7

all browsers

Platform

Node.js

Anything else?

No response

Metadata

Metadata

Assignees

Labels

area-playerRelated to the audio playback engine.platform-allAffects all platformsstate-acceptedThis is a valid topic to work on.

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions