Thanks a lot for your help.
I am not sure if I can go that route as it wouldn't leave any time for making music.
I think I am going to try the dsp first and see how this is going.
Havent got into the whole idea of github yet.
Thanks for your help
Edit: I just see that there is a peak detection example. I might try to get myself into that. I suppose there isn't a way to put the code into the graphic editor and go backwards?
I don't really want an envelope follower. What I want to do is get a mono signal in, split into three parts, each part with a bandpass filter controlled by poti freq and q, then into a peak detection circuit with threshold and maybe some hold or release parameter which are controlled by poti and each time peak is on get a signal out of the pwm outputs, amplify to 5V and hopefully trigger eurorack modules with it. the background is that I used to produce and release breakbeat / jungle which is completely sampler made unti 2005 and then got into tech house which is a bit of both samples and synths
Now I would like to go back to jungle but thought it would be awesome to have a device which allows selecting the frequency of a signal (either the single chopped breaks tracks or the breaks subgroup) and generate triggers out of it that I can use to trigger my modular. I am not interested in stuff like 4/4 or 2/4 etc but more stuff like the shuffles etc and was / am hoping to get a nice way of augmenting the supergroovy rhythm with some percussive elements that stand a bit out and give like a melody. You surely could do that with kick and snare and hats but then we are talking drum & bass which I used to make but don't want to anymore. That is why I was asking about the latency of the teensy as the triggers cant be too delayed.
I think I might look into the examples and just try to copy code from a few sources (that is the way I did it when controlling the dsp with esp32 - but I am sure that it could have been done way more nice than I did) or alternatively build in hardware which I suppose shouldn't be too difficult. I just ordered some cheap level shifters to hopefully get 3,3 V up to 5 To be able to trigger. Not giving up yet I think.