ok, sorry. i forgot to mention that the outgoing ramp should be a signal to. no conversion to the schedule in between, as i am used to do everything at signal rate for tightness and as a time wasting hobby.
scheme:
impuls/click generator (triggers a grain) -> polyphonic rampgenerator -> sampleplayback via buffer/table
what's the best way to do this in pd?
micha
Units which you might find useful are [env~] and [bonk~]
The [env~] unit returns the RMS level of the current audio block, which may be followed with a comparator.
[bonk~] is far more sophisticated, returning a float representing the weighted spectral change of the input according to a template or accumulated profile. It's used specifically for realtime beat detection.
In both cases the result is a control rate message (bang or float) which can be used to fire off a new message, either explicit or by dollar substitution, to create your ramp.