i would like to create an interface for all my abstractions for live input.
the thing i cannot find out, is how to create dinamically chained functions.

for example, i have X actions - pitch modulation, looper, reverb, sequencer etc.

what would be the most logical way to create a dynamic dataflow to pass data in different order to these objects, - and also edit the order - with a midi controller?

for example

raw sound input -> pitch tracking -> controlling a sequencer


raw sound input -> pick short samples -> time-streching

thank you!