add --json flag to strudel sampler
This commit is contained in:
parent
d81b1ab65c
commit
66aa3ac1da
2 changed files with 28 additions and 8 deletions
|
|
@ -20,3 +20,13 @@ samples('http://localhost:5432')
|
|||
LOG=1 npx @strudel/sampler # adds logging
|
||||
PORT=5555 npx @strudel/sampler # changes port
|
||||
```
|
||||
|
||||
## static json
|
||||
|
||||
when running with `--json`, you will simply get the json logged back:
|
||||
|
||||
```sh
|
||||
npx @strudel/sampler --json > strudel.json
|
||||
```
|
||||
|
||||
this is useful if you want to create a sample pack from the current folder.
|
||||
Loading…
Add table
Add a link
Reference in a new issue