35 Commits

Author SHA1 Message Date
Alex McLean
ce9d23049a
Polish, rename, and document stepwise functions (#1262)
* polish, rename, and document stepwise functions: `pace`, `take`, `drop`, `expand`, `contract`, `repeat`, `zip`, `grow`, `shrink`, and `tour`
2025-02-02 20:26:44 +00: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
Felix Roos
3d06528393 transpose: support alls combinations of numbers and strings for notes and intervals 2024-04-07 01:25:47 +02:00
eefano
e32c965a4b accidents in scale grades 2024-03-19 16:04:35 +01:00
eefano
b870ab204a fix for transpose(): preserve hap value object structure 2024-02-29 00:13:08 +01:00
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
Felix Roos
96bafa7f0b the big rename: @strudel.cycles/* -> @strudel/* 2024-01-18 09:54:37 +01:00
Felix Roos
b27f177138 scales can now be anchored 2024-01-05 13:03:40 +01:00
Felix Roos
c44f202c44 fix: scale errors safety net 2023-12-31 12:07:08 +01:00
Felix Roos
d84c917f19 fix: scale offset 2023-10-27 22:50:21 +02:00
Felix Roos
b297888eb4 consume n with scale 2023-10-07 15:40:08 +02:00
Felix Roos
e05f74cef1 docs + rename under -> duck, quak quak 2023-07-13 10:49:08 +02:00
Felix Roos
a71c5957cc fix: better fix 2023-06-16 14:23:39 +02:00
Felix Roos
8d9278419d fix: flatten scale lists 2023-06-15 20:19:31 +02:00
Alex McLean
bf72908dc9
Support list syntax in mininotation (#512)
fixes #504

* support list syntax in mininotation
* support compound controls
* remove redundant : splitting of s/n and note/n from webaudio
* patternable scale names
2023-03-04 18:06:18 +00:00
Felix Roos
a50bd6375d use : instead of _ 2023-03-03 12:37:25 +01:00
Felix Roos
14508e91a9 can now use _ as a replacement for space in scales 2023-03-02 20:39:06 +01:00
Felix Roos
97cbdc6b0f use jsdoc in autocomplete, still not context aware
+ add noAutocomplete flags
+ add superdirtOnly flags
2023-02-09 12:19:38 +01:00
Felix Roos
6679cd60ce scale now supports running on object values with n 2022-12-11 22:45:36 +01:00
Felix Roos
b9781915a4 remove bootstrap + Pattern.patternify 2022-12-10 22:58:07 +01:00
Felix Roos
bc43fc9585 refactor tonal functions to 'register' 2022-12-10 21:34:38 +01:00
Alex McLean
f827201ee0
Switch 'operators' from .whatHow to .what.how, and make sure there are toplevel curried functions for all of them. Rename util.mod to util._mod, to make room for toplevel 'operator' of that name. (#285) 2022-12-07 19:07:55 +00:00
Alex McLean
e1a532500e
Tidying up core (#256)
* remove _ prefixes except for functions to be patternified
* categorise pattern methods
* experimental support for `.add.squeeze` and friends as alternative to `.addSqueeze`
* `every` is now an alias for `firstOf` with additional `lastOf` (which every will become an alias for next)
2022-11-22 08:51:25 +00:00
Felix Roos
08c4c641ec add note calls everywhere 2022-10-29 17:38:54 +02:00
Felix Roos
a9f5bd679d jsdoc voicings 2022-05-21 21:57:37 +02:00
Felix Roos
f2b5dcf466 tonal jsdoc 2022-05-21 21:52:45 +02:00
Felix Roos
1cbf4c8c7e fix name collision 2022-05-14 23:39:31 +02:00
alex
f8f744dd87 standardise on hap rather than event, especially in function names 2022-05-05 17:20:36 +01:00
alex
ee514ee8ba redo headers 2022-04-28 14:38:41 +01:00
alex
f75da0e2e3 separate out strudel.mjs, make index.mjs aggregate module 2022-04-13 17:25:02 +01:00
Felix Roos
33c9326427 add missing dependency 2022-03-27 23:43:06 +02:00
Felix Roos
75097594b2 rename org to strudel.cycles 2022-03-27 21:42:54 +02:00
Felix Roos
0a8397b3dc replace relative imports with package imports 2022-03-25 22:43:55 +01:00
Felix Roos
2338a1ee7d fix more deps 2022-03-25 18:51:20 +01:00
Felix Roos
6f60a3a1d5 start packaging 2022-03-25 14:39:25 +01:00