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

5
LINES

< > BotCompany Repo | #1023290 // deleteRecordingWAVsIfHasMP3

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

Libraryless. Click here for Pure Java version (1944L/13K).

static L<File> deleteRecordingWAVsIfHasMP3(bool doIt) {
  L<File> l = filter(f -> hasSameFileWithDifferentExtension(f, "mp3"), listFilesWithExtension(recordingsDir(), "wav"));
  if (doIt) deleteFiles(l);
  ret l;
}

Author comment

Began life as a copy of #1018653

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1023290
Snippet name: deleteRecordingWAVsIfHasMP3
Eternal ID of this version: #1023290/1
Text MD5: a3835c28a085e56eec80158280af3517
Transpilation MD5: db5cda81150e555ecff4362ae007bd1e
Author: stefan
Category: javax / audio recognition
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-24 16:07:53
Source code size: 218 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 302 / 404
Referenced in: [show references]