Commit Graph

1065 Commits

Author SHA1 Message Date
Jim Hague d10982be4f Improve first line extractor. Only output at most two lines.
I've met .abc files where every line is a continuation.
2012-03-05 11:05:57 +00:00
Jim Hague 366f5d02ca Update .hgignore to omit Morris web. 2012-03-05 11:03:15 +00:00
Jim Hague e99bdcf320 Increase density on JPG conversion.
I can't make out the notes clearly on the default 72dpi conversion.
2012-03-05 10:52:37 +00:00
Jim Hague 69517376a3 Fix temp file name to convert.
Convert works out what it is converting to from the extension.
So adding .tmp stopped it converting to JPG. Doh!
2012-03-05 09:33:07 +00:00
Jim Hague 704ebe7860 Add Morris subtitle and intro text. 2012-03-04 22:43:10 +00:00
Jim Hague f7859b6947 Add Dogs of War from Mick's dots. 2012-03-04 22:42:59 +00:00
Jim Hague 71ed674591 Add Morris tunes link to main page. 2012-03-04 22:42:39 +00:00
Jim Hague ed6b34b88c Insert some line breaks in the music, so our first line program has something to stop on. 2012-03-04 22:42:24 +00:00
Jim Hague eea6b255a1 Fix up Bonny Green to match Mick's dots. 2012-03-04 22:41:52 +00:00
Jim Hague 5d2334b373 djust Banbury Bill and Bluebells against Mick's dots. 2012-03-04 22:06:14 +00:00
Jim Hague 2dd673e4d3 Fix past end of string bug in Python first line hack. 2012-03-04 21:44:31 +00:00
Jim Hague ef8a7b1703 Add Sonny Brogan's Mazurka and The Staffordshire Hornpipe. 2012-03-04 21:06:05 +00:00
Jim Hague 2e0ec0bfa2 Small mod to Salmon Tails from Mick's dots. 2012-03-04 21:05:43 +00:00
Jim Hague 71a56c31b6 Update Winster Gallop to Mick's dots. 2012-03-04 20:29:13 +00:00
Jim Hague 2351348471 Add list of tune first lines.
Add a list of tune first lines to the Booke. First, a small Python script to
filter a .abc file and spit out just enough to give a graphic of the first line
without the title. Then generate these graphics and generate a new section in the Booke
with a longtable of tune name and the first line graphic.
2012-03-04 20:16:48 +00:00
Jim Hague 6d91dcbd16 Fix repeat marker in Gathering Peasecods. 2012-03-04 18:10:53 +00:00
Jim Hague 77ba1316b6 Try to make web item updates atomic-ish.
The Jenkins workspace is exported as the web site. So when updating files
that take time, such as making MP3, create to a temp file and rename into place.
2012-03-04 16:09:06 +00:00
Jim Hague 402d8687e2 Another tempo adjustment. 2012-03-04 16:04:12 +00:00
Jim Hague 5c2c5c27bb Adjust tempi on various tunes to make the MIDI/MP3s sound a little more right. 2012-03-04 13:23:23 +00:00
Jim Hague 6ce9367a9c Web. Add download links for book. 2012-03-04 13:07:50 +00:00
Jim Hague 18e089ecb3 Harpers Frolick. Correct tempo and note lengths in intro bar. 2012-03-04 13:07:25 +00:00
Jim Hague 2edd15e2d6 First go at producing a very simple website.
Templating done with sed, and minimal HTML.
2012-03-04 12:39:12 +00:00
Jim Hague fc446fb0ae Put making tune graphics required by web and book into separate dir and make separately.
Web and book both require the tune PDF graphics. Break these out into a separate
direction and make with a separate process.
2012-03-04 12:00:30 +00:00
Jim Hague 77b53a2e23 Remove some ornamentation from Winster Gallop that we don't play. 2012-03-04 11:47:43 +00:00
Jim Hague f7d2212e41 Revise page footers, and add build number. 2012-03-03 16:06:23 +00:00
Jim Hague 6dc31caa77 Change subtitle and intro files to .txt extension. 2012-03-03 15:24:59 +00:00
Jim Hague 87713505c8 Quick attempt to parameterise different book builds.
Move subtitle and intro text into book directory.
Do all building in build directory.
Name output by the book name.
2012-03-03 14:08:41 +00:00
Jim Hague c81cce41dd Fix up troubles with \. echo -E disables expansion. 2012-03-03 12:00:35 +00:00
Jim Hague 0710184c1a Mark source as Nick Barber. 2012-03-03 09:12:06 +00:00
Jim Hague 2ecf162393 Formatting adjustments. 2012-03-02 12:45:42 +00:00
Jim Hague fbbce04c6f Remove use of abc pacakge and do the graphics outselves.
Make book building time a lot quicker, because converting from abc to
eps/pdf is done only once.
2012-03-02 12:30:43 +00:00
Jim Hague b2a96046c8 Reformat to stop Kind of the Fairies overflowing an A5 page. 2012-03-02 12:28:20 +00:00
Jim Hague 37b89efc47 Revert to putting Change: notices into the notes.
W: is for words/lyrics. None at present in Session tunes, but they do
exist in Morris tunes, and who knows what might happen in sessions in
future. I want to keep the option of adding words.

