static S wordFromAudioFileName(File f) { ret wordFromAudioFileName(fileName(f)); } static S wordFromAudioFileName(S name) { if (name == null) null; ret trim(takeFirst(name, indexOfRegExpIC(name, "[^a-z ]"))); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018659 |
Snippet name: | wordFromAudioFileName - e.g. "shit 2.wav" => "shit" |
Eternal ID of this version: | #1018659/3 |
Text MD5: | a65c6aa953cb24379d0668a030c08f7e |
Author: | stefan |
Category: | javax / audio recognition |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-13 15:44:46 |
Source code size: | 224 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 390 / 415 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |