frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Legato – a Rust audio graph framework with a minimal DSL

https://legato.gg/docs/getting-started
1•lukeweston1234•1h ago
I've been building Legato, a realtime audio graph framework for Rust. The idea is to sit somewhere between PureData/MaxMSP (graph-based, visual routing) and something like JUCE.

The core of it is a minimal runtime and DSL for graph definitions. There are no loops, branching or evaluations. It's purely for wiring nodes together. If you want real logic, you write a custom node in Rust, register it, and drop it into the graph.

This way, you can easily extend the framework with Rust, as opposed to having to learn SuperCollider or CSound.

In addition to adding nodes in Rust, you can compose macros/templates/patches(still unsure which name I like best) of nodes, and then call them like regular nodes:

patch voice(attack = 200.0) { in freq gate audio { sine: mod, sine: carrier, adsr { attack: $attack, ... } }

    freq >> mod.freq
    mod >> carrier.freq
    gate >> adsr.gate
    carrier >> adsr[1]

    { adsr }
}

Patches inline into the same flat allocation, so spawning voice * 5 for polyphony is not too hard on memory layout.

There are better examples in the linked repository. They also "compose", so you can use patch a in patch b, etc.

The primary target right now is hardware — the idea is that you could build a VST, software synth, or groovebox and deploy it on embedded Linux (Raspberry Pi, etc.) using the NixOS images I'm working on (although not necessary).

Currently I am using CPAL to handle cross platform audio APIs.

I'm currently working on a few grooveboxes I will open source, likely in the tracker space.

The license is AGPLv3 with an additional permissions file that waives source disclosure for most creative projects (VSTs, synths, grooveboxes) without DAW/AI functionality.

Still early (no 0.1.0 yet), but the DSL parser, graph executor, midi tools, and a handful of nodes are working, and for myself I am already finding it productive.

Looking for feedback, contributors, and people looking to dogfood the project.

I will likely start posting some video demos on various platforms in the upcoming weeks, as it's at a point where it's actually quite fun to perform with.

Repo: https://github.com/legato-dsp/legato Docs: https://legato.gg

The Large Gilded Coffin of King Tutankhamun

https://egymonuments.gov.eg/news/gilded-coffin-of-king-tutankhamun/
1•brudgers•54s ago•0 comments

Curated collection of A/B test results from best-in-class apps

https://abtest.design/
1•eustoria•1m ago•0 comments

PDE Simulator (the game) – homeoffice viable

https://rogmash.neocities.org/waves
1•rogmash•2m ago•0 comments

Tell HN: GitHub is partially down again

2•croemer•2m ago•0 comments

The Pursuit of Purity (The Right Way to Do AI)

https://marlene.ai/post/ai-pursuit
1•marlene_zw•3m ago•0 comments

I Am Begging You to Read Terry Pratchett

https://www.theatlantic.com/ideas/2026/05/author-terry-pratchett-film/687253/
2•Michelangelo11•4m ago•0 comments

Show HN: Resume Claude Code without replaying your whole session

https://github.com/sofumel/claude-handoff-revive
1•sofumel•4m ago•0 comments

Self-hosted A/B testing in Rust, runs on a $5 VPS

https://easy-experiments.dev/
1•MarkAntipin•4m ago•0 comments

Jomangy: INJ3CTOR3's Self-Healing FreePBX Toll Fraud Campaign

https://cyble.com/blog/jomangy-inj3ctor3s-self-healing-freepbx-toll-fraud-campaign/
1•WeaklingOra•4m ago•0 comments

How Many Solar Panels Would It Take to Equal One Nuclear Reactor?

https://www.bgr.com/2172123/how-many-solar-panel-equal-nuclear-reactor/
1•rustoo•5m ago•0 comments

Show HN: Droast, a Dockerfile linter that stopped being polite

https://ewry.net/droast-dockerfile-linter/
1•immanuwell•7m ago•0 comments

The Megalith Lightning Node

https://megalithic.me/
1•janandonly•7m ago•0 comments

Jensen Huang Just Told Every CEO Hiding Behind AI Layoffs to Shut Up

https://www.thestateofbrand.com/news/jensen-huang-ai-layoffs
3•cdrnsf•8m ago•0 comments

Chrome 148 numeric input bug

https://twitter.com/jaffathecake/status/2059569641609961814
1•keepamovin•10m ago•0 comments

Cost of Electricity by Country 2026

https://worldpopulationreview.com/country-rankings/cost-of-electricity-by-country
2•leonidasrup•11m ago•0 comments

Physics Informed Neural Networks (PINNs): An Intuitive Guide

https://medium.com/data-science/physics-informed-neural-networks-pinns-an-intuitive-guide-fff1380...
1•rramadass•12m ago•1 comments

US data brokers sold Americans' location data to foreign adversaries

https://epic.org/the-33-data-brokers-selling-us-data-to-foreign-actors-according-to-california/
2•Predaxia•12m ago•0 comments

Ripgrep AI Policy

https://github.com/BurntSushi/ripgrep/blob/master/AI_POLICY.md
2•singiamtel•13m ago•0 comments

'Mind-bogglingly crazy': Europe's deadly, early heatwave is smashing records

https://www.yahoo.com/news/weather-news/articles/mind-bogglingly-crazy-europes-deadly-early-heatw...
1•vrganj•13m ago•0 comments

RawBit – Visual Bitcoin raw tx builder

https://rawbit.io
2•rawBit_io•14m ago•1 comments

Want a pi-based domain name? Go long

https://shaungallagher.pressbin.com/blog/pi-domains.html
1•jawns•14m ago•0 comments

Show HN: I made a tool to find invoices in my email and match them to payments

https://billpal.io
1•romanleeb•14m ago•1 comments

SK Hynix joins $1T club after Samsung, Micron on AI chip boom

https://www.reuters.com/world/asia-pacific/sk-hynix-market-capitalisation-tops-1-trln-2026-05-27/
2•akyuu•16m ago•0 comments

ETL CLI – the Swiss army knife you always wanted

https://www.npmjs.com/package/etl-cli
1•zjonsson•17m ago•0 comments

Ask HN: What game have you replayed more times than any other?

1•yashnitro•17m ago•1 comments

Pdf2api – Turn Messy API Doc PDFs into OpenAPI, Postman and SDKs

https://pdf2api.hedvion.com
1•hedvion•20m ago•0 comments

Show HN: ERPC – encrypted, typed RPC over any bidirectional channel

https://github.com/dotexorg/erpc
2•dotexorg•23m ago•0 comments

Atomically precise mechanosynthesis of carbon structures on hydrogenated Silicon

https://arxiv.org/abs/2605.27250
2•gene-h•28m ago•0 comments

Video Quality Evaluation Methodology and Result of AV2 Compression Performance

https://arxiv.org/abs/2605.15800
1•ledoge•29m ago•0 comments

Clanker: A Word for the Machine

https://lucumr.pocoo.org/2026/5/26/clankers/
1•miroljub•30m ago•0 comments