So move Change: notices back to N:, and have all notes printed.
2012-03-02 10:46:43 +00:00
Jim Hague 032daac808 Guess correct ending. 2012-03-02 10:22:56 +00:00
Jim Hague b6d72f82a7 Add Change: annotation. 2012-03-02 09:47:14 +00:00
Jim Hague adf6869958 Replace Nick Barber chords with guitar chords I actually play. 2012-03-02 09:46:58 +00:00
Jim Hague eaae9c73c8 Add missing G chord. 2012-03-02 09:46:30 +00:00
Jim Hague e51d334a49 Added first guess at King of the Fairies and Lanigan's Ball. 2012-03-02 09:44:10 +00:00
Jim Hague 060981379a Replace Laride 6 with The Sheriff's Ride. 2012-03-02 09:35:54 +00:00
Jim Hague 7a4731e666 Add Mazura De Lapleau and Mazurka d'Avignon via Mick. 2012-03-02 09:28:49 +00:00
Jim Hague 3fedebffde Got the correct tune for Elizabeth Clare off Mick. 2012-03-02 09:13:25 +00:00
Jim Hague e7656d2fca Add From Night Till Morn, Herbert the Sherbert, The Plane Tree, Quarter Brawls,
Rufty Tufty and The Slow.
2012-03-01 09:52:19 +00:00
Jim Hague 211742c4e2 Standardise titles starting 'The' as 'Title Text, The'. 2012-03-01 09:48:22 +00:00
Jim Hague 9f3510c4b2 Produce an A4 PDF document with the A5 pages in booklet form.
Print the A4 with long edge duplex to get a ready booklet.
2012-02-29 14:05:18 +00:00
Jim Hague 97e0488f5e Ignore pdflatex building artifacts. 2012-02-29 14:03:03 +00:00
Jim Hague 68f7a1f6c9 Set output to A5 landscape. Begin content and content on fresh page.
Also shrink the rather generous margins. All tunes now fit onto a single
page, so no more blank pages in A5 landscape mode.
2012-02-29 14:01:57 +00:00
Jim Hague 708c1815e1 Adjust line breaks for some tunes. 2012-02-29 13:59:50 +00:00
Jim Hague 2b4601f453 Add more tunes. I'm not sure about these, and they don't have chords. 2012-02-27 15:52:49 +00:00
Jim Hague 7ffc756929 Update book making command.
Switched to A5 portrait. In landscape it stretches the image to fit the
width, and that causes a lot of longer tunes to become too high to fit
properly on the page.

Build the book in a separate build directory. The build generates lots
of .abc files and so forth, which it is convenient to have elsewhere
so you can ignore them. I did experimend with \abcinclude, but that has
a lot of expectations about the files being in the current directory.

If a tune has multiple titles, pick the first.

Adjust abcm2ps options to preserve the line breaks in the ABC.
2012-02-27 13:04:37 +00:00
Jim Hague 45854d9e35 Correct spelling of tune name. 2012-02-27 13:01:56 +00:00