Last Modified: 2023-07-08

Audio asset

long

short

sync

A

wordTouch: clicking a word in a line, one mp3 for one word is played

file structure (physical)

TODO:rename sentenceDir to wordTouch?

── sync
├── alphabet
│   ├── a.mp3
│   ├── b.mp3
│   └── c.mp3
├── alphabet.mp3
├── alphabet.txt

lua table (logic)

audioProps = {
  language    = nil,
  folder = nil,
  filename = "alphabet.mp3",
  sentenceDir = "alphabet",
}

textProps = {
  filename = "alphabet.txt",
}

alphabet.txt

0.000 0.500  A
0.500 1.000  B
1.000 1.500  C

B

en and jp

── sync
  ├── en
  │   ├── i_am_a_cat
  │   │   ├── am.mp3
  │   │   ├── cat.mp3
  │   │   └── i.mp3
  │   ├── i_am_a_cat.mp3
  │   ├── i_am_a_cat.txt
  └── jp
      ├── i_am_a_cat
      │   ├── am.mp3
      │   ├── cat.mp3
      │   └── i.mp3
      ├── i_am_a_cat.txt
      ├── i_am_a_cat.mp3
audioProps = {
  folder    = nil
  language  = {"en", jp"},
  filename = "i_am_a_cat.mp3",
  sentenceDir = "i_am_a_cat",
}

textProps = {
  filename = "i_am_a_cat.txt",
}

C