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
bpmnumberRequired. Tempo in beats per minute
childrenReactNodeChild components to render
<Track bpm={120}>{/* Your music components here */}</Track>

On this page