I'm new to Pd and generally more comfortable with imperative languages so I'm struggling a bit with arrays of stuctured data.
What I'm trying to achieve is something like this:
define a structure that is capable of:
receiving a path to a .wav file to play
playing the .wav file
receiving two arguments (for example pitch and volume) to alter .wav file playback
automatically patch audio output to dac~
trigger a message via libPD to create or destroy such a structure and push/pop it to a list so it can be easily managed.
In simpler terms I'd like to be able to add or remove different .wav players passing for each player a different .wav file path and different volume/pitch.