Transpiled version (41L) is out of date.
static double sixteenBitAudioSampleToDouble(int s) { ret clamp(s/32767.0, -1.0, 1.0); }
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: | #1026894 | 
| Snippet name: | sixteenBitAudioSampleToDouble - -32768...32767 to -1.0...1.0 | 
| Eternal ID of this version: | #1026894/2 | 
| Text MD5: | bfc01e2e5b09a1ea48b1c8bf536b0073 | 
| 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 15:03:53 | 
| Source code size: | 91 bytes / 3 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 489 / 568 | 
| Version history: | 1 change(s) | 
| Referenced in: | [show references] |