strudel/packages/sampler
Felix Roos 1cebfd1835 bump
2024-05-20 22:32:54 +02:00
..
package.json bump 2024-05-20 22:32:54 +02:00
README.md doc: options 2024-03-30 14:39:26 +01:00
sample-server.mjs probably fixes sampler on windows 2024-05-20 22:27:28 +02:00

@strudel/sampler

This package allows you to serve your samples on disk to the strudel REPL.

cd ~/your/samples/ 
npx @strudel/sampler

This will run a server on http://localhost:5432. You can now load the samples via:

samples('http://localhost:5432')

Options

LOG=1 npx @strudel/sampler # adds logging
PORT=5555 npx @strudel/sampler # changes port