Menu

#4 ALSA Midi Input not working

v1.x
closed
None
5
2018-11-25
2015-04-03
No

I am running drumstick-vpiano and setting the input to my ALSA UM-ONE:0 port. When I press a note on my MIDI keyboard, the drumstick library is not seeing the MIDI events.

If I use aseqdump however, I can see the events:
$ aseqdump -p UM-ONE:0
Waiting for data. Press Ctrl+C to end.
Source Event Ch Data
28:0 Note on 0, note 60, velocity 70
28:0 Note off 0, note 60
28:0 Note on 0, note 60, velocity 73
28:0 Note off 0, note 60
28:0 Note on 0, note 60, velocity 79
28:0 Note off 0, note 60
28:0 Note on 0, note 60, velocity 67
28:0 Note off 0, note 60

Discussion

  • Jonathan Liu

    Jonathan Liu - 2015-04-03

    Setting the output to ALSA UM-ONE:0 port and clicking the virtual piano notes however does correctly output MIDI events to my MIDI keyboard.

     
  • Jonathan Liu

    Jonathan Liu - 2015-04-03

    drumstick-dumpmid can see the events too:
    $ drumstick-dumpmid UM-ONE:0
    Trying to subscribe from Announce
    Subscription made from 0 : 1
    Trying to subscribe UM-ONE:0
    Subscription made from 28 : 0
    Press Ctrl+C to exit
    Ticks Source_ Event__ Ch _Data__
    0 0:1 Port subscribed 0:1 -> 128:0
    0 0:1 Port subscribed 28:0 -> 128:0
    489 28:0 Note on 0 60 68
    506 28:0 Note on 0 60 0
    576 28:0 Note on 0 60 63
    592 28:0 Note on 0 60 0
    653 28:0 Note on 0 60 67
    672 28:0 Note on 0 60 0
    725 28:0 Note on 0 60 72
    748 28:0 Note on 0 60 0

     
  • Pedro Lopez-Cabanillas

    Fixed on revision 301.

     
  • Pedro Lopez-Cabanillas

    • status: open --> closed
    • discussion: enabled --> disabled