STEM ALAC SUITE / COMPONENT REFERENCE

Mobile DAW 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 Mobile DAW · All mini apps

<stem-daw-track>

Timeline track · Source: components/track-lane.js

Live component

Live properties · change to preview

Public API

MemberContract
stem-daw-track.configure(track,pref,{pixelsPerSecond,duration,selected})Render lane controls and timeline; owner supplies per-track preferences
stem-daw-track.setPeaks(Float32Array)Draw waveform peak data supplied by host
stem-daw-track.setPlayhead(seconds)Position track playhead
stem-daw-track.update(pref,selected)Refresh presentation
stem-insert-chain.configure(effects,library)Render selected effects and available library catalog
stem-insert-chain.render()Refresh after state changes

Events and callbacks

ActionPayload / ownership
track-actiondetail: {action,id,...} select/mute/solo/seek/scroll
insert-actiondetail: {action,id,param,value} add/remove/up/down/bypass/param

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.