I need to use a device for someone that doesn't accept buffer~ and she has to use sfplay~/sfrecord~ in real-time. I got it to work using sprintf but I still need to ERASE the auto-created .aif file in the finder path then DELETE from trash, directly from Max without going into finder during the performance.
I could do this which would become mari%ld.aif -> into mari1.aif,mari2.aif, mari3.aif,... Then every time we start the piece she has to go to finder and manually trash it and it will work. It involves restarting Max though.
But MaxMSP being so elegant :) I thought there has to be a way....
If anyone knows how to do this please let me know...