Heya, been trying to get my head round using [makefilename] and I've hit a bit of a snag. I can record and name different sound files based on variable integers, but unfortunately when I attempt to listen to them it only plays the latest one that I recorded - the others exist as .wav files, but they are 'blank', and cannot be played. This happens both in and out of pure data. Help would be greatly appreciated!
-
Sequencer/sampler question
-
This is my patch so far.
-
The 'rec' subpatch is used for recording and the 'play' subpatches are used to trigger sound files.
-
Hi,
The empty wave files are created because every time you slide through a number in that rec subpatch, you are opening a file, and [writesf~] always create an empty file as soon as it's asked to open something. But if you then record a sound, all is working fine.
To avoid creating a bunch of empty files (or erasing previously recorded ones), use the cold inlet of [int]:
Hope this helps. Cheers!
Gilberto -
That helped a lot, cheers!