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

4
LINES

< > BotCompany Repo | #1026944 // wavSampleRate

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

Libraryless. Click here for Pure Java version (3280L/19K).

1  
static float wavSampleRate(File/S f) {
2  
  temp WAVDecoder decoder = new(fileInputStream(f));
3  
  ret decoder.sampleRate;
4  
}

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: #1026944
Snippet name: wavSampleRate
Eternal ID of this version: #1026944/3
Text MD5: 63ae3d5b431dc53092c27f225bb94063
Transpilation MD5: 9d5f2b6e5a3b8e17ac08cd3b76468b3a
Author: stefan
Category: javax / audio
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-07-24 18:05:32
Source code size: 122 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 253 / 335
Version history: 2 change(s)
Referenced in: [show references]