]> git.donarmstrong.com Git - lilypond.git/commit
Pitch bend tuning fixes
authorGraham Breed <gbreed@gmail.com>
Thu, 23 Jun 2011 23:12:52 +0000 (00:12 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Mon, 11 Jul 2011 20:24:40 +0000 (21:24 +0100)
commit6908517be0826a3386264cd6d26d742b18e3a227
treea5004085fbf4eef8f848bbd414e8e179665ae585
parent2904d403afed15fe87e05bc869590ce57dc00aa7
Pitch bend tuning fixes

1) The pitch isn't always rounded to the nearest equally
tempered value, so the result looks strange in a sequencer,
and artifacts caused by the pitch bends are more severe.

2) The tuning is rounded to cents before the pitch bends
are calculated.  It may not be a big deal, but there's no
need for it, and the code's simpler calculating the bends
directly.
lily/midi-item.cc