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

7
LINES

< > BotCompany Repo | #1018613 // showFrequencyImage - show audio spectrum for file

JavaX fragment (include) [tags: use-pretranspiled]

Uses 12798K of libraries. Click here for Pure Java version (11005L/80K).

static ImageSurface showFrequencyImage(final File audioFile) {
  if (audioFile == null) null;
  ImageSurface is = showZoomedBWImage(audioFile.getName(), audioFileToFrequencyImage(audioFile));
  addButtonsToWindow(is, "Play", rThread { playAudioFile(audioFile) });
  packInNorthEastCorner(is);
  ret is;
}

Author comment

Began life as a copy of #1018611

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: #1018613
Snippet name: showFrequencyImage - show audio spectrum for file
Eternal ID of this version: #1018613/6
Text MD5: 62f51b31e947839e976bc2593dfcdd22
Transpilation MD5: 630bfd79b122e0d2aaa9d06ca74feb00
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-03 20:20:04
Source code size: 310 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 277 / 371
Version history: 5 change(s)
Referenced in: [show references]