Uses 911K of libraries. Click here for Pure Java version (3121L/16K).
!7 cmodule BaseDrumFinder > DynPrintLog { new SimpleBaseDrumFinder1 finder; start { dm_requireLiveAudioFFT(); dm_vmBus_onMessage_q newAudioFrequencyImage(voidfunc(virtual BWImage img) { for (float b : bwImageColumnBrightnesses_generic(img)) { finder.addFrequencyImageBrightness(b); if (finder.lastBaseDrum != null) { //print(finder.lastBaseDrum); finder.lastBaseDrum = null; } } }); } }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025085 |
Snippet name: | Live Base Drum Finder 1 [dev.] |
Eternal ID of this version: | #1025085/4 |
Text MD5: | 1f35af3ee7cd4dd64e19334332129196 |
Transpilation MD5: | 9ac4fb977c65d443929e76287c23d6f4 |
Author: | stefan |
Category: | javax / audio analysis |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-05 14:01:05 |
Source code size: | 481 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 253 / 407 |
Version history: | 3 change(s) |
Referenced in: | #1025099 - Live Base Drum Finder 2 [dev.] |