frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Deterministic state machine to sonify trading volatility

1•internintern•1h ago
https://liquidityfm.org

I built this because existing market sonification tools usually just map price to pitch, resulting more noise than music. I wanted a system that translated market sentiment into music that I would actually want to listen to in the background while I work.

THE LOGIC (State Machine)

Instead of raw pitch mapping, I built a deterministic state machine that normalizes live data into 60 distinct audio permutations based on three vectors:

1. Sentiment: Candle color streaks (Doom -> Euphoric)

2. Energy: Momentum/Volatility (Still -> Explosive)

3. Texture: Volume vs 20 MA (Sparse -> Chaotic)

If the market enters a "Doom / Explosive / Chaotic" state, the engine triggers heavy distortion and minor keys. If it flips to "Euphoric / Still," it crossfades into ambient major pads.

THE ENGINEERING

Consensus Engine: Websockets from Kraken, Binance, and OKX to form an aggregated price and filter out "scam wicks". I specifically chose crypto feeds because they offer continuous high-volume stream instead of closing at 4pm but it could really be based on anything.

Audio Pipeline: Two-stage agentic workflow (Generation -> Critique) to create lyrics and style, which are then generated in Suno. To ensure zero latency and to reduce costs, I pre-generated a library of ~500 tracks mapped to the 60 state permutations. The app handles the crossfading between these states in real-time.

Stack: Next.js, CCXT (socket normalization), and Cloudflare R2.

THE "TIME MACHINE"

The part that I actually enjoy the most are the historical playlists. E.g. you can load the FTX crash (https://liquidityfm.org/replay/ftx-collapse-2022) or the Post-Covid rally candle-by-candle to hear what panic or euphoria actually sounds like. I'm also oddly proud of the CRT mode although tbh I rarely run with it.

It is free to use, no signup required. Let me know if you have any questions or suggestions for improvement!

Every GitHub Object Has Two IDs

https://www.greptile.com/blog/github-ids
1•dakshgupta•37s ago•0 comments

Show HN: 26x speedup on BitNet sparse ops with AVX-512 and 2-bit encoding

https://github.com/microsoft/BitNet/pull/365
1•HyperFoldUK•57s ago•0 comments

Nuclear startups are back in vogue with small reactors, and big challenges

https://techcrunch.com/2026/01/11/nuclear-startups-are-back-in-vogue-with-small-reactors-and-big-...
1•rbanffy•2m ago•0 comments

Virtual fireside chat with OllyGarden co-founder and CEO Juraci PaixãO Kröhling

https://chinstrap.community/fireside-chats/juraci-krohling/
1•reedciccio•2m ago•0 comments

Stack Overflow's AI Assist Powered by OpenAI

https://stackoverflow.com/ai-assist
2•Abimelex•3m ago•0 comments

Dilbert Principle

https://en.wikipedia.org/wiki/Dilbert_principle
1•tosh•3m ago•0 comments

What a year of solar and batteries saved us in 2025

https://scotthelme.co.uk/what-a-year-of-solar-and-batteries-really-saved-us-in-2025/
1•MattSayar•3m ago•0 comments

Target's Internal GitHub Repositories Exposed

https://www.bleepingcomputer.com/news/security/targets-dev-server-offline-after-hackers-claim-to-...
1•andiareso•4m ago•0 comments

Show HN: LintPage – Catches SEO issues on staging sites before you deploy

1•orzmar•5m ago•0 comments

Redesign Our Site Identity

https://www.ruby-lang.org/en/news/2025/12/22/redesign-site-identity/
1•amalinovic•5m ago•0 comments

What If Your AI Never Forgot? The Claude 4 Memory Experiment

https://www.gptfrontier.com/what-if-your-ai-never-forgot-the-claude-4-memory-experiment/
1•ssengupta3•5m ago•0 comments

Google Chrome Will Drop macOS Monterey Support with Version 150

https://www.macobserver.com/news/google-chrome-will-drop-macos-monterey-support-with-version-150/
1•bookofjoe•5m ago•0 comments

Stop Gatekeeping Referrals

https://af-dev.com/blog/stop-gatekeeping-referrals
1•_adev•6m ago•0 comments

Best Practices for Coding with Agents

https://cursor.com/blog/agent-best-practices
1•gmays•7m ago•0 comments

Jed Baker's podcast media co acquired by SuperAwesome

https://deadline.com/2026/01/jed-baker-podcast-starglow-media-acquired-superawesome-1236677686/
1•dylancollins•8m ago•0 comments

Southern states hate Leo: 2024 naming trends by state, region, and politics

https://three-things.medium.com/three-southern-states-really-hate-the-name-leo-9c97a093022a
1•murph314•8m ago•0 comments

Worktrunk, autoclaude and AskUserQuestion – Claude Code workflow

https://henryaj.substack.com/p/my-claude-code-workflow
1•henryaj•10m ago•0 comments

Show HN: Meter – web scraping change detection, orchestration & bypass antibot

https://www.meter.sh/
2•hankwilliamsjr•10m ago•0 comments

Elsevier threatens others for linking to Sci-Hub but does so itself

https://eve.gd/2019/08/03/elsevier-threatens-others-for-linking-to-sci-hub-but-does-it-itself/
1•fanf2•11m ago•0 comments

I'm Betting That OpenAI Will Go Broke

https://www.nytimes.com/2026/01/13/opinion/openai-ai-bubble-financing.html
2•oppodeldoc•11m ago•0 comments

You Need a Kitchen Slide Rule

https://entropicthoughts.com/kitchen-slide-rule
2•aebtebeten•12m ago•0 comments

Korean prosecutor seeks death sentence for ex-leader Yoon over martial law

https://apnews.com/article/south-korea-yoon-martial-law-death-sentence-26b90a07c792ec2ba91619cec5...
3•saubeidl•12m ago•0 comments

How to Plan Your 2026 Kubernetes Budget

https://wozz.io/blog/kubernetes-budget-planning-2026
1•wozzio•13m ago•0 comments

Calmness Is a Superpower (2022)

https://stephango.com/calmness
1•Brajeshwar•13m ago•0 comments

Command K Bars

https://maggieappleton.com/command-bar
2•Brajeshwar•13m ago•0 comments

Why do SublimeText, VSCode Ctrl-Shift-P instead of Ctrl-K for the command bar?

https://digitalseams.com/blog/why-do-sublime-text-and-vs-code-use-ctrl-shift-p-for-the-command-bar
3•Brajeshwar•14m ago•0 comments

Inference-Time Constitutional AI

https://github.com/mdiskint/Hearth
1•mdiskint37•14m ago•0 comments

Using a M5AtomS3R to display live bus arrival info

https://puntofisso.net/blog/posts/esp32-tfl/
2•speckx•14m ago•0 comments

I wish rust had keyword arguments

https://github.com/tcdent/kwarg-rs
1•tcdent•15m ago•0 comments

Show HN: Self-host Reddit – 2.38B posts, works offline, yours forever

https://github.com/19-84/redd-archiver
1•19-84•18m ago•0 comments