Nicheloom visits: 62,720 all-time · 8,415 in the last 7 days

The opportunity tracker for new startups.

Today: 1,441 launches · Niche of the day: digital marketing agency services · See what launched today →

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

Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.

Want to reach these readers? Sponsor an issue.

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.

HN · launched Aug 20, 2026 · 598 upvotes (top 1%) · 0 views

Niche: ai music generators · 155 launches, 9 in the last 7 days ▼ -36% · Explore this niche →

Category and tags

  • Media & entertainment
  • Content generation
  • Prosumer
  • AI-native
  • Hobby / open-source project

Visit website ↗ Source listing ↗

Could you build this?

No Training a custom 125M-parameter autoregressive transformer on tokenized MIDI sequences, fine-tuning it with DPO, and optimizing it for low-latency on-device Apple Neural Engine (CoreML) inference requires specialized ML research and systems engineering.

What it would actually take: The architecture involves a custom byte/event-level MIDI tokenization scheme (like Remi or MIDI-BERT), training a custom 125M-parameter Transformer model using PyTorch on GPU clusters, and applying Direct Preference Optimization (DPO) to align musical output. For on-device real-time performance (~108 notes/sec), the model must be quantized and converted to Core ML / Metal Performance Shaders with custom low-latency KV-caching. This requires specialized deep learning, music information retrieval (MIR), and mobile hardware optimization expertise.

Discussion

20 comments analyzed.

Competitors mentioned: Ludwig (rule-based system by Fritz chess engine maker), music21, tunesage.com, CRIM, VIS, and humdrum (musical syntax analysis tools)

Concerns raised: Model produces non-idiomatic voice-leading and cadence patterns compared to classical era conventions, Creative collapse tendency - LLMs prefer averages rather than exploration, May struggle with proper phrase structure and harmonic development, Scalability concerns with complex instrumental techniques (bends, vibratos, harmonics) expanding event vocabulary

Feature requests: Web MIDI integration to run in browser, VST or Max 4 Live device implementation, Independent representation of different musical voices/parts, Modeled tie representation to reduce durational vocabulary, Fine-tuning capability on user's own MIDI data

Competitors

Other products that read as similar to this one : 236 launches clear the similarity bar, closest 8 shown.

Attention rank: #2 of 237 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).

Launched 295 days after the earliest competitor.

The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.