Platforms: electronic-drum MIDI input on Windows (and Linux)

Đang mở
#53 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

@Codewriter90x đang làm issue này rồi.

Từ ngày 22/10/2026.

  • #62 của @Codewriter90x — đang mở

Đá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
Công nghệ
csharp, unity
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ả

enhancement hardware help wanted

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Codewriter90x/HitTheKit

Tất cả issue của Codewriter90x/HitTheKit

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.