I was trying to use
arecord to record a wav file, but instead of recording to one file, it created tens of thousands of files (around 60000). This happened after I had installed the alsaequal package. I used to record using the
-f dat flag with
arecord, but after I installed alsaequal, this stopped working so I tried to use
-f cd, which is when this problem occured. I don't know if it is alsaequal that is causing this behavior or the use of the
cd format. I am using Arch Linux on a Raspberry Pi. The full command that I ran was
arecord -f cd test.wav and the files it outputted were all named
test-xxxxx.wav Does anyone have any idea what might be causing this problem?
Update: This seems to happen randomly. It will work fine for a bunch of recordings and then I restart or run
arecord with slightly different arguments, which will cause the problem to occur each time I record (no matter what arguments I use). I haven't been able to find a reproducible pattern.