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).

static double normalizedAutocorrelationOfAudioSamples(short[] samples) {
  ret normalizedAutocorrelationOfAudioSamples(samples, 0, l(samples));
}

static double normalizedAutocorrelationOfAudioSamples(short[] samples, int start, int end) {
  ret doubleRatio(autocorrelationOfAudioSamples(samples, start, end), autocorrelationNormalizationFactorForAudioSamples(samples, start, end));
}

static double normalizedAutocorrelationOfAudioSamples(short[] samples, IntRange r) {
  ret normalizedAutocorrelationOfAudioSamples(samples, r.start, r.end);
}

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: 251 / 353
Version history: 7 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1026908 - autocorrelationNormalizationFactorForAudioSamples