annotate singletune.fmt @ 369:e5f59f0e7dd5

Add audio player to tune web page. Add an <audio> tag to the bottom centre of the tune web page. Give it options for MP3 and OGG files. Most browsers will play MP3, and the ones that won't (Firefox) will play OGG. Since we now have to generate OGGs, add a download link as well.
author Jim Hague <jim.hague@acm.org>
date Wed, 28 Aug 2013 11:54:45 +0100
parents cbe9c10b5a3e
children 9982077ac9b2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
122
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
1 % Format for a graphic with a single tune
258
4dac46e45116 Added Wals voor Polle.
Jim Hague <jim.hague@acm.org>
parents: 229
diff changeset
2 partsbox true
314
f80bd1e919f7 Make some bools 'false' not 0.
Jim Hague <jim.hague@acm.org>
parents: 258
diff changeset
3 measurenb false
122
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
4 botmargin 0
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
5 leftmargin 0
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
6 rightmarin 0
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
7 topmargin 0
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
8 scale 0.9
319
cbe9c10b5a3e Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents: 314
diff changeset
9 titleformat Y0
122
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
10 titlespace 0
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
11 topspace 0
229
1e4443d58177 Modify Change tune handling.
Jim Hague <jim.hague@acm.org>
parents: 122
diff changeset
12 % I don't want any info fields in the graphics. To turn off the
1e4443d58177 Modify Change tune handling.
Jim Hague <jim.hague@acm.org>
parents: 122
diff changeset
13 % fields, give a blank infoname for that letter.
122
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
14 infoname S
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
15 infoname R
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
16 infoname B
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
17 infoname D
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
18 infoname Z
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
19 infoname H
229
1e4443d58177 Modify Change tune handling.
Jim Hague <jim.hague@acm.org>
parents: 122
diff changeset
20 infoname N
319
cbe9c10b5a3e Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents: 314
diff changeset
21 infoline false
122
295ba8275ab4 Make output larger where possible.
Jim Hague <jim.hague@laicatc.com>
parents:
diff changeset
22 writehistory true
314
f80bd1e919f7 Make some bools 'false' not 0.
Jim Hague <jim.hague@acm.org>
parents: 258
diff changeset
23 continueall false