Giter Club home page Giter Club logo

Comments (6)

mtytel avatar mtytel commented on June 14, 2024

Looking into this. My keyboard with aftertouch unfortunately is in storage at the moment..

from helm.

mtytel avatar mtytel commented on June 14, 2024

Where did I put my keyboard with aftertouch?? :|

from helm.

mtytel avatar mtytel commented on June 14, 2024

Well I finally found my keyboard with aftertouch and it works with my setup on GNU/Linux and OSX. Haven't tried Windows yet.
Could you send me what OS you're on and what keyboard you're using? Have you gotten aftertouch from that keyboard working with other synthesizers?

from helm.

Florob avatar Florob commented on June 14, 2024

I'm using an up to date Arch Linux, with a Miselu C.24 keyboard.
In my experience there is a certain lack of synthesizers supporting polyphonic aftertouch, so technically no. However, I have verified that events are send using amidi -d:

90 48 05
A0 0C 05
A0 0C 1A
[...]
A0 0C 03
90 48 00
90 4C 01
A0 10 01
[...]
A0 10 00
90 4C 00

Now, having looked at those bytes in some detail, I noticed that the key byte send with the Aftertouch events is different from the note byte send with the Note On events. The Aftertouch key is a one-to-one mapping to the physical keys, while the note changes with octave shifts. If I shift the octave down far enough that the note byte equals the key byte everything works as intended. I still find it strange that the first of the Aftertouch events per note appears to be handled though.
I have not been able to determine whether this behaviour is compliant with the MIDI specification. If you think it isn't/I should complain to Miselu instead, feel free to close this bug.

from helm.

mtytel avatar mtytel commented on June 14, 2024

The way aftertouch is implemented in Helm is that it takes the velocity value as the first value. I think I did this because defaulting to 0 gave some strange behavior if you slammed down a note.

I'm not sure why you're getting that byte readout, but I know some keyboards have only monophonic aftertouch, some have polyphonic aftertouch and on some keyboards you can switch between them in the settings. The aftertouch in Helm is only polyphonic I believe, so if yours is setup for monophonic that might be the issue.

from helm.

mtytel avatar mtytel commented on June 14, 2024

Closing because it's working for me and other people haven't run into this issue.
Probably could make it more compatible with more keyboards/control interfaces but I can't afford to buy a bunch of interfaces.

from helm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.