Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1020534 // flite_findVoice

JavaX fragment (include)

static File flite_findVoice(S name) {
  new Matches m;
  for (File dir : flite_voiceDirs())
    for (File f : listFiles(dir))
      if (endsWith(fileName(f), ".flitevox", m))
        if (eqic(name, m.rest()))
          ret f;
  null;
}

Author comment

Began life as a copy of #1020530

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020534
Snippet name: flite_findVoice
Eternal ID of this version: #1020534/1
Text MD5: 2d771b9fc5afb7fbfd17eeaf66aa93b7
Author: stefan
Category: javax / speech
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-25 23:29:46
Source code size: 243 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 319 / 361
Referenced in: [show references]