Why Night Mode Audio in Night Dial TV Doesn’t Use Web Audio

Late-night channel surfing through random Internet Archive uploads comes with one big annoyance: the volume swings. You turn the set up so you can actually hear muffled 1940s Suspense dialogue, and two minutes later a crusty VHS transfer or 1980s commercial break rattles the windows.

When I added Night DRC to the Picture & CRT drawer in Night Dial TV, I started where anyone building browser audio night start: the Web Audio API. Hook the <video> element into createMediaElementSource(), throw a DynamicsCompressorNode and a couple of EQ filters in line, and call it done.

I found out that when I did that, it muted half the guide.

Archive.org links don’t serve media straight from the main domain. They 302-redirect out to distributed storage nodes, and plenty of those storage mirrors don’t send Access-Control-Allow-Origin headers on the redirected file.
If you attach a <video> element to a Web Audio graph without valid CORS headers, browser security rules silently zero out the audio samples. The video keeps playing, the scrub bar keeps moving, and your speakers go completely dead.

Rather than intercepting raw PCM audio through an AudioContext, Night Dial TV uses a lightweight volume envelope (startDrcLevelerLoop) that adjusts video.volume directly. Because it never touches crossOrigin or MediaElementSourceNode, every Archive mirror plays without a hitch.

Clicking NIGHT DRC cycles through three settings:
* NIGHT DRC: OFF (Full Range): Stops the loop and puts video.volume back to your normal ceiling (drcUserCeiling).
* NIGHT DRC: LEVEL (Late-Night Leveler): Keeps output around 76% of your ceiling with a slow, subtle ride (±4%) so jumping between loud and quiet channels doesn’t wake up the house.
* NIGHT DRC: VOICE (OTR Voice Clarity): Lifts the floor to 86% of your ceiling with a tighter ride (±3%), keeping old-time radio and muddy film dialogue readable when you’ve got the master volume turned way down.

Stepping video.volume in hard increments sounds awful, so the loop eases toward its target on each requestAnimationFrame tick using an exponential curve (\alpha = 1 – e^{-\Delta t \cdot 4.5}).

It also has to get out of the way when you touch the rest of the console:

* Manual volume changes: Turning Night DRC on snapshots your current volume as drcUserCeiling. If you hit VOL + / VOL − on the remote or drag the player’s volume slider while DRC is running, the volumechange listener catches any change larger than 0.015 from drcLastAppliedVol and updates your ceiling to match.

* Sleep timer fade-out: Once the VCR deck’s Sleep Dial hits its final 30-second fade (isSleepFading), the DRC loop backs off completely so the audio can fade down to zero before the CRT clicks off.

For me, the right fix for browser audio isn’t a DSP chain at all-it’s just riding the volume knob gently and knowing when to let go.

Regarding horsepower

A single horse can briefly produce up to about 15 horsepower in short bursts of peak effort, even though one mechanical horsepower is roughly equal to a horse’s sustained work output over a long workday.

Calculations based on horse-pulling data show a fit horse can hit roughly 12 to 14.9 horsepower over a few seconds, while a working draft horse averages closer to 1 horsepower (about 746 watts) over hours of steady labor.


I have an extra e-ink gizmo kicking around. I may repurpose it as a data display in the garage with TRMNL, using just some widgets. It has a magnetic back and lasts about three weeks between charges, or I could plug it in, I guess.


https://trmnl.com/blog/xteink-x4-x3-dashboard

Broader instructions

https://help.trmnl.com/en/articles/13563787-connect-your-xteink-x4-to-trmnl

Maybe just a weather station and general info box

Weather https://help.trmnl.com/en/articles/10033272-weather

RSS feed

https://help.trmnl.com/en/articles/10186142-rss-feed

News

https://help.trmnl.com/en/articles/12766127-gaffa

Assorted plug-ins

https://trmnl.com/integrations

Some solid archive.org vidyas

Link fest below.

https://archive.org/details/garthmarenghisdarkplace_202507

https://archive.org/details/jodorowskys.-dune.-2013.720p

https://archive.org/details/aeonfluxfullseries

Max Headroom

https://archive.org/details/max-headroom-complete

Imvader Zim

