STEM ALAC SUITE / COMPONENT REFERENCE

Simple Player components

Real registered Web Components, live preview, editable properties and documented integration contract. No source audio or codec engine is loaded in this playground.

Back to Simple Player · All mini apps

<stem-mixer-channel>

Mixer channel · Source: components/track-row.js

Live component

Live properties · change to preview

Layout component: <stem-app-panel>

Light-DOM layout wrapper. Preserves native labels and CSS. The host owns content and state.

Demo content

A reusable content region. Try Show / Hide.

APIContract
show() / hide()Toggle hidden.
roleDefaults to region.

Public API

MemberContract
setTrack(track, pref, options)Renders a channel with gain, mute, solo, and optional metadata inputs
refresh(mode)Updates gain/mute/solo presentation using the existing pref object
setDisabled(boolean)Enable or disable its controls
controlsNodeList of controls inside Shadow DOM

Events and callbacks

ActionPayload / ownership
Callbacks: onGain/onMute/onSoloFunctions provided in setTrack options; no custom event
onEdit(field,value)Editor only: invoked on metadata edits

Developer integration

These are native Custom Elements. Import the component module and call its documented setter from the host. The host owns application, playback, file, and editing state unless otherwise stated. Re-render after changing input data when the component does not expose a reactive property.

  

Plain-text API reference for coding agents

Interaction log

Interact with the live component above.