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

8
LINES

< > BotCompany Repo | #1018702 // Test soundSourceToWAV (make sine wave)

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("440hz.wav");
  soundSourceToWAV(5.0, GainSoundSource(0.5, SineSoundSource(440)), wavFile);
  showFrequencyImage(wavFile);
  //playWAV(wavFile);
}

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: #1018702
Snippet name: Test soundSourceToWAV (make sine wave)
Eternal ID of this version: #1018702/3
Text MD5: 8aa884fe47bbd7c8928ceff379288784
Transpilation MD5: 36be910e62a63a05f8b01f3a767f2882
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:00:00
Source code size: 194 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 373 / 921
Version history: 2 change(s)
Referenced in: #1018705 - Make 880 Hz sine wave WAV