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

4
LINES

< > BotCompany Repo | #1026951 // floatVolumeProfileFromStereoShortArray

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2684L/17K).

// windowSize is in seconds
static float[] floatVolumeProfileFromStereoShortArray(short[] samples, double windowSize, double sampleRate) {
  ret decodeWAVToMonoSamples_floatVolumeProfile(shortArrayChunksIterator(samples, secondsToSamples_int(windowSize, sampleRate)));
}

Author comment

Began life as a copy of #1024601

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: #1026951
Snippet name: floatVolumeProfileFromStereoShortArray
Eternal ID of this version: #1026951/1
Text MD5: 5007c931686bbaba7414fce80d50ee81
Transpilation MD5: 01d7833e5da9e5727734112d6a3a389c
Author: stefan
Category: javax / sound
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-03 14:22:10
Source code size: 273 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 214 / 284
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)