Uses 11806K of libraries. Click here for Pure Java version (16100L/113K).
1 | !7 |
2 | |
3 | sclass AnalyzeLastRecording > DynPrintLog {
|
4 | start {
|
5 | ownResource(vmBus_onMessage('newRecording, voidfunc(File f) {
|
6 | print("Auto-clipping " + f.getName());
|
7 | autoClipRecording(f.getName()); |
8 | Pair<S, Float> p = mostSimilarAudioClip(f.getName()); |
9 | print("Most similar to: " + p);
|
10 | File guessFile = replaceFileExtension(f, ".guess"); |
11 | S guess = null; |
12 | if (p != null) |
13 | infoBox(guess = wordFromAudioFileName(first(p))); |
14 | saveTextFile(guessFile, guess); |
15 | })); |
16 | } |
17 | } |
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: | 613 / 951 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |