commit 578021f107943bd44f4c02ede33b4383286dba6f
parent b36585ad164b6a6b7367fbf1cb28a9fe94bfe4b5
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 7 Sep 2019 00:15:21 +0200
documentation
Diffstat:
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/README b/README
@@ -8,6 +8,14 @@ course "Melodia"
<https://ia800203.us.archive.org/17/items/cu31924021781434/cu31924021781434.pdf>
to a more convenient format.
+This is the invocation used:
+
+ ./master.sh cu31924021781434.pdf 750 555 out.pdf 20 250 ./fix_melodia.sh
+
+If you change the parameters, you should modify "fix_melodia.sh", at least to
+avoid removing the hardcoded file paths (or you can replace "fix_melodia.sh"
+above by "echo" to skip the fixes).
+
== 1. What it does ==
Songflow does the following:
@@ -50,7 +58,9 @@ Songflow does the following:
== 2. What it requires ==
-You need imagemagick, Python 3, and some Python libraries (numpy, imageio).
+You need imagemagick, Python 3, pdftk, GNU parallel (not to be confused with
+parallel from moreutils, which won't work) and some Python libraries (numpy,
+imageio).
== 3. How to use it ==
@@ -183,7 +193,10 @@ height is too large to fit will be ignored with a warning.
it would be trickier.
- When splitting pages into systems, sometimes lyrics are lost or not put at the
- right place
+ right place. The handling of rylics could be improved in splith.py to attach
+ them to the staff above instead of dropping them, and splitw.py could detect
+ the lyrics layer (looking for a cut), then ignore it when searching for cut
+ and stretch points, and the lyrics could then be moved to the right place...
- The word-wrapping algorithm is an exponential-time bruteforce algorithm,
whether it could be implemented using dynamic programming. That said, given