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

8
LINES

< > BotCompany Repo | #1018707 // Make 3520 Hz sine wave WAV

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

Download Jar. Uses 11806K of libraries. Click here for Pure Java version (8979L/64K).

!7

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

Author comment

Began life as a copy of #1018706

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: #1018707
Snippet name: Make 3520 Hz sine wave WAV
Eternal ID of this version: #1018707/1
Text MD5: dae02991c49c7b0a3f217dee32d6e87f
Transpilation MD5: 1ed45e04eed172580d3001576a504858
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 22:07:59
Source code size: 196 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 253 / 701
Referenced in: [show references]