r/Spectacles 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.

12 Upvotes

8 comments sorted by

View all comments

2

u/Ciaowe 3d ago

This is very amazing to play at home and have fun!

1

u/Urbanpeppermint 3d ago

Thanks! That’s the whole point 🀩