Libraryless. Click here for Pure Java version (2226L/15K).
static int[] decodeWAVToMonoSamples_volumeProfile(File wavFile, int windowSize) { temp CloseableItIt<short[]> it = decodeWAVToMonoSamples_iterator(wavFile, windowSize); new L<Int> volumes; fOr (short[] chunk : it) volumes.add(shortArray_maxAbsValue(chunk)); ret toIntArray(volumes); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024594 |
Snippet name: | decodeWAVToMonoSamples_volumeProfile |
Eternal ID of this version: | #1024594/3 |
Text MD5: | d833bddaec135efaad3244b93e83fd0a |
Transpilation MD5: | 7f4f6dda622a8ef9d3983d8f2f91a60e |
Author: | stefan |
Category: | javax / sound |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-19 18:08:52 |
Source code size: | 304 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 159 / 236 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1024601 - decodeWAVToMonoSamples_floatVolumeProfile |