Value indexed on the frequency spectral load

Hello everyone

I would like to control elements based on the content of the music. When I talk about content, it is whether there are more or less elements in the frequency band. For example having a float. This float is 0 during silence and 1 if there are a lot of things. For example, in the view below; I would like to detect 4 different statuses based on the spectral content.

Sans titre

I think FluCoMa, can help me; but I don’t know exactly how! Would you help me in my research. Thank you very much

Hello @Franekola and welcome,

What platform are you using (supercollider, max, pure data)? It may be that you don’t even need flucoma for what you want. But a place to start could be with the melbands object, set to a small number of bands (you have three in your example above?).

Thanks for your feedback. Yes it’s true, I forgot to specify. I use Max 8!

Can you explain me how to use melbands in my case? Can it detect a loaded or unloaded frequency spectrum?

It outputs a list of numbers estimating the amount of energy in each frequency band, which you would then need to process a bit further. If I understand you correctly, you want a binary state: 0 for nothing, 1 for something? The first thing I’d try would be to decide on some lower threshold below which counts as silence (say -60dB), and then think about smoothing / debouncing to stop things jumping around too much.

1 Like