frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Game Boy Advance Audio Interpolation

https://jsgroth.dev/blog/posts/gba-audio-interpolation/
37•ibobev•2h ago

Comments

dleslie•2h ago
The originals sound better. The aliasing provides a crunchiness and sharpness to the final output that drives emotional energy. That zero mission rhythm isn't intended to sound smooth and soft, the driving hard beats are an emotional tool for eliciting anxiety and anticipation from the player.

But this is a bit like those who use smoothing filters. It's ultimately about taste, but it should be recognized that unless the filter is attempting to accurately recreate the original hardware of the era then the original design intent is not being adhered to, and so something may be lost in the "enhancement".

asdff•13m ago
A friend had this killer basement setup with a projector into a huge canvas dropsheet. Plus the game cube, and the GBA dock for it, so we were projecting those games meant for a 2 inch screen maybe 10-15 feet wide.
dietrichepp•1h ago
This is great stuff… basically, an easy way to get much higher quality audio out of a GBA emulator.

I’ll add some context here—why don’t more games run their audio at 32768 Hz, if that’s such a natural rate to run audio? The answer lies in how you fill the buffers. In any modern, sensible audio system, you can check how much space is available in the audio buffer and simply fill it. The GBA lacks a mechanism to query this. Instead, what you do is calculate this yourself, and figure out when to trigger additional audio DMA from the VBlank interrupt. You know the VBlank runs every 280896 cycles, and you know that the processor runs at 16777216 Hz, so you can do some math to calculate how much data is remaining in the audio DMA stream.

A lot of games simplify the math—it’s easier to start a new audio DMA in your VBlank handler, but that means running at a lower sample rate, which will sound pretty crispy.

YMMV, some people like the crispy aliased audio. If the audio weren’t crispy, the sound designers probably would have adjusted the samples to compensate. Other factors being equal, I’d rather listen to what the original artists heard when they were testing on real hardware, because that is probably closer to what they intended, even though it has a lot of artifacts in it.

joefourier•1h ago
The reason the nearest neighbour interpolation can sound better is that the aliasing fills the higher frequencies of the audio with a mirror image of the lower frequencies. While humans are less sensitive to higher frequencies, you still expect them to be there, so some people prefer the "fake" detail from aliasing to them just been outright missing in a more accurate sample interpolation.

It's basically doing an accidental and low-quality form of spectral band replication: https://en.wikipedia.org/wiki/Spectral_band_replication which is used in modern codecs.

bitcraft•54m ago
The crispy aliasing of the audio has always felt cozy to me. It’s also a bit of a signature of the system, like the wobbly polygons on PS1. I appreciate that there are ways to change the sound, but it feels a bit rude to label it broken or defective.

MIT Living Wage Calculator

https://livingwage.mit.edu/
44•bear_with_me•51m ago•11 comments

Discord will require a face scan or ID for full access next month

https://www.theverge.com/tech/875309/discord-age-verification-global-roll-out
550•x01•6h ago•551 comments

Converting a $3.88 analog clock from Walmart into a ESP8266-based Wi-Fi clock

https://github.com/jim11662418/ESP8266_WiFi_Analog_Clock
285•tokyobreakfast•4h ago•99 comments

Luce: First Electric Ferrari. Designed by LoveFrom

https://www.ferrari.com/en-US/auto/ferrari-luce
51•kaizenb•1h ago•37 comments

Why is the sky blue?

https://explainers.blog/posts/why-is-the-sky-blue/
250•udit99•5h ago•87 comments

Hard-braking events as indicators of road segment crash risk

https://research.google/blog/hard-braking-events-as-indicators-of-road-segment-crash-risk/
105•aleyan•3h ago•147 comments

Game Boy Advance Audio Interpolation

https://jsgroth.dev/blog/posts/gba-audio-interpolation/
37•ibobev•2h ago•5 comments

UEFI Bindings for JavaScript

https://codeberg.org/smnx/promethee
161•ananas-dev•6h ago•80 comments

The Markets of Old London (2024)

https://spitalfieldslife.com/2024/06/20/the-markets-of-old-london-i/
32•zeristor•2h ago•4 comments

Sleeper Shells: Attackers Are Planting Dormant Backdoors in Ivanti EPMM

https://defusedcyber.com/ivanti-epmm-sleeper-shells-403jsp
99•waihtis•5h ago•34 comments

Information Is Beautiful

https://informationisbeautiful.net/
66•surprisetalk•5d ago•5 comments

Thoughts on Generating C

https://wingolog.org/archives/2026/02/09/six-thoughts-on-generating-c
163•ingve•6h ago•42 comments

The Traffic Mimes of Bogotá

https://www.atlasobscura.com/articles/traffic-mimes-of-colombia
62•IgorPartola•4d ago•16 comments

Show HN: Algorithmically finding the longest line of sight on Earth

https://alltheviews.world
324•tombh•10h ago•132 comments

Another GitHub outage in the same day

https://www.githubstatus.com/incidents/lcw3tg2f6zsd
116•Nezteb•1h ago•84 comments

What's the Entropy of a Random Integer?

https://quomodocumque.wordpress.com/2026/02/03/whats-the-entropy-of-a-random-integer/
15•sebg•4d ago•1 comments

Testing Ads in ChatGPT

https://openai.com/index/testing-ads-in-chatgpt/
130•davidbarker•1h ago•157 comments

Sandboxels

https://neal.fun/sandboxels/
49•2sf5•5h ago•10 comments

Like Game-of-Life, but on Growing Graphs, with WASM and WebGL

https://znah.net/graphs/
130•znah•1d ago•19 comments

Art of Roads in Games

https://sandboxspirit.com/blog/art-of-roads-in-games/
555•linolevan•23h ago•182 comments

Medieval Monks Wrote over Ancient Star Catalog – Particle Accel Reveals Original

https://www.smithsonianmag.com/smart-news/medieval-monks-wrote-over-a-copy-of-an-ancient-star-cat...
60•bookofjoe•5d ago•42 comments

Ask HN: What are you working on? (February 2026)

231•david927•1d ago•793 comments

An articulated archer automaton [video]

https://www.youtube.com/watch?v=Bc0bIpDVEa8
6•Teever•1h ago•0 comments

GitHub is down again

https://www.githubstatus.com/incidents/54hndjxft5bx
402•MattIPv4•4h ago•362 comments

AT&T, Verizon blocking release of Salt Typhoon security assessment reports

https://www.reuters.com/business/media-telecom/senator-says-att-verizon-blocking-release-salt-typ...
224•redman25•6h ago•55 comments

Eddie Bauer, venerable outdoor apparel retailer, declares bankruptcy

https://www.cbsnews.com/news/eddie-bauer-bankrupt-outdoor-apparel/
50•mgh2•2h ago•33 comments

Long-Sought Proof Tames Some of Math's Unruliest Equations

https://www.quantamagazine.org/long-sought-proof-tames-some-of-maths-unruliest-equations-20260206/
57•ibobev•6h ago•14 comments

Pg-dev-container is a ready-to-run VS Code development container for PostgreSQL

https://github.com/jnidzwetzki/pg-dev-container
8•mariuz•4d ago•2 comments

Nobody knows how the whole system works

https://surfingcomplexity.blog/2026/02/08/nobody-knows-how-the-whole-system-works/
239•azhenley•15h ago•162 comments

Humans peak in midlife: A combined cognitive and personality trait perspective

https://www.sciencedirect.com/science/article/pii/S0160289625000649
121•Brajeshwar•6h ago•49 comments