proper sample server

This commit is contained in:
Felix Roos 2024-03-30 03:25:42 +01:00
parent bd9a80827e
commit 95e0496d51
4 changed files with 205 additions and 39 deletions

View file

@ -0,0 +1,15 @@
# @strudel/sampler
This package allows you to serve your samples on disk to the strudel REPL.
```sh
cd ~/your/samples/
npx @strudel/sampler
```
This will run a server on `http://localhost:5432`.
You can now load the samples via:
```js
samples('http://localhost:5432')
```