Similar to script from here; viewtopic.php?p=94388#p94388 "Record what U Hear" but extended with GUI (gtkdialog) including more options, e.g. record to ogg (requires vorbis-tools) , mp3 (requires lame) and wav, more fine tuning (encoder options), option to set destination/filename .
For Puppies that are running with pulseaudio or pipewire (and probably wireplumber) as soundsystem, AFAIK e.g. BookwormPup64 and Vanilla-Dpup, and perhaps others too.
Pet package:
EDIT: For KLV-Airedale, xbps package here: viewtopic.php?p=98199#p98199