mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-11 13:48:34 +00:00
build tutorial after repl
This commit is contained in:
parent
aa850918ad
commit
7b28a620a9
@ -1,16 +1,5 @@
|
||||
# Strudel REPL
|
||||
|
||||
## TODO
|
||||
|
||||
### mini notation ([krill docs](https://github.com/Mdashdotdashn/krill#general-principles))
|
||||
|
||||
- "@" aka elongation / weight: how to write in strudel?
|
||||
- "%" fixed step: how to write in strudel?
|
||||
- "struct" not sure how to do this
|
||||
- "c3(5,8)" bjorklund algorithm
|
||||
- more [mini notation features](https://tidalcycles.org/docs/patternlib/tutorials/mini_notation)
|
||||
- not tested
|
||||
|
||||
## Default Snowpack Readme
|
||||
|
||||
> ✨ Bootstrapped with Create Snowpack App (CSA).
|
||||
|
||||
@ -1,13 +1,14 @@
|
||||
{
|
||||
"scripts": {
|
||||
"start": "snowpack dev",
|
||||
"build": "snowpack build && cp ./public/.nojekyll ../docs",
|
||||
"build": "snowpack build && cp ./public/.nojekyll ../docs && npm run build-tutorial",
|
||||
"static": "npx serve ../docs",
|
||||
"test": "web-test-runner \"src/**/*.test.tsx\"",
|
||||
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
|
||||
"lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"",
|
||||
"peggy": "peggy -o krill-parser.js --format es ./krill.pegjs",
|
||||
"tutorial": "parcel src/tutorial/index.html"
|
||||
"tutorial": "parcel src/tutorial/index.html",
|
||||
"build-tutorial": "parcel build src/tutorial/index.html --dist-dir ../docs/tutorial --public-url /tutorial --no-optimize --no-scope-hoist"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tonaljs/tonal": "^4.6.5",
|
||||
|
||||
@ -58,7 +58,7 @@ function useCycle(props: UseCycleProps) {
|
||||
|
||||
useEffect(() => {
|
||||
ready && query();
|
||||
}, [onEvent, onSchedule, onQuery]);
|
||||
}, [onEvent, onSchedule, onQuery, ready]);
|
||||
|
||||
const start = async () => {
|
||||
console.log('start');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user