mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-12 14:18:31 +00:00
23 lines
390 B
Markdown
23 lines
390 B
Markdown
# @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')
|
|
```
|
|
|
|
## Options
|
|
|
|
```sh
|
|
LOG=1 npx @strudel/sampler # adds logging
|
|
PORT=5555 npx @strudel/sampler # changes port
|
|
```
|