This PR partially closes #210 "Improve smoothing of ribbons" -- involving only the melodic ribbon, it radically shrinks the sliding window width and step size to make the ribbon height follow the notes much more closely. Various clamping and min/max values are also introduced so that the ribbon properly encompasses repeating single notes as well as multiple notes per voice (which can occur with the "Aggregate" voice).
This PR partially closes #210 "Improve smoothing of ribbons" -- involving only the melodic ribbon, it radically shrinks the sliding window width and step size to make the ribbon height follow the notes much more closely. Various clamping and min/max values are also introduced so that the ribbon properly encompasses repeating single notes as well as multiple notes per voice (which can occur with the "Aggregate" voice).