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

4
LINES

< > BotCompany Repo | #1027267 // is16KMonoWAVFile

JavaX fragment (include)

1  
sbool is16KMonoWAVFile(File audioFile) {
2  
  ret isRIFFFileByContent(audioFile) &&
3  
    eq(wavSampleRateAndChannels(audioFile), pair(16000f, 1));
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: #1027267
Snippet name: is16KMonoWAVFile
Eternal ID of this version: #1027267/1
Text MD5: c0381be141fe6f92106a2366a85bac5e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-28 13:54:53
Source code size: 147 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 209 / 247
Referenced in: [show references]