Uses 343K of libraries. Click here for Pure Java version (3081L/17K).
1 | !include once #1018630 // Spectro Edit |
2 | |
3 | // InputStream must supply big-endian 44.1kHz 16 bit mono samples |
4 | static Clip spectro_clipFromMonoInputStream(InputStream in, int overlap default (Int) get(Clip.class, 'DEFAULT_OVERLAP)) {
|
5 | int frameSize = cast get(Clip.class, 'DEFAULT_FRAME_SIZE); |
6 | ret spectro_clipFromMonoInputStream(in, frameSize, overlap); |
7 | } |
8 | |
9 | static Clip spectro_clipFromMonoInputStream(InputStream in, int frameSize, int overlap) ctex {
|
10 | ret newInstance(Clip.class, "anonymous clip", in, frameSize, overlap); |
11 | } |
Began life as a copy of #1018633
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1019265 |
| Snippet name: | spectro_clipFromMonoInputStream |
| Eternal ID of this version: | #1019265/8 |
| Text MD5: | 3b5bded107c3893bcf99b8d7780fbadc |
| Transpilation MD5: | 7ebcfba83c8c3dfceb1b3fc05758ed19 |
| Author: | stefan |
| Category: | javax / audio analysis |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-07-24 07:01:16 |
| Source code size: | 537 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 641 / 749 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |