Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Multiple Time Signatures across multiple tracks

未關閉
#287 4 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@Danielku15 已經在處理了。

開始於 2019年10月12日。

評估

這個 Issue 還沒有評估資料。

描述

Your environment

Expected Results

I have multiple tracks and one set of tracks has a time signature 4 4 and the other set of tracks has a time signature 12 8. The tracks with a time signature 4 4 should have that displayed on their line and those with 12 8 should have that displayed on their line.

Observed Results

The 12 8 time signature is displayed on all tracks.

Steps to Reproduce (for bugs)

  1. See the linked source code. The index.html contains the alphaTex currently being rendered.
    In a nutshell:
\track "Soprano"
\staff {score} \tuning piano \instrument acousticgrandpiano \ks G
\ts 4 4 :2 g3{-} r |
\track "Piano Accompaniment"
\staff {score} \tuning piano \instrument acousticgrandpiano \ks G \clef F4
\ts 12 8 :1 g2{d} |

will show only the 12 8 time signature. The alphaTex that is currently being rendered is longer.

Possible Solution

I'm guessing that it assumes there is only one time signature across tracks. You'd have to expand it to accept multiple and draw multiple.

主要語言
TypeScript
星號
1.9k
分支
297
平均合併
9 小時 2 分鐘
30 天內合併 PR
44

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CoderLine/alphaTab 的其他 Issue

查看 CoderLine/alphaTab 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。