Skip to content

Cross-group (N)RPN handling in umpToBytestream (Ref #30) - #35

Open
sauloverissimo wants to merge 1 commit into
midi2-dev:mainfrom
sauloverissimo:fix/rpn-nrpn-group-isolation
Open

Cross-group (N)RPN handling in umpToBytestream (Ref #30)#35
sauloverissimo wants to merge 1 commit into
midi2-dev:mainfrom
sauloverissimo:fix/rpn-nrpn-group-isolation

Conversation

@sauloverissimo

Copy link
Copy Markdown
Contributor

Hi folks,

Split out from #34 as requested. This is the cross-group (N)RPN fix for #30.

The cache in umpToBytestream is keyed by channel only, so the same channel across different groups on one instance suppresses the parameter number on the later group. This resets the cache when the group changes (one byte, lastGroupSeen). Single-group and setFilterGroup output stays byte-identical, so current users aren't affected.

No rush on this one. If you have a different direction in mind for the long term, I can rework it.

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.

1 participant