Libraryless. Click here for Pure Java version (3795L/26K).
1 | static File latestRecordingAs16K() {
|
2 | File f = latestRecording(); |
3 | if (f == null) null; |
4 | File f2 = newFile(dirOfFile(f), "16k/" + f.getName()); |
5 | if (fileSize(f2) == 0) |
6 | print(ffmpeg_toMonoAudio_16k(f, f2)); |
7 | ret f2; |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1026885 |
| Snippet name: | latestRecordingAs16K |
| Eternal ID of this version: | #1026885/2 |
| Text MD5: | e2571dda65decc37de06eed172ae764d |
| Transpilation MD5: | bd5a0060ce2c88ccb606f381a0f400d3 |
| Author: | stefan |
| Category: | javax / speech recognition |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-01-31 19:00:03 |
| Source code size: | 232 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 484 / 592 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |