850 Commits

Author SHA1 Message Date
Alex McLean
e47d67a9da
Benchmarks (#1079)
* tactus-oriented benchmarks
* add benchmarks for individual example tunes
2024-05-03 10:52:56 +01:00
Alex McLean
34e9d73908
Improve performance of ! (replicate) (#1084)
* Implement ! with weighted repeatCycles
* reimplement repeatCycles without array filling
2024-05-02 23:37:32 +01:00
Alex McLean
91bb0a1d36
Add calculateTactus() for turning off calculation of tactus in (#1081)
core functions.
Also while I'm here stop fast/slow from manipulating tactus.
2024-04-29 11:36:10 +01:00
Alex McLean
bbf8577f85
More tactus tidying (#1071)
* preserve tactus for register (only non-formatting change is adding args to register)
* support undefined tactus values
2024-04-26 14:12:30 +01:00
Alex McLean
a189626e8b
Fix stepjoin (#1067)
* sort fractions properly - fixes #1066
2024-04-23 22:37:21 +01:00
Alex McLean
267f58b7be
Tactus tweaks - fixes for maintaining tactus and highlight locations (#1065)
* outer bind/join should keep outer tactus
* keep locations of outer pattern in stepJoin
2024-04-23 14:14:30 +01:00
Jade (Rose) Rowland
9348a8015a
Merge pull request #1062 from daslyfe/osc_time_fix
fix OSC timing for recent scheduler updates
2024-04-21 17:57:57 -04:00
Jade (Rose) Rowland
57ad278137 fixed osc server 2024-04-21 17:52:22 -04:00
Jade (Rose) Rowland
5d8eea7299 fixed 2024-04-21 17:29:29 -04:00
Alex McLean
0a3694fb82
Stepwise functions from Tidal (#1060)
* rename new stepwise functions to match tidal, adding s_expand and s_contract
* created a `stepJoin` for stepwise patternification
2024-04-21 21:17:07 +01:00
Alexandre G.-Raymond
a194180130
Fix wchooseCycles not picking the whole pattern (#1061) 2024-04-21 10:03:55 +01:00
Felix Roos
64cc8caeec
Merge pull request #1038 from tidalcycles/swing
add swing + swingBy
2024-04-19 00:05:52 +02:00
Felix Roos
93d151b943 anonymous patterns + muting with _ 2024-04-17 12:37:19 +02:00
Alex McLean
ebeefc0ac4
More experimental step functions: stepwax, stepwane, steptaper, steptour and taperlist (#1042)
* group tactus-oriented functions
* add stepwax, stepwane, steptaper and steptour
* taperlist
2024-04-08 09:46:18 +01:00
Felix Roos
506989b0d7
Merge pull request #1041 from tidalcycles/freq-wheel
pitchwheel visual
2024-04-05 12:48:02 +02:00
Felix Roos
df23ea6cdf fix: cyclist desync 2024-04-05 12:23:04 +02:00
Felix Roos
010329dcfc fix: proper error log with call stack 2024-04-01 15:19:22 +02:00
Felix Roos
8f06bc4b57 add swing + swingBy 2024-04-01 02:59:17 +02:00
Felix Roos
1aca5db447 better warning 2024-03-30 15:05:52 +01:00
Felix Roos
12d8cdff92 remove dangerous arithmetic feature 2024-03-29 16:58:34 +01:00
Alex McLean
9c66d9f1a7
Tactus tidy (#1027)
* preserve tactus across calls to filterValues (fixes tactus for struct)
* timeCat -> timecat (maintaining old name as an alias), beatCat -> stepcat
2024-03-29 13:55:05 +00:00
Felix Roos
aa25265cc2
Merge pull request #1024 from tidalcycles/fix-draw-bugs
better theme integration for visuals + various fixes
2024-03-28 11:37:56 +01:00
Felix Roos
b5720355f9 fix: allow multiple visuals for the same pattern
+ using .tag function instead of single .id
2024-03-28 09:31:12 +01:00
Felix Roos
14b1a1203f fix: cyclist.now() should return 0 when stopped 2024-03-28 07:25:44 +01:00
Felix Roos
060d2cfe2b another hap time introspection method 2024-03-28 06:50:13 +01:00
Felix Roos
04a0952a22 simplify draw plumbing 2024-03-28 06:25:24 +01:00
Felix Roos
1a0dff4081 add some hap methods for time introspection 2024-03-28 05:47:50 +01:00
Alex McLean
2fd2bdba60
Feature: tactus marking (#1021)
* rename `beat` option to `stackBy` to `repeat`
* fix parse error reporting
* rename `weight` to `tactus` (it might in the end be pulse, step, or tap)
* tactus marking with ^
* and add some tests
2024-03-27 12:06:05 +00:00
Jade (Rose) Rowland
bbfdd2cc32 working 2024-03-25 00:59:42 -04:00
Alexandre Gravel-Raymond
731d545a3f Fix undegrade doc naming 2024-03-24 14:15:20 +01:00
Alexandre Gravel-Raymond
fc4c70c94f Fix codestyle 2024-03-24 12:25:54 +01:00
Alexandre Gravel-Raymond
69211b8701 Document signals 2024-03-24 12:22:26 +01:00
Jade (Rose) Rowland
af740c3abb
Merge branch 'tidalcycles:main' into repl_sync_fixes 2024-03-23 16:47:22 -04:00
Jade (Rose) Rowland
8e2407cfa9 cleanup 2024-03-23 16:45:34 -04:00
Jade (Rose) Rowland
86c945114d removed unessecary variable 2024-03-23 16:35:48 -04:00
Jade (Rose) Rowland
bd16b403e3 build working properly 2024-03-23 16:28:37 -04:00
Jade (Rose) Rowland
f00a08ef9e working 2024-03-23 16:18:16 -04:00
Felix Roos
31067d5cb5
Merge pull request #1004 from tidalcycles/worker-repl
eliminate chromium clock jitter
2024-03-23 20:21:51 +01:00
Jade (Rose) Rowland
619ca5385d sync mostly working 2024-03-23 14:52:44 -04:00
Jade (Rose) Rowland
aa36d25b9a still kinda working 2024-03-23 14:45:35 -04:00
Felix Roos
16210e121f fix: await injectPatternMethods 2024-03-23 15:24:49 +01:00
Felix Roos
53af147ede
Merge pull request #1010 from tidalcycles/trigzero-restart
rename trig -> reset, trigzero -> restart
2024-03-23 15:18:12 +01:00
Felix Roos
f83a156317 Merge branch 'color-in-hap-value' into inline-punchcard 2024-03-23 12:07:11 +01:00
Felix Roos
2857e816d2 add Pattern.id + use it for _punchcard and _spiral 2024-03-23 12:06:31 +01:00
Felix Roos
c2ef90d67c rename trig -> reset, trigzero -> restart 2024-03-23 11:22:30 +01:00
Felix Roos
d036635915 move color to hap value 2024-03-23 00:20:00 +01:00
Felix Roos
e8f6124a07 + make cyclist trigger backwards compatible for now
+ add absolute time as new 5th onTrigger param
2024-03-22 01:22:35 +01:00
Felix Roos
14a5e7dcb6 make regular cyclist work in the background
+ use worker-timers in Repl
+ repl / cyclist now accept custom interval functions
2024-03-22 01:01:17 +01:00
Felix Roos
ba8f996103 fix: clock jitter in cyclist 2024-03-22 00:41:30 +01:00
Felix Roos
4362cb9317 export createClock from core 2024-03-21 22:39:01 +01:00