Only sound selected notes momentarily (#6142).
authorDavid Robillard <d@drobilla.net>
Sat, 14 Mar 2015 05:12:29 +0000 (01:12 -0400)
committerDavid Robillard <d@drobilla.net>
Sat, 14 Mar 2015 05:12:29 +0000 (01:12 -0400)
commitb72fc759c05b16f707b998cbf2a7acea447c4001
tree210346439536947191aa67db92ee9c28adf4556b
parent0028630eceec67c22561c7c72ad758491257ddc4
Only sound selected notes momentarily (#6142).

This is debatable, the "sustained until mouse release" behaviour is handy
sometimes, but this way seems like what most people probably want.

Also, this "fire it and forget it and let it delete itself a bit later" thing
with MidiPlayer makes me nervous.  I guess it's unlikely someone manages to
select a note then delete a track within 100ms, but, well...
gtk2_ardour/midi_region_view.cc
gtk2_ardour/midi_region_view.h