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

8
LINES

< > BotCompany Repo | #1024639 // ajc_findSpeechPartsFromVolumeProfile

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

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

// profileSamplingInterval: seconds per profile entry
static L<DoubleRange> ajc_findSpeechPartsFromVolumeProfile(float[] profile, AJCParameters p) {
  ret audio_findSpeechPartsFromVolumeProfile(profile, p.profileSamplingInterval,
    volumeThreshold := p.volumeThresholdPercent/100.0,
    minSilenceDuration := parseDouble(p.minSilence),
    pre := parseDouble(p.leadIn),
    post := parseDouble(p.leadOut));
}

Author comment

Began life as a copy of #1024610

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: #1024639
Snippet name: ajc_findSpeechPartsFromVolumeProfile
Eternal ID of this version: #1024639/3
Text MD5: fc760ad78760b1705d79ec44f5984aec
Transpilation MD5: b79af1f3d3e0473726fe14307da6e33f
Author: stefan
Category: javax / ajc
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-21 14:20:19
Source code size: 417 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 126 / 204
Version history: 2 change(s)
Referenced in: [show references]