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

Microsoft's Serial Strangler's Law Firm Has a Long History of Fronting for People Who Do Bad and/or Illegal Things
Whose terrible idea was this?
Links 25/03/2025: Clownflare’s Slop and Bounties on Fake Patents
Links for the day
Let Them Eat 'Apps'
Go Appless
Linux Runs Almost Everything, But They Almost Never Tell You This (No Marketing Budget)
Only about 1% (or at most 2%) of the Linux Foundation's budget goes towards Linux; a lot is routed towards Bill Gates and Microsoft promotion
Free Software Community Folks Are Closer Together Than the Cliques and Opportunists Rallying Around "Open Source" (Openwashing, Marketing, Conniving)
Generally speaking, freedom-loving geeks learn to reject morbid elements and trolls, who end up expelled
Growing Poverty Rates in the United States of America (or Elsewhere) Beneficial to GNU/Linux Adoption
Toxic politics around the world, including the US, may mean weaker economies
European Patent Office (EPO) Illegally Turning to Slop Behind Closed Doors, Staff Objects to This Hidden Catastrophe
Who stands to gain from all this and at whose expense?
After US Government Funding Cuts the Centralisation of the Web (Especially Certificate Authority Let's Encrypt) is at Risk
They try to pull the plug on open protocols with decent encryption available (unless it is outsourced to third parties)
 
Slopfarms (Sites That Only Ever Publish LLM Slop) Are Killing Google News
pair of slopfarms still propped up by Google News
Novell and Microsoft Apologist/Booster Bruce Byfield Writing About the FSF is a Recipe for Problems
Totally not shoehorning some agenda
Looking Forward to the Fall of UPC and Revocation of the Unified Patent Court (UPC) Agreement, Which Was Always Illegal and Unconstitutional
We'll try to keep abreast of any progress in this case
Slopwatch: Google News, LinuxSecurity.com, and the General Demise of the Web
many supposed or so-called "news" pages are just spewed out by some chatbots (or tools which help plagiarise original articles without getting caught; detection gets harder)
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, March 25, 2025
IRC logs for Tuesday, March 25, 2025
Links 25/03/2025: Terrace Workbench and Spellcheck in LibreOffice on FreeBSD
Links for the day
The Open Source Initiative (OSI) Might Get 'Forked' Soon
Someone who read our series has already taken a leading role
IBM Layoffs in the United Kingdom (UK) in 2025
Should Free software people trust such a secretive company?
Roku Will 'Lead' Attempts to Abolish the Illegal and Unconstitutional Unified Patent Court (UPC), Which Represents EPO Corruption and Lobbyism Spreading Upwards Inside the EU
When bribery buys policies and courts, even illegal policies and courts
Gemini Links 25/03/2025: Relaxation, Literary "Movements", and Gemini Mentions
Links for the day
Links 25/03/2025: Putin Sends Children to Battle, 23andMe Drowns as People's Highly Personal DNA Data Floats
Links for the day
When Microsoft Folks Who Literally Strangle Women Try to Strangle Microsoft Critics
Speaking to Court staff yesterday, they too are shocked about those SLAPPs
Martinique: Windows Down to All-Time Low
we cannot expect Windows to ever recover
Anticipated in 2018: Lilie James & Location tracking, Googlists complained
Reprinted with permission from Daniel Pocock
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, March 24, 2025
IRC logs for Monday, March 24, 2025
IBM (and Red Hat) on a Fast Train to Nowhere
What is the future of Fedora when IBM keeps removing its leadership?
Press Reports Say Almost 10,000 Western IBMers Laid Off
We've been trying to verify/corroborate this somehow
Gemini Links 24/03/2025: "Live Off the Land" and Life Without YouTube
Links for the day
Planet Ubuntu (or Ubuntu Planet) is LLM Slop
Reading chatbots' output is bad use of time
Days Ago yewtu.be Found a Workaround That Made Invidious Work Again. Then Google Broke All the Instances (Again).
"Youtube changed something again, so if a video does not play, it's because of that."
The European Patent Office (EPO) is Slowly Killing Its Own Staff; All It Cares About Is Money
The Office hasn't been run by a scientist for about 18 years already
Links 24/03/2025: US Detaining Innocent People, F-35 Contracts Suspended Due to Hostilities
Links for the day
Cellphones (Mobile Phones) in Classrooms
A recent study confirmed that people's intelligence has dropped in recent years/decades
Is the FSF Being 'Trolled' by Microsofters Pushing C# (Microsoft)?
Who stands to benefit from training people to use and spread Microsoft?
Matthew J. Garrett is "Former Microsoft Researcher", According to Microsoft's Serial Strangler
Their argument is something along the lines of, "what Roy published damaged my career prospects, so I want Roy to pay me...
Links 24/03/2025: Political Catchup and Environmental Concerns
Links for the day
Windows Has Now Fallen to Rather Ridiculous 3% "Market Share" in Iraq (Windows Was Measured at 100% Back in 2010)
Iraq is not a place where Windows can make a comeback
Gemini Links 24/03/2025: Working With Music and Unconscious Influence
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, March 23, 2025
IRC logs for Sunday, March 23, 2025