johnwdubois / rezonator

Rezonator: Dynamics of human engagement
35 stars 1 forks source link

Link OGG files painlessly #1468

Open johnwdubois opened 3 weeks ago

johnwdubois commented 3 weeks ago

Goal Help users link their OGG audio files to the corresponding REZ files -- painlessly.

What to do

  1. To minimize the user's need to navigate the file Explorer
    • [ ] automatically identify user's directory path for "included files"
    • [ ] specifically, do the same for OGG files
  2. Identify the filename and path for the user's currently open REZ file, and
    • [ ] generate the corresponding (expected) OGG filename
    • [ ] force lowercase
    • [ ] Ignore case, if necessary (e.g. SBC vs. sbc, and OGG vs. ogg)
  3. When the user clicks on the "Media" icon (speaker icon), prepopulate the media filename with the corresponding OGG filename (using the relevant path). For example, clicking the media button should:
    • if current REZ file is "sbc043.rez", automatically link to "sbc043.ogg"
    • if current REZ file is "sbc007.rez", automatically link to "sbc007.ogg"
  4. For the 2 included REZ files (sbc001.rez & sbc002.rez)

Fancy Ignore case: If the current REZ file is "SBC007.rez" or "sbc007.rez", automatically link to "SBC007.ogg" or "sbc007.ogg", whichever is available.

terrydubois commented 3 weeks ago

If the user is on files "sbc001.rez" or "sbc002.rez", do not bother looking at the previous audio directory, and instead look in the SBCorpus/Data/OGG directory.