A tutorial web-app to help students learn the approved pronunciations for reading Sikh sacred texts
Find a file
2025-08-31 10:51:08 +01:00
japji Prior to getting sound recording working, I've brought all necessary resources into the repo. 2025-08-31 10:51:08 +01:00
.gitignore Initial commit 2025-08-25 20:11:21 +00:00
LICENSE Very nearly works, but not as I'd like it to. 2025-08-26 10:42:39 +01:00
README.md Very nearly works, but not as I'd like it to. 2025-08-26 10:42:39 +01:00

Japji

  1. A tutorial web-app to help students learn the approved pronunciations for reading Sikh sacred texts;
  2. An experimental use of the scittle dialect of Clojure.

Lucy's instructions

Youll 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)

  1. 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).

  1. Create the HTML

Make a file called japji.html with the following structure. Its the embed-ready page we discussed, with one change: paste the timings JSON into LINES_EMBEDDED = ...;.

Find this line near the top of the