-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration with GregoBase #1375
Comments
I don't currently have the time to implement this, but I'd love to see it as an option - I'd personally love to see chant notation for all the texts which could be sung, provided the UI is streamlined. For web-browser display, I'd highly suggest checking out Benjamin Bloomfield's jgabc project, a more-or-less complete GABC rendering engine in javascript. https://github.com/bbloomf/jgabc He also has a small site using the library, to show off what you can do with it: https://bbloomf.github.io/compline/ The output is quite high quality. |
It should be possible to largely automate this task. See my project doing something very similar for a Czech LOTH web application and a corpus of vernacular plainchant composed by myself https://github.com/igneus/eantifonar |
This wouldn't be too hard to do with inline GABC code: We'd just need to write some GABC renderer code, which already exists; cf. @benyanke's site above. |
Jgabc would be great for the browser display, but wouldn’t work (I guess) for epub output. Should anyone seriously work on this, I could help for generating images of scores that could be integrated into the epub, in the same vein as this pandoc lua filter. |
Some time ago I prepared a POC of the principle mentioned above (add a piece of JS code which knows how to find chant texts in the HTML page, on page load scans the page, asks an API if it has any music for the texts found, and if it has, inserts them in the page) https://github.com/igneus/eantifonar2 |
@Geremia Sure, but epub3 implementation in ereaders is far from perfect yet. I’d be curious to see whether such scores would be read on KOReader, for example. |
@jperon KOReader Version v2023.01 (95513) displays the SVG in this EPUB 3 properly: |
@Geremia Good news! The more I use KOReader, the more I like it. |
I've started in a branch on my own to integrate GABC into Divinum Officium and, in principle, with a bit of tweaking here and there, it is possible to make the site display the gabc and even multiples thereof. However, to make it available in a satisfactorial manner. There would be a lot of work to be done to ensure (inter alia)
I am happy to work more on this topic but I think co-ordination and assistance on some matter with one or more of the regular contributors to this project is indespensable. Surrexit Dominus vere, allelúia! |
I would also like to offer whatever help I can with this endeavor. My coding skills extend only as far as generating chant booklets using TeXworks, but matching antiphons, hymns, etc. from the Antiphonale Romanum to their proper days in Divinum Officium would be within my capabilities. For rendering, following Benjamin Bloomfield's approach in his Propers Tool and Compline app would be advantageous. Apart from its clean presentation on browsers, I also appreciate the midi playback for learning and practicing the chant. I've not dug in to how @igneus and @FAJ-Munich managed their beautiful demos, but one approach I propose is creating a "Latin-Grego" language profile that starts as a copy of the "Latin" whose text gets replace with GABC (copy-pasted or stored in a local folder) or GregoBase ID numbers (calling back to the website). I agree that doubled vs. non-doubled antiphons is a quirky issue, on top of ensuring (if desired) that the Euouae is captured at the start but not at the end. As far as matching the correct psalm and psalm tone, there can be a local exported copy of the Psalm Tone Tool output that can be parsed with input of psalm number (based on the common or proper) and psalm tone (based on the antiphon). And as opposed to creating individual GABCs for readings, lessons, versicles, responsories, etc. they can instead (wherever possible) be generated in a way similar to how the Readings Tool works. I've thought a lot about this on my own this past year and would love to collaborate with talented coders to make this a reality. |
indeed that is the approach I took for my "first steps"; I called the Language
here's a short outline – you can see that from the four commits on my branch gabc
|
It may entirely be the case something is wrong with my setup, but I cannot get the js scripts from the gabc branch to run. I'm on Ubuntu 22.04.3 LTS and Docker Desktop 4.26.1. After adding one closing bracket in Line 511 of
Followed immediately by:
These outputs are repeated for I've attempted many solutions to no avail:
Thank you in advance for your patience with this amateur coder. |
Hi Kelvin,
|
Hi Kelvin, @ksandigo |
Hello @FAJ-Munich, Thank you for providing a new commit integrating the latest developments from As an aside, I can run Benjamin's Do you possibly know what changes to your Apache environment (for example, editing / enabling / disabling .conf files) you made in order to get your server to run the Divinum Officium Perl website and use the Exsurge, Jquery and Util Javascript files? |
Hi @ksandigo |
Isn't this thread largely made obsolete by the emergence of https://breviariumgregorianum.com/ ? |
I think it would nevertheless be interesting, as it’s possible to generate epubs. |
I’ve never heard of breviariumgregorianum.com before now, but it only seems to support the 1962 office, and does not include Compline that I could see.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: jperon ***@***.***>
Sent: Sunday, March 3, 2024 10:23:49 AM
To: DivinumOfficium/divinum-officium ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [DivinumOfficium/divinum-officium] Integration with GregoBase (#1375)
I think it would nevertheless be interesting, as it’s possible to generate epubs.
—
Reply to this email directly, view it on GitHub<#1375 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANNIPFGV33IN52C3RH4GMPDYWNFBLAVCNFSM4KNDAQLKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJXGUZDCMZZGM3Q>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
When it comes to JavaScript, since it is executed by the browser not the server, the Exsurge, Jquery, etc. JSs should run just as well with Divinum Officium once you get the perl script being executed. In setting up my Apache, I have more or less followed https://editrocket.com/articles/perl_apache_windows.html with an adaption to the fact, I am running on Mac OS. That is, in
Normally, I would also have uncommented
However, mod_perl is broken in Mac OSX 14; therefore, I uncommented the line with Then, in the
Of course, you could put this in the main At the end, don't forget to restart the server 😉 Best of luck! |
Enabling DivinumOfficium#1375 (GABC files are not retrieved from GregoBase though)
as you can tell from the commit chain #3699 to #3702 and #3703 , there seems to be some issue with the website which I cannot reproduce locally. Whoever wants to try it out locally for themselves, please feel free to "fork" my branch https://github.com/FAJ-Munich/divinum-officium/tree/gabc-clean yourself and see if you can make it work. It's finished for the Triduum and "beta" version for everything else as of now. I am not going to open any more pull requests from this branch anytime soon. |
Hello, I'm new to GitHub.com, but I had a correspondence with the people of Divinum Officium. I'm a singer and a former developer. For my personal use, I realised a HTML JavaScript webpage that transcribes 200 Gregorian Hymns from Gregobase to modern notation, harmonize them for 4 voices and allows them to be listened and learned easily. It was my intention to transcribe and harmonize the whole Divinum Officium. If my implementation can be useful (many of us don't know the square notation) , I would like to work with you and BreviariumGregorianum.com. my goal is to contribute to the spreading of the traditional liturgy and I would like to be able to sing the Divinum Officium with my family. My application works, but I have not enough knowledge to be sure that the melismas are transcribed correctly and, above all, I want to be very faithful with the command of Antiphonary 1960. So, please, let me know, what can I do? Where do I have share my little project? |
@MatthaeusRuber Interesting. Do you have a webpage or Git repo showcasing what you've done so far? |
Still not. It is on my phone. |
@MatthaeusRuber I'm interested. |
I will complete and publish my project. However, I need someone is able to check that everything is done according with the Antiphonary. |
As the experience with D. O. shows, no matter how many checks one has made, there will always be cases where something is still wrong and needs correction. So do I understand correctly, you have implemented "modern music notation" in lieu of square notation? In my repo, |
My webpage takes 200 GABC Gregorian hymns and transcribe in modern notation. Then, the webpage, following my indications, harmonizes them for organ/4 voices. At the end, you can listen the tunes or the entire harmony by Midi. |
Enabling DivinumOfficium#1375 (GABC files are not retrieved from GregoBase though)
Something I would love to see is for the Divinum Officium project to be integrated with GregoBase so that the Divinum Officium can display both text and chant. using the Caeciliae font or exsurge, and retrieve the GABC data from GregoBase. I'm more than happy to manually enter all the GregoBase links to the Divinum Officium source files if someone can add the code to display chant.
The text was updated successfully, but these errors were encountered: