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

8
LINES

< > BotCompany Repo | #1026885 // latestRecordingAs16K

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3795L/26K).

static File latestRecordingAs16K() {
  File f = latestRecording();
  if (f == null) null;
  File f2 = newFile(dirOfFile(f), "16k/" + f.getName());
  if (fileSize(f2) == 0)
    print(ffmpeg_toMonoAudio_16k(f, f2));
  ret f2;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026885
Snippet name: latestRecordingAs16K
Eternal ID of this version: #1026885/2
Text MD5: e2571dda65decc37de06eed172ae764d
Transpilation MD5: bd5a0060ce2c88ccb606f381a0f400d3
Author: stefan
Category: javax / speech recognition
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-31 19:00:03
Source code size: 232 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 163 / 238
Version history: 1 change(s)
Referenced in: [show references]