A tutorial web-app to help students learn the approved pronunciations for reading Sikh sacred texts
Find a file
2025-09-29 08:17:55 +01:00
build Added virtually the whole of the Scittle distribution, as it proves to be 2025-09-01 12:49:14 +01:00
plugins Added virtually the whole of the Scittle distribution, as it proves to be 2025-09-01 12:49:14 +01:00
resources/public Work on tooling; no actual progress on the project 2025-09-29 08:17:55 +01:00
script Added virtually the whole of the Scittle distribution, as it proves to be 2025-09-01 12:49:14 +01:00
src/scittle Added virtually the whole of the Scittle distribution, as it proves to be 2025-09-01 12:49:14 +01:00
.gitignore D'oh! Added japji.cljs 2025-09-01 13:21:41 +01:00
bb.edn Added virtually the whole of the Scittle distribution, as it proves to be 2025-09-01 12:49:14 +01:00
deps.edn Work on tooling; no actual progress on the project 2025-09-29 08:17:55 +01:00
LICENSE Very nearly works, but not as I'd like it to. 2025-08-26 10:42:39 +01:00
package.json Added virtually the whole of the Scittle distribution, as it proves to be 2025-09-01 12:49:14 +01:00
README.md OK, this isn't better than 'crude-but-working', but tooling is in place for further work. 2025-09-27 11:42:01 +01:00
shadow-cljs.edn Added virtually the whole of the Scittle distribution, as it proves to be 2025-09-01 12:49:14 +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