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

8
LINES

< > BotCompany Repo | #1018705 // Make 880 Hz sine wave WAV

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 12012K of libraries. Click here for Pure Java version (9910L/73K).

!7

p-exp {
  File wavFile = programFile("880hz.wav");
  soundSourceToWAV(5.0, GainSoundSource(0.5, SineSoundSource(880)), wavFile);
  showFrequencyImage(wavFile);
  playWAV(wavFile);
}

Author comment

Began life as a copy of #1018702

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018705
Snippet name: Make 880 Hz sine wave WAV
Eternal ID of this version: #1018705/1
Text MD5: 195e9017c10a272d574479a93c5f408f
Transpilation MD5: 0f57081dee5d6c6a8a545ecad41a070d
Author: stefan
Category: javax / audio
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-10 21:54:12
Source code size: 192 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 269 / 666
Referenced in: [show references]