japji | ||
.gitignore | ||
LICENSE | ||
README.md |
Japji
- A tutorial web-app to help students learn the approved pronunciations for reading Sikh sacred texts;
- An experimental use of the scittle dialect of Clojure.
Lucy's instructions
You’ll produce either:
Two-file bundle: japji.html + japji_bindranwale.mp3 (zipped), or
Single self-contained HTML with the MP3 embedded as a Data URL.
The page is the “embed-ready” build that already supports:
per-word/per-line playback using the provided timings array
a small playback-rate control
optional “freeze” to one-file (if you choose that route)
- Input materials (from Lucy)
MP3: japji_bindranwale.mp3 (or rename to that).
Timings JSON: the long array (save as japji_lines.json or keep handy to paste).
Attribution string (optional).
Distribution choice (two-file zip vs single HTML).
- Create the HTML
Make a file called japji.html with the following structure. It’s the embed-ready page we discussed, with one change: paste the timings JSON into LINES_EMBEDDED = ...;.
Find this line near the top of the