# Audio Lab: Dub Techno Sequencer with Tape Deck Controls

## Brief
Build a browser-native dub techno sequencer that feels like operating a vintage reel-to-reel tape machine crossed with a hardware groovebox. The aesthetic is nocturnal, warm, and tactile—with mechanical reels, analog VU meters, and echo trails that drift into the darkness.

## Core Systems

### Transport & Timing
- 16-step sequencer with per-step velocity and probability
- Tempo control: 60-180 BPM with tap-tempo option
- Swing/shuffle control (0-75%)
- Tape flutter simulation with adjustable wow/flutter depth

### Sound Engine (3 Voices Minimum)
1. **Sub Bass** - Sine/sawtooth hybrid with low-pass filter, tuned kicks
2. **Chord Stabs** - 3-oscillator poly with chord memory (minor 7th, sus4, maj9)
3. **Noise Percussion** - Filtered noise hits, rimshots, and metallic clicks
4. **Space Echo Send** - Dub-style delay with feedback, modulation, and saturation

### Tape Deck Visual Controls
- Animated tape reels that spin with transport state
- VU meter pair showing left/right output levels
- Tape flutter depth knob with visual indicator
- Record/Play/Stop buttons with mechanical button feel
- Tape saturation slider (warm drive to crunchy saturation)

### Sequencer Interface
- 16 step pads with velocity-sensitive LEDs
- Per-step probability (ghost notes) and accent
- Mute/solo per voice
- Pattern save/recall (8 patterns)

### Visual Feedback
- Delay trails visualization as decaying echoes
- Active step indicator flowing across the step grid
- Real-time waveform display for master output
- Warm amber/orange LED aesthetic on dark charcoal background

## Interaction Model
- Large rotary knobs for all continuous parameters
- Square momentary pads for steps and triggers
- Toggle switches for mutes and FX sends
- Touch-friendly targets (minimum 44x44px)
- Keyboard shortcuts: Space (play/pause), 1-8 (patterns), M (mute selected)

## Aesthetic Direction
- Dark charcoal/slate background (#1a1a1f)
- Warm amber indicators (#ff9f43, #ff6b35)
- Tape reel metallic grays with subtle reflections
- CRT-style glow on displays and active elements
- Monospace/stepped typography for readouts

## Audio Requirements
- Web Audio API synthesis (no external samples)
- Dub delay with ping-pong and tape-style degradation
- Sidechain ducking on bass triggered by kick
- Master bus soft saturation and gentle limiting

## Output
Single `index.html` with all HTML, CSS, and JavaScript bundled. No external dependencies.
