this is probably out there, but I have no idea what to look for. basically I need a module of which outputs a value that’s correlated to the amount of occurrence of note-ons or open gates. say I play a lot of short notes (in a given amount of time), then I want this module to output a small value, say I play mostly longer notes (in a given amount of time) then I want it to output higher values.
say in time x I have 50% open gates, so I want the output value be 0.5 (float), say in the same time I change my playing to mostly play shorter notes, I want the output to change accordingly so it outputs 0.4 or 0.3 instead.
the time window should either follow a certain logic, or be cv controllable. the idea behind this module or functionality, is that I want to hook an cv-controllable adsr to this, which then leads to some kind of adaptive auto-adsr, it changes its envelope times according to your playing style, if the module notices you are slowing down, it will adjust the envelope times. not sure anymore if this was done already, but I have no way of finding out, I mean what should I look for?
anyone got an idea which logic module or math module would get me towards my goal here?
edit: ok nvm, I think I found something useful in an external prgrammable fx processor, a module called “rms” and it basically lets me choose a time window and it will calculate the average energy in this window - the window size is “modulatable” so, time to experiment.