Use Fixed-length when drawing percussive events
authorRobin Gareus <robin@gareus.org>
Wed, 4 Sep 2019 22:40:48 +0000 (00:40 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 4 Sep 2019 22:42:29 +0000 (00:42 +0200)
commitf491d7ec71b4dc9b4d94be228dd8067c67f5e5f3
treea84c3370783a30497093ab226957ed98af6c2588
parent813ad4959deb2c1c5361483c77033c6ffc05ef96
Use Fixed-length when drawing percussive events

Previously adding percussive-hits created sustained notes
using the current grid as duration. This allowed to create
overlapping notes with the overlap not being visible.

Most hardware MIDI drumkits do send an immediate note-off event
after each hit (if they send note-offs at all).
Ardour now follows suit and does the same when using the draw/edit tool.
gtk2_ardour/editor_drag.cc