Ph

Phantas – A browser-based binaural strobe engine (Web Audio API)

Hacker News

Phantas – A browser-based binaural strobe engine (Web Audio API)

Hi HN, I’m a new developer with Aphantasia (no mental imagery). A side effect of this is that regaining focus after a distraction takes me a long time (the "23-minute lag"). I tried standard binaural beats, but I discovered a technical flaw: streaming compression (AAC/MP3 on Spotify/YouTube) often muddies the specific phase differences required for effective entrainment. I realized that to get effective entrainment, I needed lossless audio. Since I couldn't stream lossless easily, I decided to generate it locally. I built Phantas – a browser engine that uses the Web Audio API to generate raw sine waves in real-time on the client side. This ensures mathematical precision with zero compression artifacts. For audio it uses Native AudioContext for dual-oscillator generation (Left/Right channel split). For visuals I pair the audio with a 490nm Cyan strobe. The hardest part was syncing the visual flash (using requestAnimationFrame) to the audio pulse without "drift" caused by JavaScript's event loop latency. I built this primarily for myself. Subjectively, it has reduced my "ramp-up" time from ~20 minutes to about 5 minutes. I’m releasing the generator for free (no login) to see if this works for others or if it's just my specific brain chemistry. I’d love feedback on: - Audio/Visual Sync: Does the strobe feel tight on your specific browser/refresh rate? - Intensity: Are the default 14Hz flickers too aggressive?

Share card

Actual performance

28points
10comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: new, context, visual · Missing: mac, agents, macos
71%71% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
70%70% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersIH features products with proven revenue · Missing: supports, reddit linkedin, podcasting
46%46% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
44%44% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
25%25% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: audio · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

A
A browser-based tone generator built with the Web Audio API53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A browser-based tone generator built with the Web Audio API

Hacker News10
Browser based FFUF
Browser based FFUF26%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A simple browser based FFUF Fuzzer Tool

Indie Hackerscommitment-side-project
Web-based Mobile Dialers
Web-based Mobile Dialers36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Call Anywhere with Browser-Based Access

Indie Hackerscommitment-full-time
LumaRender
LumaRender45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

LumaRender is a browser-based generative media engine.

Indie Hackers1advertising
Br
Browser-based digital signage41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Browser-based digital signage

Hacker News7
I
I made a browser-based RTS game51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I made a browser-based RTS game

Hacker News212
qq
qq-pwn – A browser-based idler game42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

qq-pwn – A browser-based idler game

Hacker News4
Br
Browser-based audio extractor tool47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Browser-based audio extractor tool

Hacker News43
St
Strudai, browser based agentic wrapper around Strudel33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Strudai, browser based agentic wrapper around Strudel

Hacker News5
I'
I'm building a browser-based DAW55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I'm building a browser-based DAW

Hacker News179