Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Session Mixer

ProNew

A mixing desk: a strip per channel with a fader, a level meter, and mute, solo and record-arm, where soloing one channel silences the rest.

Installation

pnpm dlx shadcn@latest add @viewport/session-mixer

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
channels*MixerChannel[]—
onChannelChange*(id: string, patch: Partial<MixerChannel>) => void—
playingboolean

The session is playing, so the meters move.

false
labelstring

Accessible name.

"Mixer"
classNamestring—

Accessibility

  • Each strip is a group named with its channel; every control includes the channel's name.
  • Faders are vertical sliders with arrow-key steps.
  • Mute, solo and arm report their pressed state.
  • Meters move only while playing and when motion is allowed.