frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: I trained a 125M model to autocomplete piano on-device

https://simedw.com/2026/08/20/midi-autocomplete/
19•simedw•35m ago
I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15).

The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device.

The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.

Comments

yoouareperfect•13m ago
This is really awesome thanks for sharing
qmmmur•12m ago
What is the goal here?

You have trained a model, presumably on other people's work, to improvise on an initial kernel of musical material. In doing so you:

1) remove the opportunity for one to develop their own skills in extending musical ideas 2) rip off other people's work wholesale 3) remove what is the most rewarding part of music (creating and shaping it through refinement and technique).

kennyadam•9m ago
Is this HN? Aren't people supposed to tinker with tech for no reason other than seeing if they can? Is everything that involves a transformer now just AI BAD? Is that what the world has devolved into? Each side screaming "Orange Man Bad" and endless variations at each other?
evalystai•10m ago
The idea is awesome! :) However there's definitely much room for improvement, first of all rythm and composition (so there's some sense of musical form).
simedw•7m ago
Thank you.

Yes, I think I’ve gotten it to roughly a GPT-2 level: good enough to share, but with a lot of room left to improve. I think adding some kind of bar/measure token might help with rhythm, and perhaps some form of longer-term planning for the overall composition.

isoprophlex•7m ago
Amazing idea! Gonna hook this up to my little synthesizer and blast some square wave arpeggiated ML music!

Don't Paste the AI, please

https://dontpastetheai.com/
586•pjerem•4h ago•281 comments

AliExpress runs silent WebAudio fingerprinting that breaks Bluetooth multipoint

https://blog.laserphile.com/2026/08/aliexpress-webpage-keeping-multipoint.html
182•emctech•2h ago•51 comments

Show HN: I trained a 125M model to autocomplete piano on-device

https://simedw.com/2026/08/20/midi-autocomplete/
20•simedw•35m ago•6 comments

Windows brings out the Rorschach test in everyone (2003)

https://devblogs.microsoft.com/oldnewthing/20030825-00/?p=42803
250•luu•6h ago•94 comments

OpenRouter is joining Stripe

https://openrouter.ai/blog/announcements/openrouter-is-joining-stripe/
889•rvz•19h ago•456 comments

Turns are Better than Radians (2022)

https://www.computerenhance.com/p/turns-are-better-than-radians
248•mayoff•11h ago•127 comments

Proof of Human (YC S23) Is Hiring a Member of Technical Staff

https://www.ycombinator.com/companies/proof-of-human/jobs/ZTZHEbb-member-of-technical-staff
1•timshell•39m ago

Google has stopped pushing Git tags for some Android source code

https://grapheneos.social/@GrapheneOS/117057099753905023
672•Animux•18h ago•260 comments

Go 1.27

https://go.dev/blog/go1.27
688•database64128•18h ago•209 comments

A faster way to calculate the day of the week

https://www.benjoffe.com/fast-day-of-week
192•gavide•3d ago•43 comments

Seeing beyond BMI: Estimating cardiometabolic risk with smartphone imagery

https://research.google/blog/seeing-beyond-bmi-estimating-cardiometabolic-risk-with-smartphone-im...
4•leanderjanssen•1h ago•0 comments

A joke domain purchase turned in geopolitical warfare

https://sprocketfox.io/xssfox/2026/08/19/sondehub-and-war/
942•kareiva•1d ago•150 comments

Manabu Kosaka's Handmade Paper Sculptures

https://coca11272000.wixsite.com/manabukosaka
149•surprisetalk•22h ago•19 comments

Unsloth Dynamic 3.0 GGUFs

https://unsloth.ai/docs/basics/dynamic-3.0-ggufs
294•jonesy827•18h ago•102 comments

Unlocking a locked/deactivated e-waste Cricut Maker

https://sprocketfox.io/xssfox/2026/07/01/cricut-unlock/
229•1e1a•17h ago•56 comments

Casio F-B100W-1A

https://www.casio.com/uk/watches/casio/product.F-B100W-1A/
416•__fst__•21h ago•343 comments

Sol loves to cheat

https://jumploops.com/blog/sol-loves-to-cheat/
190•jumploops•1d ago•146 comments

Geolocating a random island using geometry and CUDA programming

https://yassa9.github.io/osint/gralhix-004/
495•yassa9•1d ago•79 comments

The Chauffeur Problem

https://engines.egr.uh.edu/episode/1495
32•leowoo91•3d ago•15 comments

PostgreSQL for Everything

https://www.raphaelbauer.com:443/posts/postgresql-everything/
395•karlmush•23h ago•234 comments

fx :Tiny, open, native coding agent.

https://fx.sh
292•handfuloflight•1d ago•123 comments

Os8088.com: IBM XT OS now has a Browser, CP/M 2.2 with Z80 core and MS Word 1.1a

https://os8088.com/spotlight/
103•jggonz•15h ago•46 comments

Mathematics in the age of AI

https://arxiv.org/abs/2608.16753
186•jonbaer•21h ago•218 comments

Feature Request: Support AGENTS.md

https://github.com/anthropics/claude-code/issues/6235
302•fg137•15h ago•188 comments

Risk Engineering

https://risk-engineering.org/
3•throwaw12•2h ago•0 comments

Pixel 11 Pro Fold feels like the end of an era

https://www.theverge.com/tech/981956/google-pixel-11-pro-fold-review
79•animalcule•16h ago•207 comments

Filtered Vector Search: What Acorn Fixes, and What Fixes Acorn

https://qdrant.tech/articles/filtered-vector-search-acorn/
4•softwaredoug•4d ago•0 comments

Sectorforth is a 16-bit x86 Forth that fits in a 512-byte boot sector (2020)

https://github.com/cesarblum/sectorforth
40•sigalor•3d ago•11 comments

Browser De-Slop

https://www.sacredheartsc.com/blog/browser-de-slop/
7•cullumsmith•20m ago•1 comments

AI didn't erase the junior engineer's value, it increased it it

https://franciscotrindade.me/blog/the-kids-are-really-alright/
34•franciscomt•57m ago•50 comments