adapted library to new context aware format

This commit is contained in:
2024-11-27 15:21:27 +01:00
parent ca0740b810
commit 0bc4c14ed2
7 changed files with 12 additions and 12 deletions
@@ -1,3 +1,3 @@
[%
scores.gregorian = 'agnus_dei/agnus_viii.gabc';
scores.gregorian = 'agnus_viii.gabc';
-%]
@@ -1,5 +1,5 @@
[%
scores.gregorian = 'bmv/alma_redemptoris_mater_simplex/alma_redemptoris_mater_simplex.gabc';
scores.gregorian = 'alma_redemptoris_mater_simplex.gabc';
after_song = '
\\textit{
Erhabne Mutter des Erlösers,
@@ -1,5 +1,5 @@
[%
scores.gregorian = 'bmv/ave_regina_caelorum.gabc';
scores.gregorian = 'ave_regina_caelorum.gabc';
credits = {
lyrics = 'um 1100'
melody = '17. Jh.'
@@ -1,5 +1,5 @@
[%
scores.gregorian = 'bmv/regina_caeli/regina_caeli.gabc';
scores.gregorian = 'regina_caeli.gabc';
credits = {
lyrics = 'Rom um 1170'
melody = '16. Jh.'
@@ -1,5 +1,5 @@
[%
scores.gregorian = 'bmv/salve_regina_simplex/salve_regina_simplex.gabc';
scores.gregorian = 'salve_regina_simplex.gabc';
credits = {
lyrics = "11. Jh."
melody = "17. Jh. nach Henri Du Mont"
+6 -6
View File
@@ -11,26 +11,26 @@
IF NOT gregorian;
GET "\\textbf{\\LARGE{Activate gregorian}}\n";
ELSE;
GET "\\gregorioscore{gregorio_scores/${scores.gregorian}}\n";
GET "\\gregorioscore{${directory}/${scores.gregorian}}\n";
END;
ELSE;
GET '\lilypondfile{';
IF parts;
IF parts == 'band';
IF scores.leadsheet;
GET "${library_dir}/${scores.leadsheet}";
GET "${directory}/${scores.leadsheet}";
ELSE;
GET "${library_dir}/${scores.SATB}";
GET "${directory}/${scores.SATB}";
END;
ELSIF parts == 'SATB';
IF scores.SATB;
GET "${library_dir}/${scores.SATB}";
GET "${directory}/${scores.SATB}";
ELSE;
GET "${library_dir}/${scores.leadsheet}";
GET "${directory}/${scores.leadsheet}";
END;
END;
ELSE;
GET "${library_dir}/${scores.congregation}";
GET "${directory}/${scores.congregation}";
END;
GET "}\n";
END;