I have many years worth of work on acoustic signal processing in the form of matlab codes and unix shell scripts. I would like to build an interface so that I can get numerical output from a MIDI trigger and feed those numbers into these scripts. Those scripts are set up to write .wav files which can be easily re-loaded into pd.
It seems that pd offers a perfect way to get a numerical value from a MIDI interface, but after a few hours scanning tutorials and message boards I don't see an obvious way to feed this number into a shell script. (Is there not an object that can execute a command at the command line interface when it recieves a bang? That is all I need!)
In effect I would like to use my pre-existing scripts as externals, but I don't want to have to migrate all my codes into C. (I know even less about coding in C than coding in pd).
My apologies if this query is trivial or non-sensical. I am very new to the world of Pure Data and I'd be appreciative if someone would just let me know if this idea is feasible or not.