Skip to content

justineuro/mdgBookSVG10Kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdgBookSVG10Kit

Here's an opportunity for one to "compose" Minuets and Trios and to author a Collection Book of such!!!

This folder contains materials that allow the user to author a book containing a collection of Musical Dice Games (MDG) minuets, generated based on the rules given in Musicalische Cabala (ca. 1773) by Franciscus Schola.

Here's an example of a Musicalische Cabala minuet-trio.

[Audio sample:   ogg    midi]

Creating a Collection Book of Minuet Trios

To create a book, simply download (or clone: git clone https://github.com/justineuro/mdgBookSVG10Kit.git) this project to one's computer, unzip the downloaded archive, and at the command line inside the main folder (mdgBookSVG10Kit or mdgBookSVG10Kit-main directory) issue the following command (pre-requisites: bash, abcmidi, abcm2ps, Ghostscript, Inkscape, and LaTeX):

bash HOWTO

Wait for a few minutes, i.e., until one gets the bash prompt again. The compiled book in PDF format (mdgBookSVG10v1.pdf), among other things, should be located in the res folder (subdirectory).

For the Impatient

To download and examine an example of a book (mdgBookSVG10v1.pdf) that was generated in a similar manner, simply right-click (then "Save Link As ...") on the following image:

Front Cover v1

(Note: To enable the MIDI audio links in the book, one should download sf-v1-midis.zip and unzip in the same directory in one's computer that contains the book, i.e., the book and midi files have to be in the same directory).

Additional Samples

A samples folder contains work samples in abc,mid, ogg, and svg formats.

  • samples20-ed.html - an XHTML file that contains animated images of 20 musical pieces. When online, clicking on an image displayed on this XHTML file will play the sample (the audio may not be as good as an ogg or midi version when played on a good music player.)

Bash scripts for creating minuet-trios

  • mdg102mid+svg.sh - for creating abc, mid, and svg of a Musicalische Cabala minuet-trio (pre-requisites: bash, abcmidi, abcm2ps, and Ghostscript)
    Usage:
./mdg102mid+svg.sh n1 n2 n3 ... n42 n43 n44

where n1 to n44 are integers chosen from {1, 2, 3, 4, 5, 6}, i.e., these 44 integers are the outcomes of the toss of a 6-sided die

  • mdg102midRndN+svg.sh - to be used together with mdg102mid+svg.sh to produce NNN randomly generated minuet-trios
    Usage:
./mdg102midRndN+svg.sh NNN

where NNN is the desired number of randomly-generated minuet-trios

Similar Kits (by the same author) on GitHub

MDG Book kits similar to this may be found on related GitHub sites such as:

Acknowledgments

Special thanks to International Music Score Library Project (IMSLP) for Musicalische Cabala (ca. 1773), Opus Infinity for additional related information, and Amaranth Publishing for a copy of mozart.zip. My sincerest gratitude to Chris Walshaw et al. for the ABC music notation; Jean-Francois Moine for abcm2ps and the accompanying examples, templates, and pointers for the appropriate use of these resources; Guido Gonzato for the ABC Plus Project and the abcmidi resources available there, more especially for the ABC resource book Making Music with ABC 2; James R. Allwright and Seymour Shlien for abcmidi source and binaries; Nils Liberg, Jan Wybren de Jong, Seymour Shlien et al. for EasyABC; Artifex, Inc. for Ghostscript v.10.00.0 (includes the ps2pdf converter); Inkscape v.1.2.2 for the tool for converting SVGs to PDFs for inclusion into LaTeX documents; William Schelter for Maxima v.5.47.0---used for computing the permutation number; Peter Hanappe et al. for FluidSynth v.2.3.1 that was used for converting midi to ogg; Google Lens and Google Translate for aiding in producing the English versions of the text of Musicalische Cabala; Colomban Wendling et. al for Geany 2.0 IDE; and User:Martin H for his reply to a TeX/LaTeX Stack Exchange question on including SVGs into LaTeX documents. Ditto to Machtelt Garrels for the book Bash Guide for Beginners, Vivek Gite for the book Linux Script Shell Tutorial, Steve Parker for the Unix/Linux Shell Cheatsheet. John Fogarty's GitHub Site: Latex CreateSpace BookCover and Peter Wilson's reply in TeX/LaTeX Stack Exchange on designing a book cover were sources of ideas, information, and materials for creating the book cover and title page, thanks to both of them. Many thanks to the Debian Project for the Debian 12 (Bookworm) GNU/Linux OS, TeXLive 2024 for the TeX distribution, to Brian Fox for Bash, and GitHub for its generosity in providing space for this project.

License

mdgBookSVG10Kit by Justine Leon A. Uro is marked with CC0 1.0 Universal