array-freqtobin
Upon receiving a bang, array-freqtobin converts every frequency value in the referenced array from Hz to an FFT bin index. The second and third creation arguments specify the FFT window size and sampling rate; these can also be changed at runtime by sending both values to the second inlet, while set selects the referenced array.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search forarray-absand install it. Then create an object withdeclare -lib array-abs -path array-abs. Finally, usearray-freqtobinor any other object fromarray-abs.