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

set evdev key threshold to 0.5 #112

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alesya-h
Copy link

Hi. Many midi devices that don't have velocity sensitivity usually send notes with velocity values like 64, 96 or 100 (out of 127). This means that those keypresses are not recognised by midimonster. 127 is rarely used as it'd correspond to maximum piano key velocity, which wouldn't sound musical, unlike less extreme values. This patch sets the threshold at 0.5 which fixes the problem for my Behringer FCB1010. Ideally it'd probably make sense to make the key velocity threshold configurable, but I'm not the best C programmer to do that.

@phedders
Copy link

phedders commented May 22, 2022 via email

@Spacelord09
Copy link
Collaborator

Please ignore the CI, it is currently not aware of branches that are not master..

@alesya-h
Copy link
Author

alesya-h commented Jun 5, 2022

@phedders thanks for the reference. I agree that you can simulate that by using a lua script or other means. This PR is just about better out of the box experience.

@Spacelord09 Spacelord09 added backend Backend issues enhancement Improvements on existing features labels Jun 15, 2022
@cbdevnet
Copy link
Owner

Hi, thanks for your effort in improving the MIDIMonster.

I'm not sure I understand this PR correctly, your issue seems to be with MIDI Input devices, but the change modifies the evdev backend which is for interacting with system input devices (mice, keyboards, gamepads, etc). Could you elaborate a little on how these interact?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend issues enhancement Improvements on existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants