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

6
LINES

< > BotCompany Repo | #1018851 // audio_autoClipAndVisualizeTwoWordAnalyzer1

JavaX fragment (include)

1  
static BWImage audio_autoClipAndVisualizeTwoWordAnalyzer1(File audioFile, Audio_TwoWordAnalyzer1 analyzer) {
2  
  BWImage img = audio_autoClipAndScaleToStandardSquare(audioFile);
3  
  Rect r = rescaleRect(analyzer.rect, analyzer.baseSize, analyzer.baseSize, audio_standardSquareSize(), audio_standardSquareSize());
4  
  bwDrawRect(img, r.x-1, r.y-1, r.w+1, r.h+1, 0.5f);
5  
  ret img;
6  
}

Author comment

Began life as a copy of #1018847

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: #1018851
Snippet name: audio_autoClipAndVisualizeTwoWordAnalyzer1
Eternal ID of this version: #1018851/1
Text MD5: 5b1d49c9fc188394b9c83011ac4643d7
Author: stefan
Category: javax / audio
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-14 13:14:38
Source code size: 379 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 335 / 374
Referenced in: [show references]