Menu

#3 Hold/repeatedly press keys

Unstable_(example)
closed-rejected
nobody
new feature (1)
5
2018-12-03
2009-12-19
xlq
No

I like to use vmpk to test samplers and synthesizers and often want to repeatedly press a key. Rather than setting up an arpeggiator, I decided to implement it in vmpk. I might as well share it, in case anyone wants it. The implementation is rather crude. Do with it what you will.

Apply the patch with:
patch -p1 < vmpk-hold_and_hammer.diff

Discussion

  • xlq

    xlq - 2009-12-19

    Hold/hammer notes using shift/ctrl keys.

     
  • Pedro Lopez-Cabanillas

    About the "hammering" feature: a simpler solution instead of using a QTimer would be to not ignore keyEvents when isAutorepeat() == true. Of course this would be only for computer keyboard events, and not for mouse events. But your patch doesn't work with the raw keyboard mode, either. There is a RFE for the arpeggiator feature, BTW. The "hold" feature, using the modificator keys (ctrl, alt, shift) is also planned, but I want configurable settings for them.

     
  • Pedro Lopez-Cabanillas

    • status: open --> closed-rejected
    • Group: --> Unstable_(example)
     

Log in to post a comment.