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

オープン
#53 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@Codewriter90x がすでに取り組んでいます。

2026年10月22日 から。

  • #62 @Codewriter90x による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
40/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp, unity

調査の方向性

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 の本文から書いたものです。

説明

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

主要言語
C#
スター
0
フォーク
0
平均マージ
16時間 9分
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Codewriter90x/HitTheKit のほかの issue

Codewriter90x/HitTheKit の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。