https://archive.org/details/hnbt_invaderzim

Kaiju so many kaiju

https://archive.org/details/TokusatsuDVDCollection

https://archive.org/details/national-lampoons-christmas-vacation-480p

https://archive.org/details/real-ghostbusters-1

https://archive.org/details/one-crazy-summer_202408

https://archive.org/details/alien-nation-1989-s-01-e-01-alien-nation-the-tv-movie-ai-upscale-1440p-mister-cooper

https://archive.org/details/24-happy-hour-part-4-183-season-6

https://archive.org/details/sctv-season-2-syndicated-series

https://archive.org/details/due-south-1994-99

https://archive.org/details/the-hitchhikers-guide-to-the-galaxy-complete-series-1981

https://archive.org/details/soap-1977-1981-s-01e-01

https://archive.org/details/07-dialing-for-dollars-007-season-1

https://archive.org/details/itcrowd

https://archive.org/details/vid-20240131-161426

https://archive.org/details/phil-collins-the-singles-collection-1989-uk-vhs

Current rabbit hole

Renato Carosone’s music

A happy side effect of pizza night and random tunes

It features chipmunks, gargle singing, a tale of a shipwreck and a surprisingly peppy beat.


E la barca tornò sola
Renato Carosonel

And the Boat Returned Alone
E la barca tornò sola
And the boat returned alone.
E la barca tornò sola.
Alone, alone.
Sola, sola.

And why should I care.
E a me che me ne importa.
And why should I care.
E a me che me ne importa.
And why should I care.
E a me che me ne importa.
And why should I care.
E a me che me ne importa.

There were three fisherman brothers,
Erano tre fratelli pescatori,
with a dark-skinned mother,
con una mamma nera,
and a white boat
ed una barca bianca
and with three hearts still like children.
e con tre cuori ancora da creatura.

And why should I care.
E a me che me ne importa.
And why should I care.
E a me che me ne importa.
And why should I care.
E a me che me ne importa.
And why should I care.
E a me che me ne importa.

The sea was roaring dark that evening
Il mare urlava cupo quella sera
and the wood of the unknown foreigner
e il legno della incognita straniera
sought help in all that horror.
cercava aiuto in tutto quell’orrore.
Who will risk their life to save
Chi rischierà la vita per salvare
the blonde stranger. Who will it be.
la bionda forestiera. Chi sarà.

Who will it be. Damn!
Chi sarà. Mah!
Cruel sea.
Mare crudele.
Cruel sea.
Mare crudele.
Cruel sea.
Mare crudele.

Sea, cruel sea,
Mare, mare crudele,
how can you sing
come puoi cantare
in the dark nights
nelle notti scure
when the heart cries.
quando piange il cuore.

Sea, if of a love
Mare, se di un amore
you choked in your throat
soffocasti in gola
the last hope,
l’ultima speranza,
the last word.
l’ultima parola.

Cruel sea.
Mare crudele.
Cruel sea.
Mare crudele.
Cruel sea.
Mare crudele.
Cruel sea.
Mare crudele.

And the boat returned alone.
E la barca tornò sola.

And the boat returned alone.
E la barca tornò sola.
And why should I care.
E a me che me ne importa.
And why should I care.
E a me che me ne importa.
And why should I care.
E a me che me ne importa

Tape Signal / (discount spelunkr.tv)

https://svonberg.org/wp-content/uploads/2026/11/tvdialtest.html

Old raw TV tuner test shamelessly copying spelunkr.tv , I guess I never uploaded it to the server? After some good testing and hints from friends at the BAM discord,  I cleaned it up and added a coat of paint. Still very much in alpha, but getting somewhere.

Features programmable channels and a really bad visual style at the moment

It rapidly rerolled into my OTR radio  project – The Night Dial

Large corporations function like massive, biological neural networks that ingest data and generate outputs, but they run on human time and bureaucracy instead of silicon chips.

Corporations are like slow AI, which makes me dislike both even more than before.

Interactive Projects Directory

A collection of standalone HTML projects, games, experiments, utilities, creative tools, and interactive experiences hosted on Scotto Grotto over the last year.

140 HTML files | November 2025 – November 2026

Audio, Music & Media

