Designing Audio & Visual Interfaces
Designing Audio & Visual App Interfaces
When given a UI request, produce this immediately:
- Context line: user, environment, session length (e.g., "Producer, dark studio, 6-hr sessions, mouse + MIDI controller")
- Layout skeleton (ASCII or structured spec) showing zones and hierarchy
- Control inventory with type, range, scale, default, and units
- Visual spec: color tokens, type scale, spacing grid, state styles
- Interaction spec: drag behavior, modifiers, double-click reset, MIDI learn, undo
Minimal skeleton example (compressor plugin):
┌─────────────────────────────────────────────────────┐
│ PRESET ▾ A/B ↶ ↷ IN ▮▮▮▯ OUT │ ← header 40px
├──────────────────────────┬──────────────────────────┤
│ GAIN REDUCTION METER │ TRANSFER CURVE (live) │ ← hero: 60% height
│ + input/output history │ draggable threshold pt │
├──────────────────────────┴──────────────────────────┤
│ THRESH RATIO ATTACK RELEASE KNEE MAKEUP │ ← primary controls
│ (●) (●) (●) (●) (●) (●) │
├─────────────────────────────────────────────────────┤
│ SIDECHAIN HPF ▢ MIX ───●── AUTO-GAIN ▢ BYPASS ◉ │ ← secondary
└─────────────────────────────────────────────────────┘
Progress:
- [ ] 1. Define user, context, and primary task (what is done 90% of the time?)
- [ ] 2. Establish the hero element (what must be visible at all times?)
- [ ] 3. Map signal/data flow to spatial layout (left→right or top→bottom = flow direction)
- [ ] 4. Inventory controls; assign control type, taper, range, units
- [ ] 5. Define visual system (color, type, spacing, depth, motion)
- [ ] 6. Specify all states (default, hover, active, disabled, automated, armed, error)
- [ ] 7. Specify interaction details (fine control, reset, MIDI learn, keyboard)
- [ ] 8. Design feedback (meters, scopes, readouts) with refresh/latency budget
- [ ] 9. Stress test: tiny size, huge size, high DPI, color-blind, dim room, touch
- [ ] 10. Deliver spec with tokens, dimensions, and rationale
Step 1-3: Structure
- Hero principle: One element owns 40-60% of visual area (waveform, spectrum, timeline, preview monitor, node canvas). Everything else supports it.
- Flow principle: Layout mirrors signal path. Input left, output right. Source top, master bottom.
- Frequency-of-use zoning: Constant-use controls within thumb/cursor reach; rare settings behind a disclosure (tab, drawer, ⚙).
- Group by function, not by type. "Envelope" group holds ADSR knobs plus its graph, not all knobs together.
Step 4: Control Selection
| Parameter type | Control | Notes |
|---|---|---|
| Continuous, single value | Rotary knob | Compact; 48-64px; show value on hover/drag |
| Continuous, needs precision/comparison | Vertical fader or horizontal slider | Faders for levels; sliders for mix/pan |
| 2D relationship | XY pad or draggable graph point | Filter cutoff/res, pan/depth |
| Shape-defining | Direct-manipulation graph | Envelopes, EQ curves, LFO shapes |
| Discrete choices (≤5) | Segmented button | Always-visible beats dropdown |
| Discrete choices (>5) | Dropdown with prev/next arrows | Include search if >20 |
| Binary | Toggle with LED state | Never ambiguous on/off; use color + position/fill |
| Momentary | Push button | Visual press depth |
| Time/pitch values | Numeric field with drag-scrub | Support typing, units, and tempo sync |
Tapers: Frequency = logarithmic. Gain = dB (fine near 0, coarse at extremes). Time (attack/release) = exponential. Pan = linear with center detent. Never use a linear taper for frequency.
Step 5: Visual System
Color tokens (dark theme default):
--bg-0: #0E0F12 /* app background */
--bg-1: #16181D /* panels */
--bg-2: #1F222A /* raised controls */
--stroke: #2C303A /* dividers, borders */
--text-hi: #E8EAF0
--text-mid: #9AA0AE
--text-lo: #5C6272
--accent: #4DA3FF /* primary action / selection */
--signal-ok: #3DDC84 /* meter green */
--signal-warn: #FFC83D /* meter yellow */
--signal-clip: #FF4D5E /* meter red / error / record */
--automation: #B26BFF /* automated params */
Rules:
- Max 1 accent color + semantic signal colors. Color means something; never decorative.
- Meter colors are universal: green → yellow → red. Don't reinvent.
- Contrast: text ≥ 4.5:1; controls and indicators ≥ 3:1 against background.
- Never rely on color alone: pair with shape, position, or label (color-blind safety).
- Dark UIs: avoid pure black (#000) and pure white (#FFF); reduces eye strain and halation.
Typography:
- UI labels: geometric/grotesque sans, 10-12px, uppercase with +4-8% tracking for control labels
- Numeric readouts: tabular/monospaced figures (prevents jitter while values change), 11-13px
- Minimum legible size: 10px at 1x; test on non-retina
- Max 2 weights per screen
Spacing: 4px base grid. Control spacing in multiples of 8. Group gap > intra-group gap by 2x (proximity creates grouping).
Depth & material: Choose one language and stay consistent:
- Flat/modern: fills + 1px strokes, no gradients (best for software-native tools)
- Skeuomorphic/hardware: gradients, bevels, textures (use for emulations; keep value indicators crisp)
- Neon/generative: glows, only on active signal, never on chrome
Step 6: States (all required)
Default · Hover · Focus (keyboard ring) · Active/dragging · Disabled (40% opacity, no hover) · Automated (accent-automation color) · Armed/recording (red) · Modulated (show modulation range ring) · Error/clipping · Loading
Step 7: Interaction Details
- Drag: Vertical drag for knobs (not circular; circular is imprecise).
- Fine control: Shift = 10x finer. Ctrl/Cmd = snap to detent/grid.
- Reset: Double-click (or Alt-click) returns to default. Non-negotiable.
- Value entry: Double-click on readout or right-click → type value.
- Scroll wheel: Adjusts with sensible step; require focus/hover to avoid accidental changes.
- MIDI learn: Right-click → Learn; show mapped state visually.
- Undo/redo: Every parameter change; group continuous drags into a single undo step.
- Cursor: Hide cursor during knob drag (infinite range) or use pointer lock.
- Hit targets: ≥ 24px mouse, ≥ 44px touch, even if visual is smaller.
- Latency budget: Control → visual feedback < 16ms; meters refresh at 30-60fps; audio-affecting changes smoothed (5-20ms ramp) to avoid zipper noise.
Step 8: Feedback & Visualization
- Meters: Peak with ~1.5s hold + RMS/LUFS bed; ballistic motion (fast attack, slow release ~300ms); scale marked in dB with 0 dBFS clearly distinguished; clip indicator latches until clicked.
- Waveforms: Min/max envelope per pixel column at zoom-out; sample-accurate lines at zoom-in; show playhead, loop region, selection distinctly.
- Spectrum: Log frequency axis, 1/3-octave or smoothed; dB range 60-90; optional peak-hold; pre/post overlay in contrasting tones.
- Timelines: Zoom anchors at cursor; snap grid visible but subtle; playhead is the brightest vertical element.
- Video/visual preview: Preview is the hero; chrome recedes. Neutral gray surround (#18181B-ish) to avoid color bias in grading contexts.
- Node graphs: Left→right flow; color-code ports by data type; curved or orthogonal wires (choose one); show live data on wires if cheap.
Step 9: Stress Tests
- Resizable? Define min size, scaling mode (vector scale vs. reflow) and test 50%-200%
- Test in a dark room at low brightness and in daylight
- Simulate protanopia/deuteranopia
- 100+ tracks / 10,000 nodes: does the layout survive density? (virtualize, collapse, minimap)
- Touch/pen: are drag targets large enough? Is there a gesture alternative to modifier keys?
Example 1: Input: "Design a UI for a wavetable synth plugin." Output:
- Hero: 3D wavetable display (40%) with draggable position line
- Layout: Osc A/B at top (wavetable + position/warp knobs), Filter + Env center, Mod matrix/LFOs bottom, Macro knobs on right edge
- Signal-flow: Osc → Filter → Amp → FX flows left to right, connected by faint lines
- Controls: Cutoff = log knob with live filter curve overlay; ADSR = draggable envelope graph, not four disconnected knobs; mod sources drag onto any parameter (drop target highlight in
--automation), modulated params show a colored range ring - Details: Preset browser slides from left; oscilloscope in header; every knob double-click resets; MIDI learn via right-click
Example 2: Input: "Mobile VJ app for live visuals, used in dark clubs with one hand." Output:
- Context: Phone, portrait, one thumb, ambient light near zero, distracted user
- Layout: Preview top 35%; bottom 65% is a 4x4 clip-trigger grid (thumb zone); effects as 3 large XY pads + 1 master fader on right edge
- Visual: Max brightness 60%, OLED black bg, high-contrast saturated clip colors, no text smaller than 14px, clip names as 1-line truncated labels with thumbnail
- Interaction: Tap = trigger; long-press = options; haptic on beat; swipe up on pad = lock effect; BPM tap in top corner; no menus during performance mode
- Safety: Accidental-touch guard (lock toggle), big "PANIC/Blackout" button
Example 3: Input: "Redesign this mixer channel strip: it feels cluttered." Output:
- Audit: list all ~25 controls; classify as constant (fader, mute, solo, meter), frequent (pan, sends), occasional (EQ, comp), rare (phase, routing)
- Keep constant + frequent visible; collapse EQ/comp to a mini-curve thumbnail that expands in place
- Increase meter height 2x; make fader the largest target
- Reduce label noise: icons for M/S/R, text only for track name
- Color the strip header with track color; everything else neutral
- Spacing: 8px intra-group, 16px inter-group
- Direct manipulation over abstract controls. Drag the EQ curve point, not a frequency knob + gain knob (offer both if needed).
- Show, don't just tell. Every filter, envelope, and compressor should visualize its effect live.
- Progressive disclosure. Beginners see 8 controls; experts expand to 40. Never remove depth, just stage it.
- Consistency across plugins/modules: same knob behavior, same color meaning, same shortcuts.
- Value readout on interaction. Show exact number while dragging near the cursor.
- Respect the ears/eyes hierarchy: the UI must never compete with the content (audio/video) for attention. Chrome recedes; signal pops.
- Design for sessions: low-fatigue palette, no flashing, no gratuitous animation, motion only to communicate state.
- Performance is UX: GPU-accelerate visualizers, decouple UI thread from audio thread, throttle repaints to dirty regions.
- Accessibility: keyboard-operable controls, screen-reader labels with value + unit, scalable UI, optional high-contrast theme.
- ❌ Skeuomorphic excess: rivets, fake screws, and photoreal textures that cost pixels and add no function
- ❌ Circular drag gestures for knobs (imprecise; use vertical drag)
- ❌ Linear frequency axes or tapers (frequency and time are logarithmic/exponential)
- ❌ Tiny, low-contrast labels in dark UIs (gray-on-gray at 8px)
- ❌ Color as the only differentiator (fails for ~8% of men)
- ❌ Everything the same visual weight: no hero, no hierarchy, user's eye has nowhere to land
- ❌ Hidden destructive actions with no undo
- ❌ Zipper noise / UI jank: unsmoothed parameter changes, dropped meter frames
- ❌ Mystery meters: no scale, no units, no clip latch
- ❌ Modal dialogs during performance or recording
- ❌ Bypass/power state that's ambiguous (is lit = on or lit = bypassed?). Label clearly, test with strangers.
- ❌ Decorative animation that distracts from the signal being monitored
- ❌ Designing only for the mouse: ignoring MIDI controllers, touch, pen, and keyboard workflows
When delivering a full design, include:
1. Context & goals (3 lines)
2. Layout wireframe (ASCII/structured) with dimensions
3. Control inventory table (name | type | range | taper | default | unit)
4. Design tokens (color, type, spacing, radii, motion durations)
5. State matrix for key components
6. Interaction spec (gestures, modifiers, shortcuts, MIDI, undo)
7. Visualization spec (meters/scopes: scale, refresh, ballistics)
8. Responsive/scaling rules
9. Accessibility notes
10. Rationale: 3-5 bullets on the key design decisions and tradeoffs
For large systems (full DAW, node-based editor), split into separate documents: design system, component library, and per-view specs.