mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-25 04:28:30 +00:00
build tutorial after repl
This commit is contained in:
parent
aa850918ad
commit
7b28a620a9
@ -1,16 +1,5 @@
|
|||||||
# Strudel REPL
|
# 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
|
## Default Snowpack Readme
|
||||||
|
|
||||||
> ✨ Bootstrapped with Create Snowpack App (CSA).
|
> ✨ Bootstrapped with Create Snowpack App (CSA).
|
||||||
|
|||||||
@ -1,13 +1,14 @@
|
|||||||
{
|
{
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "snowpack dev",
|
"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",
|
"static": "npx serve ../docs",
|
||||||
"test": "web-test-runner \"src/**/*.test.tsx\"",
|
"test": "web-test-runner \"src/**/*.test.tsx\"",
|
||||||
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
|
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
|
||||||
"lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"",
|
"lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"",
|
||||||
"peggy": "peggy -o krill-parser.js --format es ./krill.pegjs",
|
"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": {
|
"dependencies": {
|
||||||
"@tonaljs/tonal": "^4.6.5",
|
"@tonaljs/tonal": "^4.6.5",
|
||||||
|
|||||||
@ -58,7 +58,7 @@ function useCycle(props: UseCycleProps) {
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
ready && query();
|
ready && query();
|
||||||
}, [onEvent, onSchedule, onQuery]);
|
}, [onEvent, onSchedule, onQuery, ready]);
|
||||||
|
|
||||||
const start = async () => {
|
const start = async () => {
|
||||||
console.log('start');
|
console.log('start');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user