Night Dial

https://svonberg.org/wp-content/uploads/2026/11/nightdial8g.html

Headlines & Weather

Games & Game Systems

Martian Chess & Mars Games

Other Board & Strategy Games

Roanoke RPG

Catduko

Fruit & Kitty

Merge Experiments

Swampy & Other Experiments

Science Fiction, Fantasy & Creative Projects

StarWeb

Hero System & Character Tools

Motherbox & Fatherbox

Vampyre

Cryptids & Other Creative Projects

Tools, Maps, Clocks & Utilities

Miscellaneous & Early Experiments

—

This directory reflects the 140 HTML URLs returned by the WordPress Media API inventory. Original filenames and URL paths are preserved, including alternate builds and original spelling. Some entries are prototypes or version snapshots rather than separate finished applications. Descriptions and groupings are based on known project information and filenames.

Otr recent listens

With the Night Dial Project, I have been enjoying more Old Time Radio and less social media. Win-win, sez I.

If you want to hear the Ed Wood Jr. of horror radio, run, check out the OTR series Dark Fantasy. Episodes usually start out ok or dead-boring, then after the break veer into lunacy. “Spawn of the Subhuman” is utterly insane. “The Cup of Gold” is about golf, a hybrid planet and reincarnation (!?!).

https://en.wikipedia.org/wiki/Dark_Fantasy_(series)

Some OTR Weird Fiction adaptations:

Suspense – Ghost Hunt/H.R. Wakefield, The Dunwich Horror/HPL

Escape – Ancient Sorceries/A. Blackwood, Evening Primrose/John Collier, Casting the Runes/M.R. James

Nightfall – Ringing the Changes/Robert Aickman (Also a BBC adaptation, Fear on Fall iirc)

Non-horror OTR I like:
Pat Novak, For Hire
Richard Diamond, Pvt Eye
Candy Matson
Information, Please (Oscar Levant eps)
Fred Allen
Bob and Ray
Jack Benny
Vic and Sade
Burns and Allen (pre sitcom)
Gunsmoke
Dragnet (semi-ironically)
You Bet Your Life
X-Minus One/2000+
The Goon Show
Mercury Theater

The Night Dial OTR radio player

Night Dial OTR wrapper for Archive Org

https://svonberg.org/wp-content/uploads/2026/11/nightdial7.html

Revised the Radio, cleaned up up a little, put a channel guide and era switch in the tubes, added collapsible Playlist and log, and more than a couple of quality of life upgrades

Also added some mixed vibes, a golden age of radio, psychedelic,  70s, strange frequencies, Appalachian,  80s, and Fallout. It all needs a lot of work. I want to do a little live simucast and social chat for listening sort of like how spelunkr.tv does their thing. 

(Before collapsing menus and fallout, and variant search logic

https://svonberg.org/wp-content/uploads/2026/11/nightdial7_five_eras_with_library-1.html )

Note: the Easter eggs are just a side quest I went on, the big goal was the old time radio / audio drama that is my primary goal. I might even strip out the other eras if they make things too messy or distract me too much.  That’s kind of why I have them hidden behind the main view.

My current one –

https://svonberg.org/wp-content/uploads/2026/11/nightdial8g.html

Posting on the internet is like cigarettes.  Addictive and poisonous. 

It is easy to forget that the post or repost you just shared did absolutely nothing to change anyone’s mind, but it did actively pollute the environment.

The moment you hit send, you set off a physical chain reaction. Your data flashed directly to a sprawling data center where thousands of high-density servers churn 24/7 to process and store your digital noise. To keep those machines from overheating, cooling systems draw down and waste millions of gallons of water, actively depleting local aquifers and straining regional watersheds.

Worse, to keep that massive infrastructure running non-stop, local utilities are forced to burn fossil fuels, fouling the air with carbon emissions and toxic particulate matter just to keep the grid from collapsing under the weight of constant scrolling. Because this post will sit on a physical hard drive forever, it will continue to demand power and cooling indefinitely.

Your shared content literally fouled the air and water somewhere on this planet today.

Was it truly worth it?

Every one of these a little drop of poison in the water supply, a lit match burning a bit of air, but we all keep doing it.