Bonum Certa Men Certa

Microphone Visualisation/Spectrograms for GNU/Linux (Real-Time Status for Audio Input)



noisetorch and glfer



Summary: When you are recording something and cannot be entirely sure that input from the microphone is indeed being registered/saved it can be helpful to use a spectrogram; today's data loss was a motivator for exploring what's out there for GNU/Linux users

Earlier today I recorded a video, which about third-way from the start simply stopped getting any sound (only video/screen persisted). I did not even notice this until half a day after the upload (someone reported it to me) because I don't double-check whole videos, I only do a sanity check on the edges (start and finish). I had 3 video files left from this whole process and they seem to indicate the error had nothing to do with conversions/transcoding. It happened at the time of recording.

This didn't upset me as much as previous incidents of this kind, probably because that was just 13 minutes in total (lost audio). Prior to that I lost the sound of very long videos (about an hour long). It happened several in the past, so I became more pedantic about testing stuff before recording. It's just really frustrating trying to redo or recreate things from memory, not to mention that this whole experience can be a bit boring.

"It happened several in the past, so I became more pedantic about testing stuff before recording."Spectrograms, which are not to be mistaken for spectrometers (confusing terminology that may deceive people outside those professional fields), can be implemented easily in software and as it turns out many implementations already existed a decade ago. Many are freely available also for GNU/Linux. Many studios like the platform.

They say the best way to improve is by learning from past mistakes and prevention of disaster is better than trying to mitigate (typically an impossibility in this context). I've tried alsa tools, hoping to find something handy (command line software) to no avail and later on I found a couple of different programs which are Free software. One did not work (friture, latest build), whereas the other one did (glfer). Picking up its input from noisetorch, it helps display the microphone's input in waves or heat maps. It still assumes one uses older sound systems, so for pulseaudio a compatibility redirection is needed: padsp glfer

glfer is in the Debian repositories and also in Ubuntu's. Maybe it'll turn out to be a waste of time and CPU; but if there's a chance it can prevent disaster or salvage lost work (the latter is unlikely), then it's probably worth a try. I'll have a go at it. I'm trying to record videos every day (Daily Links and general articles take up a lot of time too), so anything that can make the process smoother will be added to the workflow/pipeline. Much of this is automated or semi-automated already. Extra sanity checks cannot hurt.

Recent Techrights' Posts

Early Retirement Age: Linus Torvalds Turns 55 Next Week
Now he's almost eligible for retirement in certain European countries
Gemini Links 22/12/2024: Solstice and IDEs
Links for the day
BetaNews: Microsoft Slop is Your "Latest Technology News"
Paid-for garbage disguised as "journalism"
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, December 21, 2024
IRC logs for Saturday, December 21, 2024
Links 21/12/2024: EU on Solidarity with Ukraine, Focus on Illegal and Unconstitutional Patent Court in the EU (UPC)
Links for the day
[Meme] Microsofters at the End of David's Leash
Hand holding the leash. Whose?
Deciphering Matt's Take on WordPress, Which is Under Attack From Microsofters-Funded Aggravator
the money sponsoring the legal attacks on WordPress and on Matt is connected very closely to Microsoft
Gemini Links 21/12/2024: Projections, Dead Web ('Webapps' Replacing Pages), and Presentation of Pi-hole
Links for the day
American Samoa One of the Sovereign States Where Windows Has Fallen Below 1% (and Stays Below It)
the latest data plotted in LibreOffice
[Meme] Brian's Ravioli
An article per minute?
Links 21/12/2024: "Hey Hi" (AI) or LLM Bubble Criticised by Mainstream Media, Oligarchs Try to Control and Shut Down US Government
Links for the day
LLM Slop is Ruining the Media and Ruining the Web, Ignoring the Problem or the Principal Culprits (or the Slop Itself) Is Not Enough
We need to encourage calling out the culprits (till they stop this poor conduct or misconduct)
Christmas FUD From Microsoft, Smearing "SSH" When the Real Issue is Microsoft Windows
And since Microsoft's software contains back doors, only a fool would allow any part of SSH on Microsoft's environments, which should be presumed compromised
Paywalls, Bots, Spam, and Spyware is "Future of the Media" According to UK Press Gazette
"managers want more LLM slop"
Google Has Mass Layoffs (Again), But the Problem is Vastly Larger
started as a rumour about January 2025
On BetaNews Latest Technology News: "We are moderately confident this text was [LLM Chatbot] generated"
The future of newsrooms or another site circling down the drain with spam, slop, or both?
"The Real New Year" is Now
Happy solstice
Microsoft OSI Reads Techrights Closely
Microsoft OSI has also fraudulently attempted to censor Techrights several times over the years
"Warning About IBM's Labor Practices"
IBM is not growing and its revenue is just "borrowed" from companies it is buying; a lot of this revenue gets spent paying the interest on considerable debt
[Meme] The Easier Way to Make Money
With patents...
The Curse (to Microsoft) of the Faroe Islands
The common factor there seems to be Apple
Electronic Frontier Foundation Defends Companies That Attack Free Speech Online (Follow the Money)
One might joke that today's EFF has basically adopted the same stance as Donald Trump and has a "warm spot" for BRICS propaganda
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, December 20, 2024
IRC logs for Friday, December 20, 2024
Gemini Links 21/12/2024: Death of Mike Case, Slow and Sudden End of the Web
Links for the day
Links 20/12/2024: Security Patches, Openwashing by Open Source Initiative, Prison Sentence for Bitcoin Charlatan and Fraud
Links for the day
Another Terrible Month for Microsoft in Web Servers
Consistent downward curve
LLM Slop Disguised as Journalism: The Latest Threat to the Web
A lot of it is to do with proprietary GitHub, i.e. Microsoft
Gemini Links 20/12/2024: Regulation and Implementing Graphics
Links for the day
Links 20/12/2024: Windows Breaks Itself, Mass Layoffs Coming to Google Again (Big Wave)
Links for the day
Microsoft: "Upgrade" to Vista 11 Today, We'll Brick Your Audio and You Cannot Prevent This
Windows Update is obligatory, so...
The Unspeakable National Security Threat: Plasticwares as the New Industrial Standard
Made to last or made to be as cheap as possible? Meritocracy or industrial rat races are everywhere now.
Microsoft's All-Time Lows in Macao and Hong Kong
Microsoft is having a hard time in China, not only for political reasons
[Meme] "It Was Like a Nuclear Winter"
This won't happen again, will it?
If You Know That Hey Hi (AI) is Hype, Then Stop Participating in It
bogus narrative of "Hey Hi (AI) arms race" and "era/age of Hey Hi" and "Hey Hi Revolution"
Bangladesh (Population Close to 200 Million) Sees Highest GNU/Linux Adoption Levels Ever
Microsoft barely has a grip on this country. It used to.
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, December 19, 2024
IRC logs for Thursday, December 19, 2024