Just so you're aware (but I've never personally tested them), there are various browser extensions that will record the audio being played through that browser. It's not an answer to your question, but it is a potential solution to your problem.
Hm.
I've used volume booster and text-to-speech browser extensions for quite some time. I don't know why an audio recorder extension never occurred to me, so.....I took a look.
Bear in mind that my research was all in the Chrome web store. Although I keep Firefox 'on the system', FF is only ever at best a 'backup' browser for me; I don't use it as a 'daily driver'. But you can NEVER have too many browsers available to you.
Audio recorders appear to be a bit hit'n'miss in the Web store. One I tried wouldn't save the file created. Another wasn't even the extension selected; it installed something different, instead..!
This one works well. You can save in your preferred format; you can give the file any name you want, or simply save it as a 'time-stamped' default name.
~~~~~~~~~~~~~~~~~~~~~~~~
We did some research into this stuff a few years ago, and figured-out a Puppy-native app for recording from an application where the user had an 'awkward' audio chip. The one I have in this HP Pavilion desktop rig is missing the 'loopback' function.....essential for recording from an internal source. So we ended up using the kernel 'virtual loopback' function.....which did exactly what was required.
This browser extension, however, all but makes that redundant (for browsers, anyway).
I found out later that even for Windows, HP ended up having to write & supply a 'helper' script to get the in-built 'loopback' function working. The chip possesses the function, but for some crazy reason refuses to advertise that fact to the system....rather like how the 'Banias' variant of the old Intel Pentium M refused to tell the system that it had the PAE instruction (which led to all sorts of boot-time shenanigans).
Sod's law, I guess.
...another place which you shouldn't miss is alsamixer command, which usually doesn't set everything to max, there is level for mic, set it to max.
Ayup. It doesn't matter if you use PulseAudio OR Wireplumber; folks seem to forget that underneath it all, ALSA is always on the system. PA and WP just add a finer-grained, easier-to-use layer on top of ALSA.....which in standard trim, can be a right PITA to use.
The ALSA commands are always going to be there, however.....and, just sometimes, will do what you want when the other two balk at doing something.
Mike.
