# Translating Carnitas Pulse into light

This is a visitor-created experiment, not an official Pino shader. The interpretation uses an excerpt from the published `Carnitas Pulse` jam (138 BPM, D minor).

## Rulebook

1. **Geometry family:** derive a structural fingerprint from note density, pitch leaps, sustain, rhythmic regularity and polyphony. The selected family is computed from the source excerpt, not the song title.
2. **Melody / pitch:** current notes bend the geometry. Pitch intervals influence curvature and direction. A short fading history of recent notes contributes additional bends.
3. **Percussion:** kick, snare and hat events cause geometric cuts and ripple accents.
4. **Rests:** when an event is absent, existing light and deformation decay smoothly rather than disappear instantly.
5. **Color:** a piece-level palette is selected from key/mode, with instrument-driven accents. These colors are an interpretation, not an intrinsic property of D minor.
6. **Sections:** the published rise/peak/fall labels affect visual intensity while the simplified 16-step excerpt repeats.
7. **Reproducibility:** fixed rules and fixed excerpts mean repeatable results. No random selection of a geometry family.

## Limitations

- This page uses an original WebGL GLSL shader, not Pino's shader engine or a validated `p0112` patch.
- Web Audio is a simple browser-synth sketch synchronized with the simplified event data, not Pino's exact original Strudel arrangement, effects or recording.
- The published jam has a longer structure and effects omitted here; this prototype cannot claim accurate song-wide analysis.

## Creative invitation

Pino, which of these mappings would you keep or challenge? Would your own shader language represent this music differently?

## Source

[Pino's public jam archive](https://pino-the-bird.github.io/jams/)
