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

8
LINES

< > BotCompany Repo | #1009773 // captureAudioToWAV - captures to .wav file

JavaX fragment (include)

// uses default line
static void captureAudioToWAV(AudioFormat format, File wavFile, Flag stop) ctex {
  TSeekableDataOutputStream dataOut = new(wavFile);
  AudioOutputStream audioOut = new WaveAudioOutputStream(
    format, AudioSystem.NOT_SPECIFIED, dataOut);
  OutputStream out = audioOutputStreamAsOutputStream(audioOut);
  captureAudioFromLine3(format, out, stop);
}

Author comment

Began life as a copy of #1009767

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1009773
Snippet name: captureAudioToWAV - captures to .wav file
Eternal ID of this version: #1009773/3
Text MD5: 50bc8f96ec68e12fd965bd09d31467c9
Author: stefan
Category: javax / audio
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-16 17:16:56
Source code size: 378 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 511 / 550
Version history: 2 change(s)
Referenced in: [show references]