Title: Centered full bar notes and rests · Issue #2464 · CoderLine/alphaTab · GitHub
Open Graph Title: Centered full bar notes and rests · Issue #2464 · CoderLine/alphaTab
X Title: Centered full bar notes and rests · Issue #2464 · CoderLine/alphaTab
Description: See #2463 It is an established practice to center elements of bar-length durations within the bar. (Behind Bars page 41). Would be nice if alphaTab can also render elements like this. This kind of display would only be active if we have ...
Open Graph Description: See #2463 It is an established practice to center elements of bar-length durations within the bar. (Behind Bars page 41). Would be nice if alphaTab can also render elements like this. This kind of ...
X Description: See #2463 It is an established practice to center elements of bar-length durations within the bar. (Behind Bars page 41). Would be nice if alphaTab can also render elements like this. This kind of ...
Opengraph URL: https://github.com/CoderLine/alphaTab/issues/2464
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Centered full bar notes and rests","articleBody":"See https://github.com/CoderLine/alphaTab/discussions/2463\n\nIt is an established practice to center elements of bar-length durations within the bar. (Behind Bars page 41). \n\n\u003cimg width=\"764\" height=\"117\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/c4c14128-a837-442c-ad78-2bafc4241e9f\" /\u003e\n\nWould be nice if alphaTab can also render elements like this. This kind of display would only be active if we have a single beat in the bar with the full bar duration including all tracks/staves/voices rendered (on BarLayoutingInfo level).\n\nIf there is any inconsistency or multiple beats the classical positioning would be active. \n\nTechnical details: I think it could be as simple as checking for this condition here in [`buildOnTimePositions` ](https://github.com/CoderLine/alphaTab/blob/604c1c0b80b694dbdd704a7afc6775d5345c69b0/packages/alphatab/src/rendering/staves/BarLayoutingInfo.ts#L381). If we have a single beat wth a full bar duration, we can shift the on-time position to the center and the rest should work out-of-the box. ","author":{"url":"https://github.com/Danielku15","@type":"Person","name":"Danielku15"},"datePublished":"2025-12-26T16:59:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2464/alphaTab/issues/2464"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:28a8028e-f050-f8fc-a357-15c20b7b4475 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8900:192102:C62FAE:10D25C5:698F77A8 |
| html-safe-nonce | 69490a119641979d3bf806a5ca869e4a860a83113b214d404b1d2e634371e697 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTAwOjE5MjEwMjpDNjJGQUU6MTBEMjVDNTo2OThGNzdBOCIsInZpc2l0b3JfaWQiOiIyNzA5NzI5NTA3NzI4NjUyMjAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8c23939ac311332d72acc254b62bb90b019dac8b86bfe3defbf125b069f6b202 |
| hovercard-subject-tag | issue:3763740967 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/CoderLine/alphaTab/2464/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ce2baa4f485309935863d04ec8c18cb240bb8ba201aab6febfed88f23b9d2b62/CoderLine/alphaTab/issues/2464 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ce2baa4f485309935863d04ec8c18cb240bb8ba201aab6febfed88f23b9d2b62/CoderLine/alphaTab/issues/2464 |
| og:image:alt | See #2463 It is an established practice to center elements of bar-length durations within the bar. (Behind Bars page 41). Would be nice if alphaTab can also render elements like this. This kind of ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Danielku15 |
| hostname | github.com |
| expected-hostname | github.com |
| None | a40913be56b49e6322246e4bcd65ab6ec4b458c6dca6b691d30419da1e5ee35e |
| turbo-cache-control | no-preview |
| go-import | github.com/CoderLine/alphaTab git https://github.com/CoderLine/alphaTab.git |
| octolytics-dimension-user_id | 715045 |
| octolytics-dimension-user_login | CoderLine |
| octolytics-dimension-repository_id | 1491192 |
| octolytics-dimension-repository_nwo | CoderLine/alphaTab |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1491192 |
| octolytics-dimension-repository_network_root_nwo | CoderLine/alphaTab |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ca6051e0ba2303370981e3d01e2bc1044eb3b429 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width