45 Commits

Author SHA1 Message Date
Alex McLean
6422047cff
make 0.5hz cps the default (#931)
* 0.5 default cps

* 1 -> 0.5 cps defaults

* start moving examples to 2Hz

* more 2Hz doc edits

* small tweaks

* format

* adapt cycles page

* adapt pitch page

* tonal page

* accumulation

* synth page

* adapt conditional-modifiers

* audio effects page

* adapt signals doc

* fix: errors for signals

* adapt signals page

* start time modifiers

* adapt time modifiers

* adapt factories

* hydra + pattern intro

* adapt mini notation page

* start recipes

* adapt recipes page

* use code_v1 table

* delete old dbdump + add new csv based tool

* fix: tests

* fix: cpm

* shuffle featured patterns

* fix: snapshot

---------

Co-authored-by: Felix Roos <flix91@gmail.com>
2024-01-22 19:02:34 +00:00
Jade (Rose) Rowland
d03892bbcf
Merge branch 'tidalcycles:main' into pattern_selection 2024-01-21 11:19:06 -05:00
Felix Roos
0695b4bee9 clean + comment 2024-01-21 01:29:31 +01:00
Felix Roos
18ae82174d fix: "can't redefine non-configurable property" 2024-01-21 01:13:32 +01:00
Felix Roos
aa1b9d11dc inject scheduler into Pattern methods right before eval 2024-01-21 00:59:31 +01:00
Felix Roos
0a82471112 implement loopAt with pat state 2024-01-21 00:45:40 +01:00
Felix Roos
8052e10f0c implement fit with pat state 2024-01-21 00:39:26 +01:00
Jade (Rose) Rowland
51dd408733 all working 2024-01-08 00:15:07 -05:00
Felix Roos
ea8aabceed fix: loader 2023-12-29 15:03:26 +01:00
Felix Roos
93e8186388 MicroRepl poc 2023-12-15 22:23:20 +01:00
Felix Roos
09752241ba fix: multiple repls 2023-11-17 23:16:09 +01:00
Felix Roos
265f01eb06 add p1 .. p9 shortcuts as well 2023-11-17 10:50:45 +01:00
Felix Roos
cb9ef3ee6a add q1 .. q9 shortcuts 2023-11-17 09:45:44 +01:00
Felix Roos
a4487179a5 fix tests 2023-11-16 07:25:20 +01:00
Felix Roos
f43f627037 + add hush
+ add the ability to evaluate without clearing
2023-11-16 07:17:59 +01:00
Felix Roos
a7b799f154 p and q methods + all function 2023-11-16 06:52:47 +01:00
Felix Roos
b14aa901ba also return pat 2023-10-26 13:16:15 +02:00
Felix Roos
9009eccc8e add play function 2023-10-26 13:06:58 +02:00
Felix Roos
8e717d2ea1 - transpiler now always returns an object
- emit transpiler metadata from evaluate / afterEval
- currently logging miniLocations from Repl.jsx
2023-07-02 14:15:54 +02:00
Felix Roos
0fee279e3d rename fay to fit 2023-06-29 12:05:31 +02:00
Felix Roos
c1649b9dc0 - fix: loopAt for non default cps value
- add fay to repitch samples to fit hap duration
- add setcpm function
2023-06-28 22:13:05 +02:00
Felix Roos
6e02bf59e9 Revert "refactor: remove old draw logic"
This reverts commit 95719654f3bfc5d3cc98c33816b402e2c0e38bd7.
2023-05-10 11:44:55 +02:00
Felix Roos
12228c56d9 improve api for web package 2023-05-07 22:36:26 +02:00
Felix Roos
95719654f3 refactor: remove old draw logic
+ pianoroll now uses .onPaint
2023-05-05 09:52:07 +02:00
Felix Roos
6a201be1fd Merge remote-tracking branch 'origin/main' into setcps-reset-only-on-shuffle 2023-03-23 22:35:57 +01:00
Felix Roos
8617b9164e do not reset cps before eval #517 2023-03-23 22:34:25 +01:00
Felix Roos
55c533c947 improve initial loading + wait before eval 2023-03-23 21:56:20 +01:00
Alex McLean
2d5064bd5b
Reinstate slice and splice (#500)
Reinstate slice/splice, fixing up "unit" param using new global cps
2023-03-02 14:44:41 +00:00
Felix Roos
436ba067bc reset cps before eval 2023-03-01 09:23:01 +01:00
Felix Roos
1f7e293204 add setcps to global scope 2023-02-28 23:56:11 +01:00
Felix Roos
b2c6d87633 MiniRepl: add punchcard flag for implicit vis
+ reintroduce editPattern
+ add punchcards to mini-notation.mdx
2023-01-13 15:13:39 +01:00
Felix Roos
1ac784dc7a localize draw logic 2023-01-13 12:03:34 +01:00
Felix Roos
69ecb7b54f support logs in mini repl
+ pass hap to logger
+ add editPattern hook to repl + useStrudel
+ do not throw when webaudio gets plain values
2023-01-09 23:26:20 +01:00
Felix Roos
4e3e533e13 repl: optional eval callbacks 2022-11-24 20:13:04 +01:00
Felix Roos
e769ed2fd8 move draw stuff from tone to core + fix getPhase 2022-11-13 01:42:00 +01:00
Felix Roos
ff5d14fb63 can now have multiple triggers
+ Pattern.log now makes sense
2022-11-12 16:52:00 +01:00
Felix Roos
27fb2d2d5b remove onLog callbacks 2022-11-12 12:07:02 +01:00
Felix Roos
23e059a065 scheduler error handling + style 2022-11-11 23:35:46 +01:00
Felix Roos
45c7b29a96 big style update + new log system 2022-11-11 22:46:20 +01:00
Felix Roos
00550ddab5 pass all params to onTrigger 2022-11-10 22:02:08 +01:00
Felix Roos
eca92cf5b5 fix: web midi 2022-11-10 18:12:38 +01:00
Felix Roos
c7c90b0647 fix mini repl + improve repl api 2022-11-10 16:36:51 +01:00
Felix Roos
14c2da4fa2 started refac repl to new scheduler + transpiler 2022-11-10 12:07:36 +01:00
Felix Roos
09045d5387 add vite vanilla js repl example 2022-11-06 15:50:53 +01:00
Felix Roos
371af755df move evaluate logic without transpiler to core
+ breaking change: evalScope is now imported from core
+ breaking change: deprecated extend is now removed
+ add repl.mjs
2022-11-06 12:12:43 +01:00