fredx181 wrote: ↑Fri Jun 03, 2022 8:09 pmI've found that it's not because of the arecord command that I got these dropouts, tried with ffmpeg (with content of .asoundrc.capture) and got the same problem.
Changing to another .asoundrc config solved it for me (and still use arecord).
Here's a modification of your package (changed /root/.asoundrc.capture and in the alsa-capture script changed to "-D looprec"):
EDIT: Fixed warning from arecord, new package 1.1 :
EDIT2: fixed that it didn't reset back to original .asoundrc and added choice for soundcard to record from, v1.2:
alsa-cap_1.2_all.deb.gz
Other advantage IMO is also that it doesn't mute the audio play during recording.
I was able to record audio while playing youtube videos, with this script
https://forum.puppylinux.com/viewtopic. ... 764#p58764
but I tried to record audio output from a text to speech program working thanks to wine and ended up only with a silent track