RSKreact-strudel-kit

Make music with React.

A typed toolkit for Strudel. Compose patterns in TypeScript, connect your own controls, and hear your React app come alive.

npm install react-strudel-kit

A little code.
A whole groove.

This is the kit playing. Pick a style, press Play and hear how the parts fit together.

Lo-fi session

Soft keys, a warm bass line and laid-back drums.

Ready
Explore this arrangement
export const lofiLoop = chain(
  fn('stack', lazyDrums, jazzyChords, roundBass),
  fn('postGain', 0.85),
  fn('cpm', 20),
)

Typed patterns in. Music out. Switch to Strudel output to see exactly what is playing, including the listening level.

The arrangement reuses the sounds in the cookbook. Open it to explore every part.

Your next
musical idea.

Learn a little, listen a lot. Everything you need is together in Docs.

Explore all documentation

Learn the language

Start with a note. Build a beat, add a bass line and bring the parts together.

Start the lessons

Before you press Play.

How does this relate to Strudel?

Strudel supplies the pattern engine and audio scheduler. This kit adds typed composition helpers and a React playback hook. It does not replace the engine.

What do I need to use it?

React 18 or later, an ESM-capable bundler, and a browser with Web Audio. Use useStrudel in a browser/client component. Audio starts when you press Play.

Can I use my own interface?

Yes. Compose typed patterns, then connect play, update and stop to your own components. The API reference explains the playback contract.

Is it open source?

Yes, under AGPL-3.0-or-later. Read the license and Strudel’s integration guidance for the terms.