frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

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

https://simedw.com/2026/08/20/midi-autocomplete/
96•simedw•1h ago•28 comments

Show HN: Streambench – Native Mac Client for Kafka and NATS

https://streambench.app
7•valentinprgnd•5d ago•1 comments

Show HN: evepad – The missing IDE for building eve agents

https://github.com/andrewckor/evepad
4•ckor•24m ago•1 comments

Show HN: Find every AI model your code calls and warn before it's retired

https://llmstatus.ai
4•taylorgt•35m ago•1 comments

Show HN: FindHost – hosting provider database with no affiliate links

https://www.findhost.app/
4•esher•36m ago•2 comments

Show HN: Open-source tool turning company knowledge into Duolingo-like courses

https://www.scibly.com/de/
3•Niclas63•37m ago•0 comments

Show HN: Markdown Buddy – Native macOS Markdown Editor with Quick Look and Xcode

https://markdownbuddy.inawa.app/
2•JanParis•40m ago•0 comments

Show HN: testmagic.link – Zero-setup magic link testing for coding agents

https://testmagic.link
3•lobovkin•40m ago•0 comments

Show HN: Sitmap – a World in Conflict inspired map maker for Cold War scenarios

https://tomaytotomato.github.io/sitmap/
3•tomaytotomato•48m ago•3 comments

Show HN: Sentrint, a security scanner for projects build with LLMs

https://sentrint.com/
3•Gourabdg•1h ago•2 comments

Show HN: Built my 15-year-old game idea

5•ashitlerferad•2h ago•1 comments

Show HN: Your all-in-one text engine – zero dependencies

https://dg.calia.cc/
4•silly-tae•2h ago•0 comments

Show HN: Ez – a macOS command runner that flags when a command gets slower

https://github.com/urtti/ez
4•frankbyte•2h ago•0 comments

Show HN: Automatically detect and patch walking-dead states in Sierra games

https://github.com/katiahayati/lucasartsifier/
153•wkfauna•1d ago•95 comments

Show HN: Simple Screenshot Copy – screenshots straight to the clipboard

https://chromewebstore.google.com/detail/simple-screenshot-copy/ohogcihmpepnngapffflfeplfdhcjioe
5•ringlochid•1h ago•0 comments

Show HN: Frugal Tokens – explore costs and usage across coding agents

https://demo.frugaltokens.com/
36•dpc94•20h ago•10 comments

Show HN: Interactive, animated architecture of any HuggingFace models

https://modelmap.cc
111•lizhaoliu•1d ago•12 comments

Show HN: Nikon F100 Film Camera Repair Notes

https://github.com/enthdegree/f100
48•enthdegree•5d ago•24 comments

Show HN: Saggar, a Mac terminal that keeps sessions and your attention organized

https://saggar.marginalutility.dev/
67•mcclowes•2d ago•59 comments

Show HN: Openleetcode – Local LeetCode runner where tests live in the repo

https://github.com/therepanic/openleetcode
71•therepanic•1d ago•19 comments

Show HN: Linux and iPhone Continuity (iMessage / SMS)

https://github.com/zackb/tether
9•zackb•8h ago•2 comments

Show HN: Desktopcolors.com – A museum for solid background colors of classic OS

https://desktopcolors.com
166•vlowrian•3d ago•73 comments

Show HN: Anonymous age verification with passkey-powered encryption

https://loginwithone.com/
14•mikeysight•1d ago•6 comments

Show HN: terminal-code – VS Code inside the terminal

https://terminal-code.com
8•robpruzan•20h ago•2 comments

Show HN: Mail client optimized for self-hosted email across multiple domains

https://mainly.crnst8.com/
5•flowerpil•11h ago•1 comments

Show HN: macOS data protection keychain for Electron apps

https://github.com/biw/keychain-store
24•biwills•1d ago•3 comments

Show HN: Hack Club Folktale: Learn Python, Make a Game, Get Free Stickers

https://folktale.hackclub.com/
5•breynard•15h ago•1 comments

Show HN: A new way to read books, magnifying in and out

https://book.curiora.space/
7•pentagram•15h ago•5 comments

Show HN: Shoehorn – Quantize any model down to run on your machine

https://notactuallytreyanastasio.github.io/shoehorn/
46•rhgraysonii•1d ago•9 comments

Show HN: Sokoban AI Solver

https://mkornreich.me/projects/sokoban/
72•enjoyyourlife•3d ago•42 comments
Open in hackernews

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

https://simedw.com/2026/08/20/midi-autocomplete/
93•simedw•1h 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•1h ago
This is really awesome thanks for sharing
evalystai•1h 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•1h 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•1h ago
Amazing idea! Gonna hook this up to my little synthesizer and blast some square wave arpeggiated ML music!
heikkilevanto•32m ago
I would love something like that, except that I play the melody, and it produces proper 3-4 part accompaniment, preferably in good baroque style. Extra bonus if it could also write it into a file in a format suitable for music editing programs.
morkalork•25m ago
That's a fun idea. You could start playing the piano and it kicks in with a base and drums for a jazz band.
subhajeet2107•26m ago
This is so amazing, can you improve the quality of generation at the cost of notes per seconds ? No one can play 108 notes/sec anyways, maybe you can train the model to do CoT for better quality
devonsolomon•22m ago
This is really fun. Scaler 3 starts with a chord progression and lets you break it down into musical performances and parts. Useful for ideation when producing.

Would be fun to get a midi clock going and play some chords on my piano and have my synth start jamming along with the bass and my keyboard doing some performance. Or any combination of the above.

mh-•14m ago
+1 all of this. That would be incredible (this already seems very cool - excited to get home and try it!)
pil0u•20m ago
Even after a few years deep into AI, I find your application absolutely magic. This is very inspiring, thank you for sharing.
timmb•17m ago
Reminds me of Francois Pachet’s Continuator (all the way back in 2003, using hierarchical markov models)

https://www.francoispachet.fr/continuator/

leobg•16m ago
I don’t have MIDI. How about whistling or playing the piano via microphone? Sounds easy. Another 6 month rabbit hole? :)
goda90•14m ago
Reminds me of this project to generate every melody possible algorithmically in order to fight music copyright lawsuits. https://allthemusic.info/
jwr•13m ago
> Eventually I used Gemini 3.5 Flash for pairwise evaluation

But, but… wouldn't that be… (gasp) DISTILLATION?

Fun project!

ramesh31•13m ago
But does it work, or does it just output mush after a few seconds? Current SOTA in this domain is https://github.com/EleutherAI/aria a Llama 3.2 based 1B model trained on https://github.com/bytedance/GiantMIDI-Piano which will trivially run on an iPhone these days. It's results are... pretty much useless too.
davidajackson•10m ago
How would you expand this to support elements like attack ("velocity of the key-down" in piano speak), grace notes, timing etc. Would each of those be part of this model or another model? How would you model an arbitrary element (pedal, duration, etc...)