Skip to content

Feature/option to combine mpe to monophonic midi output - #934

Merged
sapphire-arches merged 15 commits into
SynthstromAudible:communityfrom
m-m-adams:feature/combine_mpe_to_mono
Jan 15, 2024
Merged

Feature/option to combine mpe to monophonic midi output#934
sapphire-arches merged 15 commits into
SynthstromAudible:communityfrom
m-m-adams:feature/combine_mpe_to_mono

Conversation

@m-m-adams

Copy link
Copy Markdown
Collaborator

Convenience settings for MPE and poly aftertouch users

Adds two settings to midi outputs to combine poly expression to mono. The aftertouch option converts MPE and poly aftertouch to mono aftertouch (highest pressure wins), the MPE option converts y-axis to mod wheel (highest wins) and poly pitch bend to average mono pitch bend.

This makes using an MPE controller with midi follow much more convenient

@m-m-adams
m-m-adams force-pushed the feature/combine_mpe_to_mono branch 3 times, most recently from c3117f6 to dedb1ac Compare January 14, 2024 17:20
@m-m-adams m-m-adams added this to the Release 1.1 milestone Jan 14, 2024

@sapphire-arches sapphire-arches left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

mostly stupid style nitpicks, functionally i don't see any obvious problems

Comment thread src/deluge/model/instrument/non_audio_instrument.h Outdated
Comment thread src/deluge/model/instrument/midi_instrument.cpp Outdated
Comment thread src/deluge/model/instrument/midi_instrument.cpp
@m-m-adams
m-m-adams force-pushed the feature/combine_mpe_to_mono branch from dedb1ac to 91fd35e Compare January 15, 2024 01:13
@sapphire-arches
sapphire-arches added this pull request to the merge queue Jan 15, 2024
Merged via the queue into SynthstromAudible:community with commit 2f09a4e Jan 15, 2024
seangoodvibes pushed a commit to seangoodvibes/DelugeFirmware that referenced this pull request Jan 15, 2024
…dible#934)

* collapse MPE to monophonic expression, aftertouch to poly aftertouch by default

* add mpe submenu to midi output

* fix getcurrentinstrumenttype to be safe

* menu for setting and saving poly to mono conversion data

* rename menu for clarity

* format and documentation

* adjust bend range when converting from mpe pitch to mono pitch

* remove non-functional check

* ensure mod wheel can work when negative

* combine mono pitch/mod with collapsed poly expression

* fix bug where mod wheel was transmitted twice, fix bug where modwheel transmitted at half value

* reset monophonic MPE values on note off

* fix merge issue

* initialize all expression to 0

* address comments
@m-m-adams
m-m-adams deleted the feature/combine_mpe_to_mono branch January 30, 2024 03:01
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