Platforms: electronic-drum MIDI input on Windows (and Linux)
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 40/100
- Issue 類型
- 功能
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
研究方向
Start with the existing device boundary in IDrumDeviceDiscovery, RawMidiMessage, and MonotonicMidiTimestampMapper, then compare the macOS implementation in native/HitTheKit.CoreMidi. The work needs a cross-platform MIDI backend for Windows and Linux while preserving the existing mapping and timestamp behavior; verify with the project’s timing tests and a manual USB electronic-kit check on Windows 10/11. Update the support matrix and documentation so they reflect the supported platforms.
由索引模型根據 Issue 內容生成。
描述
Problem
MIDI input exists only on macOS through the native CoreMIDI plug-in (native/HitTheKit.CoreMidi). CoreMidiGameplayInput is wrapped in #if UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX, so Windows and Linux builds show "CORE MIDI SOLO SU MACOS" and play keyboard-only. Many electronic-drum players use Windows.
Proposal
- Introduce a platform-neutral MIDI input backend behind the existing device boundary (
IDrumDeviceDiscovery, capture source,RawMidiMessage), so mapping, timing and gameplay code stay unchanged. - Implement it with a maintained cross-platform library (e.g. an RtMidi-based package for Unity) for Windows and Linux; keep CoreMIDI on macOS or migrate it too if the library is accurate enough.
- Preserve accurate timestamps (
MonotonicMidiTimestampMapper) so hit judgment stays deterministic.
Acceptance criteria
- A USB electronic kit is discovered and playable on Windows 10/11.
- Timing judgments match macOS within the existing tolerance (manual check + tests on the core).
- macOS behaviour does not regress.
- Docs and the support matrix are updated.
Generated by Claude Code
- 主要語言
- C#
- 星號
- 0
- 分支
- 0
- 平均合併
- 16 小時 9 分鐘
- 30 天內合併 PR
- 7
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Codewriter90x/HitTheKit 的其他 Issue
-
hardware help wanted
難度 1/5 1-3 小時 新手友好度 88/100
Codewriter90x/HitTheKit#14 ·
-
documentation enhancement
難度 3/5 1-2 天 新手友好度 72/100
Codewriter90x/HitTheKit#54 ·
-
enhancement hardware
難度 4/5 3-5 天 新手友好度 58/100
Codewriter90x/HitTheKit#52 ·
-
enhancement help wanted
難度 5/5 一週以上 新手友好度 25/100
Codewriter90x/HitTheKit#43 ·
-
enhancement help wanted
難度 5/5 一週以上 新手友好度 30/100
Codewriter90x/HitTheKit#42 ·
查看 Codewriter90x/HitTheKit 的全部 Issue
相似的 Issue
-
type:task ux
難度 2/5 1-3 小時 新手友好度 72/100
elsa-workflows/elsa-foundation#5253 ·
維護者通常 1 天內回覆