react-synth
Components

Track

The root component for React Synth

<Track>

Root component that sets the tempo and provides audio context. All other components must be nested inside a Track.

PropTypeDefaultDescription
bpmnumber—Required. Tempo in beats per minute
childrenReactNode—Child components to render
<Track bpm={120}>{/* Your music components here */}</Track>

On this page