Hello! I'm still an intermediate user of PD at best, and am always grateful for the help I find on this forum.
For a project in current development I want to be able to:
- Record a sequence of audio files, each one being assigned a unique name (adding a unique number at the end will work fine, for example recording1, recording2, recording 3, etc.)
- During the recording process I want to be able to playback the most recent recording at will
- After recording an indeterminate number of audio files, I want to play the files back in a looping pattern, as though they were dropped into a sequencer
- Finally, I want to be able to erase all of these files in order to begin the process again
This is quite a lot for me so I'm working in stages, starting at the beginning. I am familiar with the writesf object, and have used it to record incoming audio, but I'm having some trouble writing each file with a unique name so it doesn't just overwrite the prior recording.
In the past I have often used the $ symbol to substitute numbers. This isn't working in this instance, it just creates a soundfile called $.wav - the screenshot below shows where I'm at. I'm sure it's fairly basic stuff, but if someone can point me in the right direction, or to the right resources, I'd be very grateful!
Also, if there is an existing patch or another object that better acheive what I've listed above, please feel free to direct me there: I've tried looking through the forum but with little success so far! Thanks so much!