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

17
LINES

< > BotCompany Repo | #1018652 // Analyze Last Recording [Dyn Module, don't use]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 11806K of libraries. Click here for Pure Java version (16100L/113K).

!7

sclass AnalyzeLastRecording > DynPrintLog {
  start {
    ownResource(vmBus_onMessage('newRecording, voidfunc(File f) {
      print("Auto-clipping " + f.getName());
      autoClipRecording(f.getName());
      Pair<S, Float> p = mostSimilarAudioClip(f.getName());
      print("Most similar to: " + p);
      File guessFile = replaceFileExtension(f, ".guess");
      S guess = null;
      if (p != null)
        infoBox(guess = wordFromAudioFileName(first(p)));
      saveTextFile(guessFile, guess);
    }));
  }
}

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: #1018652
Snippet name: Analyze Last Recording [Dyn Module, don't use]
Eternal ID of this version: #1018652/6
Text MD5: 733ae233f824b276a1a9f737133f1986
Transpilation MD5: a5e71bb6c585194f0178e56b0c4cccaa
Author: stefan
Category: javax / audio recognition
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-30 12:52:21
Source code size: 532 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 380 / 670
Version history: 5 change(s)
Referenced in: #1018804 - Analyze Recording v2 [show entry points, Dyn Module]