Error displaying bar if it contains a tied note that started in the previous bar #2729
Unanswered
ldupoueyUB
asked this question in
Q&A
Replies: 2 comments 4 replies
-
|
A workaround I found is removing the tied notes but I wish there were a better solution function removeTiedNotes(bar){
for(beat of bar.voices[0].beats){
console.log(beat)
tiedNotes = []
for(note of beat.notes){
if(
note.isHammerPullDestination ||
note.isSlurDestination ||
note.isTieDestination ||
note.isEffectSlurDestination
){
tiedNotes.push(note)
}
}
tiedNotes.forEach(note => {
beat.removeNote(note)
});
}
bar.finish(null)
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hey Leo, question can you take any pictures or share a video with the
tie-note issues? I am working on a ticket with tie-notes as well. Not
sure if it is related but wanted to compare to yours. For mine it appears
related to using SongBook.
Thanks
…On Wed, Jun 3, 2026 at 2:53 AM ldupoueyUB ***@***.***> wrote:
Hi,
The title pretty much sums up the issue.
I'm display bars one at a time using Setting.display.startBar = nand Setting.display.barCount
= 1 and it works well unless the bar contains a tied note that starts the
bar before (which is not displayed but still loaded as I undestand). Maybe
the error is a bit different but that's what I deduced.
Using firefox I get this error :
[AlphaTab][Worker] An unexpected error occurred in worker TypeError: can't access property "staff", startNoteRenderer is null
doLayout ***@***.******@***.***/dist/alphaTab.js:53165
_finalizeTies ***@***.******@***.***/dist/alphaTab.js:54529
finalizeRenderer ***@***.******@***.***/dist/alphaTab.js:54549
finalizeStaff ***@***.******@***.***/dist/alphaTab.js:56510
_finalizeTrackGroups ***@***.******@***.***/dist/alphaTab.js:57514
finalizeSystem ***@***.******@***.***/dist/alphaTab.js:57485
_fitSystem ***@***.******@***.***/dist/alphaTab.js:58325
_layoutAndRenderScore ***@***.******@***.***/dist/alphaTab.js:58292
doLayoutAndRender ***@***.******@***.***/dist/alphaTab.js:58097
layoutAndRender ***@***.******@***.***/dist/alphaTab.js:57663
_layoutAndRender ***@***.******@***.***/dist/alphaTab.js:40777
render ***@***.******@***.***/dist/alphaTab.js:40756
renderScore ***@***.******@***.***/dist/alphaTab.js:40702
_renderMultiple ***@***.******@***.***/dist/alphaTab.js:50201
_handleMessage ***@***.******@***.***/dist/alphaTab.js:50186
AlphaTabWebWorker ***@***.******@***.***/dist/alphaTab.js:50125
alphaTab.js:1669:12
Attached is one file I get the issue with (bar 12 for instance)
4 Non Blondes - What's Up (3).gp4.zip
<https://github.com/user-attachments/files/28545530/4.Non.Blondes.-.What.s.Up.3.gp4.zip>
Am I missing something ? Let me know if I should create an issue or
anything.
Léo
—
Reply to this email directly, view it on GitHub
<#2729?email_source=notifications&email_token=BNLESQAWHG4BJQKLMFSBVRL457YRBA5CNFSNUABBM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63RPGEYDCOBZG44DJJTSMVQXG33OVJZXKYTTMNZGSYTFMSSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BNLESQEKF637JCGWYFJX44L457YRBAVCNFSM6AAAAACZYO5PDKVHI2DSMVQWIX3LMV43GRDJONRXK43TNFXW4OZRGAYTQOJXHA2A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
The title pretty much sums up the issue.
I'm display bars one at a time using
Setting.display.startBar = nandSetting.display.barCount = 1and it works well unless the bar contains a tied note that starts the bar before (which is not displayed but still loaded as I undestand). Maybe the error is a bit different but that's what I deduced.Using firefox I get this error :
Attached is one file I get the issue with (bar 12 for instance)
4 Non Blondes - What's Up (3).gp4.zip
Am I missing something ? Let me know if I should create an issue or anything.
Léo
Beta Was this translation helpful? Give feedback.
All reactions