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

11
LINES

< > BotCompany Repo | #1026896 // normalizedAutocorrelationOfAudioSamples

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

Libraryless. Click here for Pure Java version (2322L/15K).

1  
static double normalizedAutocorrelationOfAudioSamples(short[] samples) {
2  
  ret normalizedAutocorrelationOfAudioSamples(samples, 0, l(samples));
3  
}
4  
5  
static double normalizedAutocorrelationOfAudioSamples(short[] samples, int start, int end) {
6  
  ret doubleRatio(autocorrelationOfAudioSamples(samples, start, end), autocorrelationNormalizationFactorForAudioSamples(samples, start, end));
7  
}
8  
9  
static double normalizedAutocorrelationOfAudioSamples(short[] samples, IntRange r) {
10  
  ret normalizedAutocorrelationOfAudioSamples(samples, r.start, r.end);
11  
}

Author comment

Began life as a copy of #1026895

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: #1026896
Snippet name: normalizedAutocorrelationOfAudioSamples
Eternal ID of this version: #1026896/8
Text MD5: 72f697b2060dab08aa21dbf1d672d38c
Transpilation MD5: ce9e2e441ef4bd940c64c8f735e746df
Author: stefan
Category: javax / audio
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-02 16:46:28
Source code size: 554 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 250 / 352
Version history: 7 change(s)
Referenced in: [show references]