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/
24•ibobev•2h ago

Comments

dleslie•1h 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".

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•42m 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.

Hype-free lessons from 1 year of 100% AI-generated code

https://qaishweidi.com/posts/2026/13-lessons-ai-code-1-year/
1•QaisHw•2m ago•0 comments

Instagram is internally testing a new Snapchat rival app

https://www.businessinsider.com/instagram-meta-working-on-internal-prototype-disappearing-message...
1•pseudolus•2m ago•0 comments

AI doesn't replace jobs: it removes the constraint that created them

https://briefings.canaryiq.com/p/the-invisible-governor
1•mintone•3m ago•0 comments

Linker Script Generation for Firmware Projects: A Primer

https://dnedic.github.io/blog/firmware-linker-script-generation/
1•dnedic•3m ago•0 comments

Show HN: Pluto – open-source Experiment Tracker for Neptune users

https://github.com/Trainy-ai/pluto
1•roanakb•3m ago•0 comments

Alphabet (Googl) Plans Tech's First 100-Year Bond Since Dot-Com Era

https://www.bloomberg.com/news/articles/2026-02-09/alphabet-mandates-banks-for-rare-100-year-ster...
1•corvad•4m ago•0 comments

I woke up to 77 pull requests

https://zachwills.net/building-at-the-speed-of-thought/
1•deveng24•5m ago•0 comments

Ring Doorbell's 'dystopian' Super Bowl ad is sparking privacy concerns

https://www.tyla.com/news/super-bowl-ring-doorbell-ad-privacy-concerns-099156-20260209
1•randycupertino•6m ago•0 comments

Understanding Green Day's "Holiday" [video]

https://www.youtube.com/watch?v=163MUrEoj5Y
1•cameron_b•6m ago•0 comments

ClawTime – An engaging 1-on-1 private chat interface for you and your AI agent

https://github.com/youngkent/clawtime
1•tongkeyun•7m ago•0 comments

Show HN: SDF Protocol – Pre-compiled semantic JSON for AI agent web consumption

https://sdfprotocol.org/
1•spranab•9m ago•2 comments

Show HN: LLM-use – orchestrate LLMs for AI agents like OpenClaw, cut costs

1•justvugg•10m ago•0 comments

Why cars in the next lane seem to go faster

https://www.nature.com/articles/43360
2•mhb•11m ago•0 comments

A method and calculator for building foamcore drawer organisers

https://capnfabs.net/posts/foamcore-would-be-a-sick-name-for-a-music-genre/
2•evakhoury•12m ago•1 comments

An articulated archer automaton [video]

https://www.youtube.com/watch?v=Bc0bIpDVEa8
2•Teever•12m ago•0 comments

Fat Agent(s) vs. Solver Market(s)

https://moldandyeast.substack.com/p/fat-agents-vs-solver-markets
1•rmrmrm•14m ago•1 comments

Ask HN: How do you test payment webhook edge cases?

1•jalalmanafi•14m ago•4 comments

Using an Engineering Notebook

https://ntietz.com/blog/using-an-engineering-notebook/
1•evakhoury•14m ago•0 comments

Show HN: Hyperstar – LiveView/Datastar for TypeScript and JSX

https://github.com/StreamUI/hyperstar
1•Jonovono•15m ago•0 comments

LocalGPT: A local AI assistant with persistent memory in a single binary

https://localgpt.app/
1•gaws•15m ago•0 comments

Know: Compiling LLM reasoning into a shared, open knowledge network

https://github.com/JoostdeJonge/Know
1•joostdejonge•15m ago•1 comments

How AI trained on birds is surfacing underwater mysteries

https://research.google/blog/how-ai-trained-on-birds-is-surfacing-underwater-mysteries/
2•salkahfi•16m ago•0 comments

DirectStorage LLM Weight Streaming: 4x faster loading, MoE expert streaming

https://github.com/kibbyd/llm_upper/blob/main/PROJECT_RECORD.md
1•kibbyd1985•17m ago•1 comments

Exploring D&D 5th Edition Monster Features Using Julia

https://cmu-lib.github.io/2026LoveDataWeek_DnDnDMonsterManagement/
1•mirawelner•18m ago•0 comments

Toyota Developing a Console-Grade, Open-Source Game Engine – Flutter and Dart

https://www.phoronix.com/news/Fluorite-Toyota-Game-Engine
2•mosura•18m ago•0 comments

GPT-5.3-Codex review after 4 days of use

1•agentifysh•18m ago•0 comments

Alphabet lines up 100-year sterling bond sale

https://www.ft.com/content/3260bc45-e09e-45a7-ae30-e55effbaf29b
1•hnburnsy•20m ago•0 comments

AI Took over the Super Bowl, Accounting for 23% of Ads

https://www.adweek.com/brand-marketing/super-bowl-revealed-ai-messaging-crisis/
1•firasd•22m ago•2 comments

Discord Is Not an Acceptable Choice for Free Software Projects (2020)

https://sneak.berlin/20200220/discord-is-not-an-acceptable-choice-for-free-software-projects/
2•sneak•23m ago•0 comments

Show HN: Brood– an image-first design tool for iterating on visual ideas

https://github.com/kevinshowkat/brood
2•kshowkat•24m ago•0 comments