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 天内回复