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

9
LINES

< > BotCompany Repo | #1020534 // flite_findVoice

JavaX fragment (include)

1  
static File flite_findVoice(S name) {
2  
  new Matches m;
3  
  for (File dir : flite_voiceDirs())
4  
    for (File f : listFiles(dir))
5  
      if (endsWith(fileName(f), ".flitevox", m))
6  
        if (eqic(name, m.rest()))
7  
          ret f;
8  
  null;
9  
}

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: 320 / 362
Referenced in: [show references]