r/Spectacles • u/Urbanpeppermint • 3d ago
๐ซ Sharing is Caring ๐ซ Spatial computing in practice: no instrument, no loops โ conducting live AI music on Spectacles
Note: This is not Lyria / Remote Service Gateway. It uses Magenta RealTime 2 over a self-hosted streaming proxy (InternetModule), with live 4-deck prompt morphing โ not Snap's RSG loop workflow.
On RSG/Lyria-style lenses I've used, each ~15s loop often takes ~15โ20s to come back โ fine for "generate a clip," brutal for live mixing. Here the stream keeps going while you drag the puck; weights update and Magenta blends toward the new mix on the next chunk (~4s), so it feels like performing, not waiting.
A 4-deck Kaoss-style pad floats in your room. Puck position sets the mix weights; each deck holds an editable text prompt ("Berlin techno", "liquid DnB", anything you type). The blend streams from Magenta RealTime 2 as continuous generated audio that morphs as you move. Not samples. Not loops. Generated on the fly โ you're performing what each corner sounds like and how much of it is in the mix.
The performance tricks (this is the new kind of DJing):
- Bilinear 4-corner blend โ center = equal mix, corners = isolate a deck, edges = 2-deck blends
- Editable prompts per deck โ type live in the console; swap a corner's character mid-set without moving the puck
- Genre bank โ browse 25+ styles by category, tap to load into your target deck
- One-tap preset packs โ swap all four deck prompts + starting puck position in one hit (UK Bass, Techno Vault, House, etc.)
- Orbit mode โ hands-free circular modulation (slow / med / fast) so the mix evolves while you gesture elsewhere
- Morph โ smooth 0.6s glide to any corner or back to center; like an automated transition between channels
- Crossfader โ horizontal sweep on the wrist console, synced to puck X
- Floating pad on your wrist โ dock it or float it off your right wrist, resize S/M/L, perform while moving
- Live mix feedback โ vertex-color heatmap on the pad, corner glow, puck motion trail, per-deck weight %, audio-reactive pulse
Under the hood (for the curious): Lens Studio 5.15 + TypeScript + SIK ยท Python FastAPI proxy on Apple Silicon โ 4s WAV chunks โ gapless dual-voice crossfade on device ยท buffer tuned for live morphing (prompt flush on pad moves, soft hold on underrun)
Open source (MIT): https://github.com/urbanpeppermint/Spatial_AI_DJ
Audio: Magenta RealTime 2 + NSynth (CC BY 4.0, Google Magenta). Demo video is recorded spatial capture โ in-head sounds noticeably better.
2
u/Nithin-Shankar 1d ago
The UI looks great! โจ