Libraryless. Click here for Pure Java version (32L/1K).
import javax.sound.sampled.*; static AudioFormat javaSound_mono16Bit(double sampleRate) { ret new AudioFormat(AudioFormat.Encoding.PCM_SIGNED, (float) sampleRate, 16, 1, 2, 44100f, false); }
Began life as a copy of #1009768
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033252 |
Snippet name: | javaSound_mono16Bit - PCM signed, mono, 16 bit, little-endian |
Eternal ID of this version: | #1033252/1 |
Text MD5: | a7b9c46af0a22ed0f29cce194f7709ef |
Transpilation MD5: | b8b1b2e1555f6fa624036d94babea737 |
Author: | stefan |
Category: | javax / sound |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-17 21:14:43 |
Source code size: | 197 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 169 / 215 |
Referenced in: | [show references] |