Platforms: electronic-drum MIDI input on Windows (and Linux)
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 40/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- audio-video-rtc, game-dev
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C#
- Star
- 0
- Fork
- 0
- Merge trung bình
- 16 giờ 9 phút
- Pull request đã merge (30 ngày)
- 7
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Codewriter90x/HitTheKit
-
hardware help wanted
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
Codewriter90x/HitTheKit#14 ·
-
documentation enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
Codewriter90x/HitTheKit#54 ·
-
enhancement hardware
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
Codewriter90x/HitTheKit#52 ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Codewriter90x/HitTheKit#43 ·
-
enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
Codewriter90x/HitTheKit#42 ·
Tất cả issue của Codewriter90x/HitTheKit
Issue tương tự
-
type:task ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elsa-workflows/elsa-foundation#5253 ·
Maintainer thường phản hồi trong vòng 1 ngày