Thanks for your reply, muddy, and sorry for being unclear.
I have a touchscreen attached to my Arduino and I am reading the X and Y coordinates. These coordinates are then conditioned to my needs in the patch and are sent out via two PWM pins. The PWM is then being fed into an analog filter to turn the PWM into DC voltage. With the DC voltage I can control various instruments of mine - in the end I get 0 - 5V output per axis depending on the position of my fingertip.
All of the above is more or less 'live' (disregarding a few miliseconds I reckon). What I am longing for is the opportunity to push a button, the microcontroller starts recording the X input values and the Y input values and stores them on some sort of memory. 2 seconds of storage is enough, I think the sample rate can be somewhere around 50 - 100Hz as I can't move my fingers so fast anyway :) I have no idea about resolution. Would the record button be pushed for longer than 2s the recording of the data would simply stop. Then I want another button that, when pressed - overrides any incoming information from the touchscreen and simply goes through the recorded data over and over again - looping it - and sending that out through the PWM pins now.
There is no display involved. This is not for graphic purposes but for musical ones - think KaossPad.
I hope I made myself more clear now.