Platforms: electronic-drum MIDI input on Windows (and Linux)
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
- Domínio
- audio-video-rtc, game-dev
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
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
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Codewriter90x/HitTheKit
-
hardware help wanted
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 88/100
Codewriter90x/HitTheKit#14 ·
-
documentation enhancement
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 72/100
Codewriter90x/HitTheKit#54 ·
-
enhancement hardware
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 58/100
Codewriter90x/HitTheKit#52 ·
-
enhancement help wanted
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
Codewriter90x/HitTheKit#43 ·
-
enhancement help wanted
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 30/100
Codewriter90x/HitTheKit#42 ·
Todas as issues de Codewriter90x/HitTheKit
Issues semelhantes
-
type:task ux
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
elsa-workflows/elsa-foundation#5253 ·
Mantenedores costumam responder em até 1 dia