Bradford Powell
1227d98904
add a non-probabilistic test for the ? operator
...
This really just tests that the ? operator faithfully gets represented
as degradeBy(0.5)
2022-08-06 18:22:03 -04:00
Bradford Powell
f533e4a5d0
Change offset for "stateful random" streams
...
This would no longer match with Tidal (which uses
0.0001), but reduces the correlation among the
the different random streams in the mini-notation's
parsing of ? and |
2022-08-06 18:22:03 -04:00
Bradford Powell
0b00ad98e6
claim victory over the ? and | notations
2022-08-06 18:22:03 -04:00
Bradford Powell
8988408d18
update krill-parser for the changes to .pegjs file
2022-08-06 18:22:02 -04:00
Bradford Powell
f858d89f7b
implement random choice in mini notation
...
this will require update to krill-parser.js (aggregated
in later commit) to work properly
2022-08-06 18:22:02 -04:00
Bradford Powell
964ee68974
implement "?" operator in minilanguage (for degradeBy)
...
this will require update to krill-parser.js (aggregated
in later commit) to work properly
2022-08-06 18:22:02 -04:00
Felix Roos
8244ba7754
hotfix: prebake flag to skip fetch
2022-08-07 00:14:27 +02:00
Felix Roos
21b2184750
Merge pull request #177 from tidalcycles/soft-errors
...
fix some annoying bugs
2022-08-06 23:32:16 +02:00
Felix Roos
8d1c98f03e
always throw error for invalid notes
2022-08-06 21:37:41 +02:00
Felix Roos
684bab99a9
Merge remote-tracking branch 'origin/main' into soft-errors
2022-08-06 21:32:47 +02:00
Felix Roos
7a4a8a4581
run all tests at once
2022-08-06 21:29:36 +02:00
Felix Roos
b8843a0eb6
readd mocha dep to root package
2022-08-06 12:32:42 +02:00
Felix Roos
563dfbea43
remove mocha from packages
2022-08-06 12:30:14 +02:00
Felix Roos
488ebf8f1a
replace old tests
...
+ ignore tune test for now
+ add happy-dom
2022-08-06 12:22:11 +02:00
Felix Roos
03158bd689
test tonal tone xen
2022-08-06 11:20:11 +02:00
Felix Roos
765f2df18e
vitest eval + mini
2022-08-06 10:48:44 +02:00
Felix Roos
a15d8553e0
refactor pattern tests
2022-08-06 01:31:50 +02:00
Felix Roos
3a790b03ac
refactor drawLine + fraction test
2022-08-06 00:53:10 +02:00
Felix Roos
90e5e03531
refactor value.test
2022-08-06 00:50:10 +02:00
Felix Roos
a4158c16f0
refactor core util.test
2022-08-06 00:47:49 +02:00
Felix Roos
ffc0b364ca
add vitest
2022-08-06 00:47:36 +02:00
Felix Roos
1efb8f6681
Merge pull request #173 from tidalcycles/replace-react-codemirror
...
Replace react-codemirror6 with @uiw/react-codemirror
2022-08-06 00:27:16 +02:00
Felix Roos
55b2d7f68f
add onSelectionChange callback
2022-08-05 23:50:42 +02:00
Felix Roos
7f0e98ea93
remove old overrides
2022-08-05 23:38:45 +02:00
Felix Roos
67c21c18cf
set background to 222 + remove log
2022-08-05 23:23:51 +02:00
Felix Roos
0cd82c7e57
tutorial styles
2022-08-05 23:23:17 +02:00
Felix Roos
1942c36443
fix style import
2022-08-05 23:18:03 +02:00
Felix Roos
93251582ab
replace react-codemirror
2022-08-05 23:05:33 +02:00
Felix Roos
decd2d6625
fixes #130 + #156
2022-08-05 16:10:37 +02:00
Felix Roos
6824dcb89b
Merge pull request #99 from tidalcycles/configurable-shapeshifter
...
add more shapeshifter flags
2022-08-04 22:19:46 +02:00
Felix Roos
eeac075a29
Merge branch 'main' into configurable-shapeshifter
2022-08-04 22:13:52 +02:00
Felix Roos
b864b1dec3
Merge pull request #171 from debrisapron/dynamic-import
...
Amend shapeshifter to allow use of dynamic import
2022-08-04 22:06:38 +02:00
DEBRIS APRON
130fb9c217
Amend shapeshifter to allow use of dynamic import
2022-08-03 17:32:23 -07:00
Felix Roos
688a3d29fd
Merge pull request #164 from tidalcycles/talk-fixes
...
Talk fixes
2022-08-02 23:43:07 +02:00
Felix Roos
800f2f466b
darken repl background
...
+ dont highlight active line
2022-08-02 23:39:07 +02:00
Felix Roos
655a9ff1a4
Merge remote-tracking branch 'origin/HEAD' into talk-fixes
2022-08-02 23:17:02 +02:00
Felix Roos
12f8902c5f
Merge pull request #163 from tidalcycles/pianoroll-fixes
...
Pianoroll fixes
2022-08-02 23:04:34 +02:00
Felix Roos
9cdb1a53f9
Merge pull request #169 from tidalcycles/fix-jsdoc
...
fix: jsdoc comments
2022-08-02 22:57:43 +02:00
Felix Roos
f5efa18e96
fix: jsdoc comments
2022-08-02 22:56:04 +02:00
Alex McLean
fcebde5abd
Merge pull request #166 from tidalcycles/chooseCycles
...
add chooseInWith/chooseCycles
2022-07-30 22:51:11 +01:00
alex
7fbd4527e5
chooseInWith, choose2, randcat, and some reformatting
2022-07-30 22:24:26 +01:00
alex
d79716c3f8
add chooseInWith/chooseCycles
2022-07-30 09:27:43 +01:00
Felix Roos
884811fd99
darken mini repl bg
2022-07-29 00:19:06 +02:00
Felix Roos
712a2ae018
.out error handling
2022-07-29 00:05:20 +02:00
Felix Roos
4f460eeb32
style errors, fixed backdrop + hide console
2022-07-29 00:03:46 +02:00
Felix Roos
913416a9d5
style fixes + hide-console option
...
- thicker highlighting outline
- only shade actual characters, not whole lines
- strudel hide-console will now hide console
2022-07-29 00:00:41 +02:00
Felix Roos
fd61001b4d
getFreq + midi2note helpers
2022-07-28 23:55:17 +02:00
Felix Roos
ce4d2c17a7
minirepl optimizations:
...
- can now evaluate on init
- support disable-highlighting
- support keyboard shortcuts
- support flash
2022-07-28 23:55:05 +02:00
Felix Roos
a42ebd7aaf
log helpers
2022-07-28 23:46:30 +02:00
Felix Roos
f38718004f
pianoroll optimizations
...
- fix flickering due to global alpha mutation
- change default inactive color
- add smear option
- add playheadColor option
2022-07-28 22:27:54 +02:00