Hello LilyPonders, I am really not sure this will be of any use for anyone else besides myself, but here we go: today I finally finished cleaning the code of my Fortran library that I use to generate LilyPond code algorithmically, and I uploaded it to gitHub together with some few examples. I plan to add some more complex examples and some clear instructions as soon as I have some free time. Below is the link to the repository:
https://github.com/gilbertohasnofb/lilypondLibrary What this library does: basically you can write a code in Fortran and it outputs a perfectly looking .ly file. So let's say you want to create a staff with a middle C note, you could simply use: [...] call STAFF() call NOTE(60,"4") call END_STAFF() [...] My personal use of this library is to produce algorithmic music. I have been using these types of techniques for the past year, including an orchestral work completely generated by the computer (i.e., absolutely NO changes or corrections or any input from me). I am pretty certain that all this could be achieved by programming a whole piece using Scheme inside a .LY file, but that is really beyond me, so I took an alternative route: /if the mountain won't come to Fortran, then Fortran must go to the mountain/. If anyone is interested in the subject, feel free to contact me both here in our forum or by mail. Take care, Gilberto -- View this message in context: http://lilypond.1069038.n5.nabble.com/Fortran-library-for-generating-LilyPond-code-tp168112.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
