strudel/repl
2022-11-13 14:50:48 +01:00
..
etc add license to those extracted during javascript minification (temporary hack) 2022-05-05 16:45:32 +01:00
public move sample data to json files 2022-10-31 23:58:12 +01:00
src better draw cleanup + began reference tab 2022-11-13 14:50:48 +01:00
.gitignore darken repl background 2022-08-02 23:39:07 +02:00
index.html migrate tutorial 2022-05-14 21:28:10 +02:00
package-lock.json big style update + new log system 2022-11-11 22:46:20 +01:00
package.json better draw cleanup + began reference tab 2022-11-13 14:50:48 +01:00
postcss.config.js redo headers 2022-04-28 14:38:41 +01:00
README.md proper draw cleanup 2022-11-13 13:58:36 +01:00
tailwind.config.js tabbed footer 2022-11-12 17:50:10 +01:00
vite.config.js add sourcemaps 2022-11-10 22:03:34 +01:00

Strudel REPL

This is the REPL for Strudel. REPL stands for

  • Read
  • Evaluate
  • Play!
  • Loop

The REPL is deployed at strudel.tidalcycles.org.

Run REPL locally

# from project root
npm run setup
npm run repl

Build REPL

cd repl
npm run build # <- builds repl + tutorial to ../docs
npm run static # <- test static build

Refactoring Notes

currently broken / buggy:

  • MiniREPL
  • repl log section
  • hideHeader flag
  • pending flag
  • web midi, TODO: test
  • draw / pianoroll
  • repl url hash does not work
  • pause does stop
  • [-] pause then play logs "TOO LATE" and drops some events => now doing full stop
  • random button triggers start
  • unexpected ast format without body expression (kalimba)
  • highlighting seems too late (off by latency ?)
  • highlighting sometimes drops highlights (zeldasRescue first note)
  • highlighting still sometimes drops highlights (zeldasRescue somtimes)
  • highlighting out of range error is back (delete large chunk at the top while highlighting below is triggered)
  • find a way to display errors when console is closed / another tab selected
  • scheduler.getPhase is quantized to clock interval
    • => draw was choppy + that also caused useHighlighting bugs
  • pianoroll keeps rolling when pressing stop