smallpond

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/smallpond
Log | Files | Refs | README | LICENSE

commit cdef45790a19404669dab6f0665c3a53717eb0e0
parent 056f13296326b98494c44f69240b776edc647387
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Thu, 15 Dec 2022 21:52:43 -0600

fix jittering by following only one staff's timing

Diffstat:
Msmallpond.lua | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/smallpond.lua b/smallpond.lua @@ -662,7 +662,8 @@ for _, time in ipairs(points) do if #vals.on == 0 then goto nextstaff end local diff for _, el in ipairs(vals.on) do - if el.time and el.time > maxtime then maxtime = el.time end + -- HACK: don't hardcode staff name + if staff == "low" and el.time and el.time > maxtime then maxtime = el.time end diff = staff3ify(time, el, staff) if el.beamref then staff3ify(time, el.beamref, staff) end end