Libraryless. Click here for Pure Java version (2407L/16K).
static Pair<Float, Int> wavSampleRateAndChannels(File f) { temp WAVDecoder decoder = new(fileInputStream(f)); ret pair(decoder.sampleRate, decoder.channels); }
Began life as a copy of #1026944
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: | #1026963 |
Snippet name: | wavSampleRateAndChannels |
Eternal ID of this version: | #1026963/1 |
Text MD5: | d341cc2bfd4bb0b05c1fce31ea05e150 |
Transpilation MD5: | 2b67beb2ca2e7a7c0d5de9bacb90c6b4 |
Author: | stefan |
Category: | javax / audio |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-04 01:42:42 |
Source code size: | 166 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 220 / 302 |
Referenced in: | [show references] |