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

8
LINES

< > BotCompany Repo | #1026961 // latestRecordingAs16KWav

JavaX fragment (include)

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

Author comment

Began life as a copy of #1026885

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1026961
Snippet name: latestRecordingAs16KWav
Eternal ID of this version: #1026961/3
Text MD5: 8ed5fa782b82666ef46d3189daeadfb5
Author: stefan
Category: javax / speech recognition
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-04 01:39:30
Source code size: 264 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 153 / 184
Version history: 2 change(s)
Referenced in: [show references]