I'm having wierd problems and I've isolated the issue to the simple example attached.
This patch should record/create a new 1 sec aiff every 3 seconds... most of the time it does this but often seemingly random files will be zero kb.. or are just tiny or corrupted in some way.
Leaving this patch running for more than a couple of hours will repeatedly cause my install of max to crash. (using internal soundcard/mic to test). I'm not running out of disk space or coming close.
e.g I just ran it.. it froze after creating 45 files.. no's 22 + 23 were 4kb instead of the expected 176kb. (It's different files corrupted everytime)
1.5ghz Powerbook, 1gb ram, 20gb spare on the drive.
Hope someone can test this simple patch for me.