Add MIDI Assignments module with UI mapping for buttons and potentiom…#22
Open
seiler-emerson wants to merge 1 commit intooxesoft:masterfrom
Open
Add MIDI Assignments module with UI mapping for buttons and potentiom…#22seiler-emerson wants to merge 1 commit intooxesoft:masterfrom
seiler-emerson wants to merge 1 commit intooxesoft:masterfrom
Conversation
…eters
Unified MIDI Assignment module supporting assignable buttons and potentiometers (CC only), with persistent storage and on-device user interface configuration.
Key points:
- Added MIDI Assignment module with independent feature indicators for buttons and potentiometers.
- Implemented fixed EEPROM layout with versioning to securely persist mappings.
- Added support for assignable analog potentiometers.
- Added support for assignable buttons.
- Default assignments:
- Buttons: CH1, CC 20+
- Potentiometers: CH1, CC 30+, range 0 to 127
- Added OLED user interface for on-device editing using the encoder and the Back button.
- The user interface supports MIDI Mapping menu, dynamic detection of new buttons and potentiometers, and navigation via Return.
- Menu system for:
- Editing CH, CC and button type (push/toggle).
- Editing of CH, CC, and potentiometer range.
- Return option as the last item, without numbering.
- Highlighting of selected items with a contrast block.
- This allows for complete mapping of MIDI controls (CC) independently, without the need for external software.
Owner
|
Olá, Emerson! Ficou muito legal o seu projeto. Antes de integrarmos o código na linha de desenvolvimento principal, queria te pedir para fazer umas adequações. Criei o conceito de "extensions" para evitar, principalmente, que os arquivos comuns fiquem inchados e desorganizados, confundindo a maioria das pessoas que não vai usar as mesmas. Dessa forma as extenções ficam auto-contidas. Segue algumas oportunidades de melhoria:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Olá Daniel, tudo bom?
Fiz algumas implementações, referente a botões e controles midi para o projeto:
Módulo unificado de Atribuições MIDI que suporta botões atribuíveis e potenciômetros (somente CC), com armazenamento persistente e configuração da interface do usuário no dispositivo.
Pontos principais:
Adicionado módulo de Atribuições MIDI com indicadores de recursos independentes para botões e potenciômetros.
Implementado layout de EEPROM fixo com versionamento para persistir mapeamentos com segurança.
Adicionado suporte para potenciômetros analógicos atribuíveis.
Adicionado suporte para botões atribuíveis.
Atribuições padrão:
Adicionada interface de usuário OLED para edição no dispositivo usando o encoder e o botão Voltar.
A interface de usuário suporta menu de Mapeamento MIDI, detecção dinâmica de novos botoes e potenciometros, alem de navegação por Retorno.
Sistema de menus para:
Isso permite o mapeamento completo de controles MIDI (CC) de forma independente, sem a necessidade de software externo.
Na sequência vou melhorar minha protoboard e arrumar alguns potenciometros. Você pode ver um exemplo neste video curto: https://www.youtube.com/watch?v=4T8W8HvfvdQ
Aproveitando a oportunidade testei o pitchbend e mod, parece funcionar bem, mas estou com flutuações por não ter o capacitor.