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

Aberta
#53 0 comentários 0 reações 0 responsáveis Ver no GitHub

@Codewriter90x já está trabalhando nisso.

Desde 22/10/2026.

  • #62 de @Codewriter90x — aberto

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
40/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
csharp, unity

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
C#
Estrelas
0
Forks
0
Merge médio
16h 9min
PRs com merge (30d)
7

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Codewriter90x/HitTheKit

Todas as issues de Codewriter90x/HitTheKit

Issues semelhantes

Mais issues de C#

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.