Commit Graph

1869 Commits

Author SHA1 Message Date
Felix Roos d3a17891f8 move rollup plugin to dev dependencies 2024-03-20 17:11:35 +01:00
Alex McLean 29cb6195b3 Fix pure mini highlight (#994)
* preserve locations for pure values via mininotation

* preserve weight
2024-03-18 10:37:55 +00:00
Felix Roos 95446a76ef breakout widgets package for now 2024-03-17 12:22:24 +01:00
Felix Roos b5312c27dc move stuff for less changes 2024-03-17 04:36:48 +01:00
Felix Roos 4319c43ceb comment out _spiral for now 2024-03-17 04:31:30 +01:00
Felix Roos be77882d70 rename inline functions to match global ones, prefixed with _ 2024-03-17 04:15:59 +01:00
Felix Roos 076b6f1c82 move canvas functions to codemirror package
+ fix id collisions
2024-03-17 04:00:28 +01:00
Felix Roos 0978fbb15e Merge branch 'labeled-statements' into claviature 2024-03-17 03:19:40 +01:00
Felix Roos 2de18846b0 add comment 2024-03-17 03:17:47 +01:00
Felix Roos a71a167133 fix: enable locations again 2024-03-17 03:16:17 +01:00
Felix Roos 6359bbe139 transpile label statements to p calls 2024-03-17 03:14:05 +01:00
Felix Roos d1c713fa29 make labeled statements look good on custom themes 2024-03-17 02:29:48 +01:00
Felix Roos 16506c5ae2 improve scope memory footprint 2024-03-17 01:58:30 +01:00
Alex McLean 398533877c Beat-oriented functionality (#976)
* annotate pure values with their value, allowing single mininotation values to maintain their labels as pure
* Don't use any 'patternified' arguments if they're all 'pure'
* allow pattern weights (roughly, beats-per-cycle) to be inferred where possible, including from mininotation and across many transformations (e.g. `fast` with a 'pure' factor)
* Add `beatCat`, similar to `timeCat` but funkier
* `silence` has a weight of 1, add alternative `nothing` with a weight of 0, and `gap` function with weight argument
* preserve weight across applicative operations (weight comes with the structure)
* add `stack` alternatives that take advantage of pattern weights to align patterns differently - `stackLeft`, `stackRight`, `stackCentre`, `stackExpand`, with `stackBy` with an argument for patterning the alignment.
2024-03-16 17:24:37 +00:00
Felix Roos cdc200e1da draw straight line when no analyser is defined yet
+ add todo for memory leak
2024-03-16 03:12:00 +01:00
Felix Roos dd78dc9606 fix: animation frame cleanup 2024-03-16 02:42:26 +01:00
Felix Roos ef284e9d13 fix: bugs catched by linter 2024-03-16 02:16:50 +01:00
Felix Roos f4032dad22 inline multichannel scopes 2024-03-16 02:14:24 +01:00
Felix Roos d9d05e21c0 full size piano by default 2024-03-15 12:24:11 +01:00
Felix Roos 1043baf08a fix: catch errors in pianoroll getValue 2024-03-15 12:24:03 +01:00
Felix Roos dfd22b5e44 fix: claviature height
+ better defaults
+ break out solid web component creation
2024-03-15 11:04:35 +01:00
Felix Roos 4a95bf67da move widget registry to codemirror package
+ add transpiler as dependency to codemirror
2024-03-15 10:00:07 +01:00
Felix Roos 8742d50bad simplify widget creation + fix bugs 2024-03-15 09:50:17 +01:00
Felix Roos 6dce9d5deb support multiple animationFrames
+ break out spiral draw logic
2024-03-15 09:49:00 +01:00
Felix Roos a8712fd8ce remove this mess 2024-03-15 09:48:04 +01:00
Jade (Rose) Rowland d102e1dbbc Merge pull request #900 from daslyfe/repl_sync
REPL sync between windows
2024-03-14 20:47:35 -04:00
Felix Roos 83ea3bb138 encapsulate canvas logic 2024-03-15 01:47:35 +01:00
Felix Roos 48e0691eec add pianoroll widget 2024-03-15 01:40:21 +01:00
Felix Roos 094b30cd26 use hap color for claviature 2024-03-15 00:39:31 +01:00
Felix Roos 708675077f rename claviature package to widgets 2024-03-15 00:34:13 +01:00
Felix Roos 82c4926f19 allow any web component to become a widget 2024-03-15 00:27:16 +01:00
Felix Roos 29dab578e7 can now load claviature as a codemirror widget 2024-03-14 23:49:38 +01:00
Felix Roos 1e75f045b7 remove other watch tasks for now 2024-03-14 15:31:50 +01:00
Felix Roos cfdd4ac36c add readme 2024-03-14 15:28:06 +01:00
Felix Roos f2e16f946c add working claviature method 2024-03-14 15:17:19 +01:00
Felix Roos 062e45ee6a Merge remote-tracking branch 'origin/main' into claviature 2024-03-14 14:20:45 +01:00
Jade (Rose) Rowland 112ca1875a stop clock if all stopped 2024-03-10 14:35:43 -04:00
Felix Roos d0c68e91dc hotfix: hydra-canvas might already be removed 2024-03-10 02:09:46 +01:00
Felix Roos 708fea637c fix update migration snippet 2024-03-10 01:10:37 +01:00
Felix Roos c5a4184437 Merge branch 'main' into default-dict 2024-03-10 00:54:13 +01:00
Felix Roos 446cf8c694 Merge pull request #980 from eefano/little-bag-fix
little fix for withVal
2024-03-10 00:50:23 +01:00
Felix Roos ae7807643b Merge remote-tracking branch 'origin/main' into velocity-in-value 2024-03-10 00:44:02 +01:00
Felix Roos 4a25eab01a Merge remote-tracking branch 'origin/main' into clear-hydra 2024-03-10 00:40:29 +01:00
Felix Roos e885e05a7a Merge pull request #971 from tidalcycles/draw-package
move canvas related helpers from core to new draw package
2024-03-10 00:38:43 +01:00
Felix Roos 012b19c79e fix: clear hydra on reset 2024-03-10 00:29:52 +01:00
Jade (Rose) Rowland 0875e805b4 Merge pull request #982 from daslyfe/fix_distort_doc
replace shape with distort in learn doc
2024-03-07 23:38:07 -05:00
Jade (Rose) Rowland f1700d5e47 fixed 2024-03-07 23:35:04 -05:00
Jade (Rose) Rowland 30a5176090 fix android support 2024-03-07 23:04:46 -05:00
Felix Roos 43c40f7bb0 no need for publishConfig 2024-03-08 01:07:17 +01:00
Felix Roos 9b3509c062 global watch task 2024-03-08 00:55:19 +01:00