smallpond

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

commit c6e80d715d5aece48d6c2573c99770ba9e227770
parent 0e87b17dd018dc7f05cf6054a9eaae141c4c13fd
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Wed, 21 Dec 2022 23:04:11 -0600

tie adjustments

Diffstat:
Mscore.sp | 33++++++++++++++++-----------------
Msmallpond.lua | 2+-
2 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/score.sp b/score.sp @@ -175,27 +175,27 @@ 32.82csv16[ 32.85av16 33.08fs,v16 33.40csv16 \staff low \clef bass - 33.6a'^8] | + 33.6a'~^8] | 34.0a^16[ \staff high \clef treble - 34.2cs,v16 34.45fsv16 34.6a'v16 34.8csv8] + 34.2cs,v16 34.45fsv16 34.6a'v16 34.8cs~v8] 35.2csv16[ 35.4av16 35.55fs,v16 35.7csv16 \staff low \clef bass - 36.1a'^8] | + 36.1a'~^8] | 36.5a^16[ \staff high \clef treble - 36.8c,v16 37.0fv16 37.3a'v16 37.6cv8] + 36.8c,v16 37.0fv16 37.3a'v16 37.6c~v8] 37.85cv16[ 38.05av16 38.25f,v16 38.5cv16 \staff low \clef bass - 38.8a'^8] | + 38.8a'~^8] | 39.1a^16[ \staff high \clef treble - 39.3c,v16 39.4fv16 39.73a'v16 39.8cv8] + 39.3c,v16 39.4fv16 39.73a'v16 39.8c~v8] 40.1cv16[ 40.4av16 40.65f,v16 40.8cv16 \staff low \clef bass @@ -203,19 +203,19 @@ \clef treble 41.5b,^16[ 41.75d^16 41.9f^16 42.05a'^16 \staff high - 42.25av8] 42.6av16[ + 42.25a~v8] 42.6av16[ \staff low 42.75a^16 43.0f,^16 43.2d^16 43.35b^8] | - 43.8a16[ 43.95b16 44.2d16 44.4f16 44.55a'8] 44.9a16[ 45.05f,16 45.3d16 45.42b16 45.6a8] | + 43.8a16[ 43.95b16 44.2d16 44.4f16 44.55a'~8] 44.9a16[ 45.05f,16 45.3d16 45.42b16 45.6a8] | \clef bass 45.95f^16[ 46.2a'^16 46.4b^16 46.55d^16 \staff high \clef treble - 46.72f,v8] 47.0fv16[ + 46.72f,~v8] 47.0fv16[ \staff low \clef bass 47.25d'^16 47.42b^16 47.5a^16 47.7f,^8] | - 48.1d16[ 48.3f16 48.42a'16 48.5b16 48.7d8] 49.1d16[ 49.2b16 49.45a16 49.6f,16 49.8d8] | + 48.1d16[ 48.3f16 48.42a'16 48.5b16 48.7d~8] 49.1d16[ 49.2b16 49.45a16 49.6f,16 49.8d8] | 50.1b16[ 50.3d16 50.45f16 50.6a'16 50.78d8] 51.3a,16[ 51.5d16 51.7f16 51.9a'16 52.1b8] | 52.5gs,,16[ 52.8b'16 52.9e16 53.05gs16 53.25b'8] 53.75e,,16[ 53.9b'16 54.0d16 54.2gs16 54.4b'8] | <55.0a,, 55.0a'>16[ 55.35e16 55.55a'16 55.8cs16 55.9e8] 56.2a,16[ 56.4d16 56.6g16 56.75b'16 56.93d8] | @@ -229,15 +229,15 @@ 76.0af^16[ \staff high \clef treble - 76.27c,v16 76.5fv16 76.75af'v16 77.1cv8] + 76.27c,v16 76.5fv16 76.75af'v16 77.1c~v8] 77.3cv16[ 77.5afv16 77.7f,v16 77.9cv16 \staff low \clef bass - 78.22af'^8] | + 78.22af'~^8] | 78.6af^16[ \staff high \clef treble - 78.8c,v16 79.0fv16 79.2af'v16 79.5cv8] + 78.8c,v16 79.0fv16 79.2af'v16 79.5c~v8] 79.8cv16[ 79.9afv16 80.15f,v16 80.3cv16 \staff low \clef bass @@ -245,10 +245,9 @@ 81.0gs,^16[ \staff high \clef treble - 81.3b,v16 81.6ev16 81.77gsv16 82.0b'v8] + 81.3b,v16 81.6ev16 81.77gsv16 82.0b'~v8] 82.3bv16[ 82.5gs,v16 82.75ev16 83.0bv16 \staff low - \clef bass 83.3gs^8] | 83.8gs,16[ 84.05e'16] 84.3gs4 s4 s8 | 86.05gs,16[ 86.25e'16] 86.44gs4 87.2g,16[ 87.4e'16] 87.64g4 | @@ -302,12 +301,12 @@ 102.9b,v8] | \staff low \clef bass - 103.4e,16[ 103.6cs'16 103.8a'16 104.0cs16 104.2e8] 104.6e16[ 104.79cs16 105.0a16 105.2e,16 105.6cs8] | + 103.4e,16[ 103.6cs'16 103.8a'16 104.0cs16 104.2e~8] 104.6e16[ 104.79cs16 105.0a16 105.2e,16 105.6cs8] | 106.17bv8 s4 107.7b,16[ 107.95b'16 108.2e16 108.5a'16 108.9cs8] | 109.5b,^16[ 109.78e^16 109.92a'^16 110.1cs^16 \staff high \clef treble - 110.3e,v8] + 110.3e,~v8] 110.6ev16[ \staff low \clef bass diff --git a/smallpond.lua b/smallpond.lua @@ -840,7 +840,7 @@ end for _, tie in pairs(ties) do local yoff = extents[tie.staff].yoff - extents[tie.staff].ymin - table.insert(extra3, {kind="curve", x0=tie.start.glyph.x + tie.start.glyph.width + 5, y0=tie.start.glyph.y + yoff, x2=tie.stop.glyph.x, y2=tie.stop.glyph.y + yoff, time={start=tie.start.glyph.time.start, stop=tie.stop.glyph.time.start}}) + table.insert(extra3, {kind="curve", x0=tie.start.glyph.x + tie.start.glyph.width + 10, y0=tie.start.glyph.y + yoff, x2=tie.stop.glyph.x + 10, y2=tie.stop.glyph.y + yoff, time={start=tie.start.glyph.time.start, stop=tie.stop.glyph.time.start}}) end -- draw beam (and adjust stems) after all previous notes already have set values