3659 Commits

Author SHA1 Message Date
Felix Roos
be2ec969c4 use script tag instead of skypack 2024-03-21 07:20:07 +01:00
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
d99af7c4ad
Merge pull request #989 from tidalcycles/claviature
inline viz / widgets package
2024-03-18 07:12:14 +01:00
Felix Roos
95446a76ef breakout widgets package for now 2024-03-17 12:22:24 +01:00
Felix Roos
8b9a2e1d84 Merge remote-tracking branch 'origin/main' into claviature 2024-03-17 04:49:12 +01:00
Felix Roos
dd16a1cbf4 hotfix: disable sync, it somehow breaks playback in the built version
(pnpm build && pnpm preview)
2024-03-17 04:48:25 +01:00
Felix Roos
2900401d3e Merge remote-tracking branch 'origin/main' into claviature 2024-03-17 04:38:05 +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
78f816978c
Merge pull request #991 from tidalcycles/labeled-statements
Labeled statements
2024-03-17 04:06: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
0a1da6f651 claviature lockfile 2024-03-14 14:20:56 +01:00
Felix Roos
062e45ee6a Merge remote-tracking branch 'origin/main' into claviature 2024-03-14 14:20:45 +01:00
Jade (Rose) Rowland
486e6457a9
Merge pull request #984 from andresgottlieb/patch-1
Update synths.mdx
2024-03-13 19:20:07 -04:00
Felix Roos
7efea5726b
Merge pull request #985 from tidalcycles/share-fix
fix: share now shares what's visible instead of active
2024-03-13 00:36:22 +01:00
Felix Roos
7eb2f7659e fix: share now shares what's visible instead of active 2024-03-12 08:38:11 +01:00
Jade (Rose) Rowland
112ca1875a stop clock if all stopped 2024-03-10 14:35:43 -04:00
Andrés Gottlieb
bc641d8e4c
Update synths.mdx
Typo fix
2024-03-10 12:49:12 +01:00
Felix Roos
d0c68e91dc hotfix: hydra-canvas might already be removed 2024-03-10 02:09:46 +01:00
Felix Roos
c373a0473b
Merge pull request #967 from tidalcycles/default-dict
use ireal as default voicing dict
2024-03-10 01:18:57 +01:00