Libraryless. Click here for Pure Java version (2782L/17K).
1 | static LPair<LongRange, Double> runSimpleBaseDrumFinder1OnBrightnessArray(float[] brightnesses) { |
2 | new SimpleBaseDrumFinder1 finder; |
3 | new LPair<LongRange, Double> l; |
4 | for (float b : brightnesses) { |
5 | finder.addFrequencyImageBrightness(b); |
6 | addIfNotNull(l, finder.getAndClearLastEvent()); |
7 | } |
8 | ret l; |
9 | } |
Began life as a copy of #1025095
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: | #1025097 |
Snippet name: | runSimpleBaseDrumFinder1OnBrightnessArray |
Eternal ID of this version: | #1025097/1 |
Text MD5: | b7a97e802e3c0b6f614f3be21a57d222 |
Transpilation MD5: | 109c48a41af18f94fbc1c0fd307a73b1 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-05 14:27:19 |
Source code size: | 318 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 192 / 263 |
Referenced in: | [show references] |