AI Music Model That Runs in Real Time on Most CPUs, Locally in the Browser A developer built NanoMaestro Realtime, a 50MB AI music model with 13M parameters that generates piano music in real time on CPU in the browser, using ONNX and Transformers.js. The model runs on older Raspberry Pi models and requires no GPU or server backend, enabling creative and educational applications. I built NanoMaestro Realtime, a small AI music model designed for real-time piano music generation on CPU directly in the browser. It is around 50MB with about 13M parameters, exported as an ONNX model and run locally using Transformers.js with WASM, so it does not require a GPU, server backend, or heavy setup. Webdemo HF spaces https://huggingface.co/spaces/utkucoban/NanoMaestro-Realtime The model itself is a compact 2-layer LSTM with a 1024-dimensional hidden state. It continuously generates piano events in real time, It is so lightweight that it can run real-time on older Raspberry Pi models. Model https://huggingface.co/utkucoban/NanoMaestro-Realtime Impressive work Running real-time piano generation entirely in the browser on CPU is a great achievement. The small model size and Raspberry Pi compatibility make it especially interesting for creative and educational applications. I’d love to hear more about the training process and how well it maintains musical coherence over longer performances. Thanks for sharing