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

8
LINES

< > BotCompany Repo | #1026961 // latestRecordingAs16KWav

JavaX fragment (include)

1  
static File latestRecordingAs16KWav() {
2  
  File f = latestRecording();
3  
  if (f == null) null;
4  
  File f2 = newFile(dirOfFile(f), "16k-wav/" + fileNameWithoutExtension(f) + ".wav");
5  
  if (fileSize(f2) == 0)
6  
    print(ffmpeg_toMonoAudio_16k(f, f2));
7  
  ret f2;
8  
}

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: 238 / 264
Version history: 2 change(s)
Referenced in: [show references]