Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Global MIDI Mapping View #191

Merged
merged 17 commits into from
Dec 17, 2024
Merged

Add Global MIDI Mapping View #191

merged 17 commits into from
Dec 17, 2024

Conversation

fde31
Copy link
Member

@fde31 fde31 commented Dec 16, 2024

This adds a Global MIDI Mapping view. Currently it's read-only apart from clearing the mapping but should be relatively straightforward to make it possible to inline edit the MIDI Channel and CCs.

I've added a button to the left sidebar for now to access this view, reasonable?

Setting to draft for now until editing in place.

Closes #171

@fde31 fde31 marked this pull request as ready for review December 16, 2024 20:14
@fde31 fde31 requested a review from x37v December 16, 2024 20:14
@x37v
Copy link
Contributor

x37v commented Dec 16, 2024

on thing i'm noticing is that the view doesn't render details for note mappings

Copy link
Contributor

@x37v x37v left a comment

Choose a reason for hiding this comment

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

looking good so far, there are a few more types of mappings available that aren't yet visible/implemented that we should get in there

src/pages/midimappings.tsx Outdated Show resolved Hide resolved
src/lib/types.ts Outdated Show resolved Hide resolved
@fde31
Copy link
Member Author

fde31 commented Dec 17, 2024

Yeah so these other types of mapping were just not really implemented / typed I guess. I've added support for them and moved to a Max-like display / format with some relatively primitive validation in formatMIDIMappingToDisplay and parseMIDIMappingDisplayValue

@fde31 fde31 requested a review from x37v December 17, 2024 13:19
src/lib/util.ts Outdated Show resolved Hide resolved
src/lib/util.ts Outdated Show resolved Hide resolved
src/lib/util.ts Outdated Show resolved Hide resolved
@fde31
Copy link
Member Author

fde31 commented Dec 17, 2024

k. I've hardened the parsing and display and made it a tad more flexible for unknown mapping types

@fde31 fde31 requested a review from x37v December 17, 2024 14:34
src/lib/util.ts Show resolved Hide resolved
Copy link
Contributor

@x37v x37v left a comment

Choose a reason for hiding this comment

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

looks good, just one comment about potential tabbing?

@fde31 fde31 merged commit 5bced2d into develop Dec 17, 2024
1 check passed
@fde31 fde31 deleted the fde/midi_mapping_view branch December 17, 2024 14:53
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.

FR: Set Global MIDI Mapping View
2 participants