🌲 LLM Forest Orchestra — Sonify Transformer Internals

Transform the hidden states and attention patterns of language models into multi-layered musical compositions.

🍄 Inspiration

This project is inspired by the way mushrooms and mycelial networks in forests connect plants and trees, forming a living web of communication and resource sharing. These connections, can be turned into ethereal music. Just as signals move through these hidden connections, transformer models also pass hidden states and attentions across their layers. Here, those hidden connections are translated into music, analogous to the forest's secret orchestra.

Features

  • Two compute modes: Full model (GPU) or Mock latents (CPU-friendly)
  • Multiple musical scales: From pentatonic to chromatic
  • Instrument presets: Orchestral, electronic, ensemble, and more
  • Advanced controls: Dynamics curves, quantization, velocity ranges
  • Export: Standard MIDI files for further editing in your DAW
Compute Mode

Mock latents for quick CPU-only demo

Instrument Preset
Musical Scale
120 960
1 6
1 126
2 127

🎧 How to Play

  1. Download the MIDI file
  2. Open in any DAW or MIDI player
  3. Adjust instruments and effects as desired
  4. Export to audio format