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

8
LINES

< > BotCompany Repo | #1018706 // Make 1760 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("1760hz.wav");
  soundSourceToWAV(5.0, GainSoundSource(0.5, SineSoundSource(1760)), wavFile);
  showFrequencyImage(wavFile);
  //playWAV(wavFile);
}

Author comment

Began life as a copy of #1018705

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: #1018706
Snippet name: Make 1760 Hz sine wave WAV
Eternal ID of this version: #1018706/3
Text MD5: d1e57d43a82a2de84afd59e93331dcf7
Transpilation MD5: 724c349e9906a67b6b7578d80246e45d
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:01:51
Source code size: 196 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 406 / 989
Version history: 2 change(s)
Referenced in: [show references]