Skip to content

Refactor MIDI event processing and key state updates, format code#379

Open
guylamar2006 wants to merge 1 commit into
PolyMeilex:masterfrom
guylamar2006:patch-6
Open

Refactor MIDI event processing and key state updates, format code#379
guylamar2006 wants to merge 1 commit into
PolyMeilex:masterfrom
guylamar2006:patch-6

Conversation

@guylamar2006

Copy link
Copy Markdown
Contributor

Refactor MIDI event handling to support dynamic channel assignment and improve key state management.

@guylamar2006

Copy link
Copy Markdown
Contributor Author

Fixes #372

Comment thread neothesia-cli/src/main.rs Outdated
Comment on lines +409 to +410
// MIDI convention: NoteOn with velocity 0 == NoteOff
if vel_u8 == 0 {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure this condition will always be false. Events are already post-processed when they are read to avoid placing velocity conditions everywhere,

Refactor MIDI event handling to support dynamic channel assignment and improve key state management.

format refactored rust code with rustfmt
@guylamar2006 guylamar2006 changed the title Refactor MIDI event processing and key state updates Refactor MIDI event processing and key state updates, format code May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants