29 Commits

Author SHA1 Message Date
Felix Roos
020e85906d fix: slider crash on some platforms 2023-10-04 09:42:10 +02:00
Felix Roos
28966739f6 feat: add step as slider param 2023-10-02 20:44:51 +02:00
Felix Roos
96f06d8026 fix: import 2023-10-01 14:09:07 +02:00
Felix Roos
c051a1249d remove checkbox 2023-10-01 14:06:32 +02:00
Felix Roos
564697e175 add extra sliderWithID function
+ add warning to slider function
2023-10-01 14:05:16 +02:00
Felix Roos
d4bf358eae use raw css instead of tailwind 2023-10-01 13:56:57 +02:00
Felix Roos
f84d5ba3a0 add back some margin 2023-10-01 13:44:41 +02:00
Felix Roos
b550ff038c simplify: use native events 2023-10-01 13:42:29 +02:00
Felix Roos
c6ecd31ea1 improve mouse tracking 2023-10-01 13:27:44 +02:00
Felix Roos
d7bc309eeb fix: import 2023-10-01 00:36:34 +02:00
Felix Roos
33c40e5ef8 fix some odd number / string problems 2023-10-01 00:33:10 +02:00
Felix Roos
062d926900 make sliders work! 2023-10-01 00:24:31 +02:00
Felix Roos
b36cee93f7 add slider function to scope 2023-09-30 21:22:49 +02:00
Felix Roos
2731e70fb7 use loc as slider id 2023-09-30 21:03:28 +02:00
Felix Roos
276cf858fc match slider as function 2023-09-30 20:39:03 +02:00
Felix Roos
c93e4a951a match number.slider 2023-09-29 12:58:16 +02:00
Felix Roos
aa094bf930 checkbox + number slider 2023-09-29 10:40:00 +02:00
Felix Roos
de9a52366f Publish
- @strudel/codemirror@0.9.0
 - @strudel.cycles/core@0.9.0
 - @strudel.cycles/csound@0.9.0
 - @strudel.cycles/midi@0.9.0
 - @strudel.cycles/mini@0.9.0
 - @strudel.cycles/osc@0.9.0
 - @strudel.cycles/react@0.9.0
 - @strudel.cycles/serial@0.9.0
 - @strudel.cycles/soundfonts@0.9.0
 - superdough@0.9.8
 - @strudel.cycles/tonal@0.9.0
 - @strudel.cycles/transpiler@0.9.0
 - @strudel/web@0.9.0
 - @strudel.cycles/webaudio@0.9.0
 - @strudel.cycles/xen@0.9.0
2023-09-17 12:35:03 +02:00
Felix Roos
34176ab5f8 refactor:
- dedupe flash / highlighting logic
- codemirror logic now lives only in codemirror package
- remove old highlighting logic
- use codemirror package in react package
- cleanup CodeMirror6.jsx
- pull setMiniLocations into useHighlighting
- migrate MiniRepl, nano-repl + Repl to new highlighting
2023-07-04 21:49:39 +02:00
Felix Roos
dc2ff83fa5 do not flash when empty 2023-06-30 22:38:14 +02:00
Felix Roos
90a58858ca Publish
- @strudel/codemirror@0.8.4
 - @strudel.cycles/core@0.8.2
 - @strudel.cycles/csound@0.8.0
 - @strudel.cycles/eval@0.8.0
 - @strudel.cycles/midi@0.8.0
 - @strudel.cycles/mini@0.8.2
 - @strudel.cycles/osc@0.8.0
 - @strudel.cycles/react@0.8.0
 - @strudel.cycles/serial@0.8.0
 - @strudel.cycles/soundfonts@0.8.2
 - @strudel.cycles/tonal@0.8.2
 - @strudel.cycles/tone@0.8.0
 - @strudel.cycles/transpiler@0.8.2
 - @strudel/web@0.8.3
 - @strudel.cycles/webaudio@0.8.2
 - @strudel.cycles/webdirt@0.8.0
 - @strudel.cycles/xen@0.8.0
2023-06-30 08:17:19 +02:00
Felix Roos
8c9e06c329 - clip now works like legato in tidal
- supports floats
- hap.duration now respects clip value
- hap.endClipped is now end*clip
- visualizations show clipped length
- clip(0) will now be silence
2023-06-12 22:39:32 +02:00
Felix Roos
308f139193 bump codemirror again to get new core version 2023-05-05 23:52:55 +02:00
Felix Roos
bb71c519db bump codemirror package 2023-05-05 23:46:42 +02:00
Felix Roos
9ec7109dc8 + simplify vanilla setup drastically
+ move repl + drawer boilerplate inside StrudelMirror
2023-05-05 23:43:07 +02:00
Felix Roos
9039600f6d bump codemirror to 0.8.1 2023-05-05 15:31:19 +02:00
Felix Roos
b5b0156e08 fix: codemirror reeval 2023-05-05 15:31:04 +02:00
Felix Roos
352e647d37 add build script for codemirror package 2023-05-05 15:15:45 +02:00
Felix Roos
f5075906e2 add codemirror package
+ use it in vite-vanilla-repl-cm6
2023-05-05 15:13:17 +02:00