eefano
03a73fb95e
Update signal.mjs
...
Fixed pickr() description
2024-02-18 16:21:50 +01:00
eefano
23c55c9636
Update signal.mjs
...
prettier fix
2024-02-18 16:03:01 +01:00
eefano
12c6f4e95f
Update signal.mjs
...
added pickr() and pickrmod()
2024-02-18 15:30:24 +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
Renzo Torr-
68113937ff
code format
2024-01-19 14:06:24 -03:00
Renzo Torr-
9ffbc06cf9
add pickF and pickmodF
...
allows to pick functions via a pattern of numbers, to apply to another pattern
2024-01-19 02:45:54 -03:00
Alex McLean
98b7859605
pick, pickmod, inhabit, inhabitmod ( #921 )
...
* the args for `pick` are now reversed as standard (old behaviour still supported to avoid breaking change)
* `pick` is also now a pattern method
* `pick` now also accepts a lookup table for pick-by-name as an alternative to pick-by-index from a list
* `inhabit` added with same behaviour as `pick`, except cycles from source patterns are squeezed into events of inhabited patterns
* Also some general doc tidying, sorry for the noise..
* There is also `pickmod` and `inhabitmod`, for wrapping indexes around rather than clamping them
2024-01-18 17:08:29 +00:00
Alex McLean
a8db707440
Revert "pick now accepts lookup tables, with alternate cycle squeezing behaviour as new inhabit function" ( #920 )
2024-01-18 17:04:26 +00:00
Alex McLean
873a412179
pick now accepts lookup tables, with alternate cycle squeezing behaviour as new inhabit function (#918 )
...
- the args for `pick` are now reversed (breaking change!)
- `pick` is also now a method on the inhabited pattern
- `pick` now also accepts a lookup table
- `inhabit` added with same behaviour as `pick`, except cycles from source patterns are squeezed into events of inhabited patterns
- Also some general doc tidying, sorry for the noise..
- There is now also `pickmod` and `inhabitmod`, for wrapping indexes around rather than clamping them
2024-01-18 16:45:39 +00:00
Felix Roos
74b9279416
update eslint
2023-12-31 00:03:45 +01:00
Jade Rowland
fd6c713119
move to signal file with other choose functions
2023-10-31 12:18:19 -04:00
Jade Rowland
912a661c04
fixed example test failure
2023-10-17 23:03:14 -04:00
Jade Rowland
d3edc62fc7
document function
2023-10-17 21:31:11 -04:00
Jade Rowland
6b5de5fec8
fixed
2023-10-17 01:33:51 -04:00
Felix Roos
260b831815
refactor: legato -> clip
2023-06-14 00:22:55 +02:00
Felix Roos
468ccc6288
add run + test + docs
2023-01-19 11:47:11 +01:00
Felix Roos
bcac3c5b84
fix typo
2022-12-11 00:08:13 +01:00
Felix Roos
4f7c013c78
refactor most signal functions
2022-12-10 21:03:36 +01:00
Felix Roos
09b15a07c6
use register for degradeBy / undegradeBy
2022-12-10 19:25:51 +01: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
e128b02da1
support object arithmetic
2022-11-01 21:31:39 +01:00
Felix Roos
e38513f077
more fixes
2022-10-29 17:51:46 +02:00
Felix Roos
08c4c641ec
add note calls everywhere
2022-10-29 17:38:54 +02:00
Felix Roos
ecc4e1803c
remove all occurrences of .out()
2022-10-27 19:47:07 +02:00
Felix Roos
19b8f073b1
dedupe most of core api doc
2022-09-17 22:46:30 +02:00
Felix Roos
dd69e4caff
doc: rand irand perlin
2022-09-17 21:03:58 +02:00
Felix Roos
f0e412a443
doc: chooseCycles + mini shorthands
2022-09-14 23:40:48 +02:00
Felix Roos
ce91d36b7a
doc: random functions
2022-09-14 23:16:24 +02:00
Felix Roos
8e61673bd6
doc: degradeBy
2022-09-14 21:54:42 +02:00
Felix Roos
f5efa18e96
fix: jsdoc comments
2022-08-02 22:56:04 +02: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
93e565f8df
document non random signal functions
2022-05-28 23:43:42 +02:00
alex
53d82e5126
Prettify
2022-05-02 21:27:02 +01:00
alex
ee514ee8ba
redo headers
2022-04-28 14:38:41 +01:00
alex
28ebf6559e
Fix steady()
2022-04-17 18:25:38 +01:00
alex
eccb20c3b7
Fix choose and add weighted wchoose
2022-04-16 23:23:15 +01:00
alex
c751d4eb79
Make sure random numbers are positive
2022-04-16 18:32:17 +01:00
alex
1c3793e2ef
Add someCycles and someCyclesBy
2022-04-16 15:05:56 +01:00
alex
4894588284
fix degrade/undegrade
2022-04-16 12:37:47 +01:00
alex
911d9d17d6
undegrade, sometimes, sometimesBy, sometimesByPre, often, rarely, almostNever, almostAlways, never, always
2022-04-16 12:19:42 +01:00
alex
dca8b46abf
add degrade/degradeBy
2022-04-16 11:40:47 +01:00
alex
f1ac9c4443
perlin noise
2022-04-16 10:03:00 +01:00
alex
ea16d6b050
Add choose, fix rand to be unipolar.
2022-04-15 16:05:48 +01:00
alex
19f7dc1657
add brand (boolean rand) and brandBy
2022-04-15 15:05:30 +01:00
alex
3ae0762f62
First effort at rand()
2022-04-15 10:14:51 +01:00
alex
050296d0c2
make separate signal module
2022-04-13 17:41:48 +01:00