* added MIDI panic button (http://tracker.ardour.org/view.php?id=2118)
* bugfix: moving notes above midi 127 or below 0 does not wrap around anymore
* bugfix: deadlock on editing notes after playback (http://tracker.ardour.org/view.php?id=2140) due to unbalanced lock acquire/release
* bugfix: First note off lost in playback (http://tracker.ardour.org/view.php?id=2132)
* bugfix: Last note off lost in saving MIDI files (http://tracker.ardour.org/view.php?id=2132)
* bandaid fix for http://tracker.ardour.org/view.php?id=1985 (Cannot reopen session because jack ports are not unregistered on session close)
* bandaid fix: replaced conf.CheckPKGExists ('\"slv2 >= 0.6.0\"') by conf.CheckPKGExists ('slv2') in SConstruct, because the former would fail, 
  even if SLV 0.6.0 was installed
* added/enabled debugging output for debugging MIDI model (might be removed later)


git-svn-id: svn://localhost/ardour2/branches/3.0@3211 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Hans Baier 2008-04-03 21:47:47 +00:00
parent 6554200e66
commit fbfe9a7983
22 changed files with 332 additions and 57 deletions

View file

@ -54,5 +54,14 @@ inline static uint32_t note_fill_color(uint8_t vel)
}
}
inline static void clamp_0_to_127(uint8_t &val)
{
if( (127 < val) && (val < 192) ) {
val = 127;
} else if( (192 <= val) && (val < 255) ) {
val = 0;
}
}
#endif /* __gtk_ardour_midi_util_h__ */