75 Commits

Author SHA1 Message Date
Jade (Rose) Rowland
36374fb3fb format 2025-01-14 00:06:57 -05:00
Jade (Rose) Rowland
570c7a0d6b _keyDown 2025-01-14 00:03:44 -05:00
Jade (Rose) Rowland
2443aad01b key alias and breakout 2024-12-31 11:58:32 -05:00
Jade (Rose) Rowland
08f6c1ad5e fix test 2024-12-30 23:19:37 -05:00
Jade (Rose) Rowland
42519581c1 add func 2024-12-30 21:49:59 -05:00
Jade (Rose) Rowland
d3733d4209 prettier 2024-08-18 13:07:41 -04:00
Jade (Rose) Rowland
ef6af96947
Merge branch 'tidalcycles:main' into audio_target_selector 2024-08-18 12:39:28 -04:00
Jade (Rose) Rowland
2c9ea03fde prettier 2024-08-18 12:08:40 -04:00
Jade (Rose) Rowland
4eae366bee cleaning up 2024-08-18 12:05:03 -04:00
Jade (Rose) Rowland
117f7fa4b5 cleaning up 2024-08-17 17:26:46 -04:00
Jade (Rose) Rowland
9c899d5308 testing 2024-08-17 15:31:21 -04:00
Jade (Rose) Rowland
b60beaf508 prettier 2024-08-16 10:56:09 -04:00
Jade (Rose) Rowland
796f741a92 use performance clock for osc mode 2024-08-16 10:46:18 -04:00
Jade (Rose) Rowland
8da1d9fbf3 reset collator after n seconds 2024-08-16 00:44:18 -04:00
Jade (Rose) Rowland
3cd31e4841 fixed prettier 2024-08-11 12:50:14 -04:00
Jade (Rose) Rowland
c2be2ed76a fixed osc clock 2024-08-11 12:40:38 -04:00
Jade (Rose) Rowland
814babbf7a cleaning up 2024-08-08 22:52:06 -04:00
Alex McLean
a189626e8b
Fix stepjoin (#1067)
* sort fractions properly - fixes #1066
2024-04-23 22:37:21 +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
Alex McLean
398533877c
Beat-oriented functionality (#976)
* annotate pure values with their value, allowing single mininotation values to maintain their labels as pure
* Don't use any 'patternified' arguments if they're all 'pure'
* allow pattern weights (roughly, beats-per-cycle) to be inferred where possible, including from mininotation and across many transformations (e.g. `fast` with a 'pure' factor)
* Add `beatCat`, similar to `timeCat` but funkier
* `silence` has a weight of 1, add alternative `nothing` with a weight of 0, and `gap` function with weight argument
* preserve weight across applicative operations (weight comes with the structure)
* add `stack` alternatives that take advantage of pattern weights to align patterns differently - `stackLeft`, `stackRight`, `stackCentre`, `stackExpand`, with `stackBy` with an argument for patterning the alignment.
2024-03-16 17:24:37 +00: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
Jade (Rose) Rowland
2ee392be9b fixed all the things 2024-01-05 01:00:22 -05:00
Felix Roos
64d80f98db fix: make sure n is never undefined before nanFallback 2023-12-31 16:59:45 +01:00
Felix Roos
3760f51c3c
Merge pull request #871 from daslyfe/bugfix_sample_select
bugfix: sound select indexes out of bounds
2023-12-31 10:06:24 +01:00
Felix Roos
94fcea1040 codeformat 2023-12-30 23:21:34 +01:00
Jade (Rose) Rowland
b5039ecce8 fix import 2023-12-28 10:19:20 -05:00
Felix Roos
99194814a9 move code hashing helpers to core 2023-12-14 10:36:56 +01:00
Felix Roos
f2c16a06a1 fix: note2oct 2023-07-17 23:10:13 +02:00
Felix Roos
58fc786462 noteToMidi: adjustable default octave
+ pull out static objects
2023-07-12 23:32:02 +02:00
Felix Roos
190fe37a9f move solmization logic from midi2note to sol2note 2023-06-11 19:55:24 +02:00
Felix Roos
623661f8d2 Merge remote-tracking branch 'upstream/main' into branch-daria 2023-06-11 19:54:55 +02:00
Felix Roos
7850fb727e fix: allow f for flat notes like tidal 2023-06-11 13:23:45 +02:00
Felix Roos
9971867e2f clamp function 2023-05-28 12:41:53 +02:00
Felix Roos
fc06181217 - add claviature flag to minirepl
- bring back option+dot on macos
- consume more editor settings in minirepl
2023-05-27 13:30:57 +02:00
Daria Cotocu
ccf775e976 Format code 2023-05-24 17:57:05 +01:00
Daria Cotocu
811346e83d Solmization added 2023-05-24 17:24:34 +01:00
Felix Roos
ba35a81e9b - feat: add freq support to gm soundfonts
- refactor: toMidi -> noteToMidi
- refactor: fromMidi -> midiToFreq
2023-03-23 10:18:24 +01:00
Felix Roos
961bbf6f55 Revert "Another attempt at composable functions - WIP (#390)"
This reverts commit cbae3558969ec85c003c90a076ffeff6fa254bd4.
2023-02-27 15:20:49 +01:00
Alex McLean
fdb76867a7
weave and weaveWith (#465)
Added weave and weaveWith from tidal
2023-02-18 00:00:18 +00:00
Alex McLean
cbae355896
Another attempt at composable functions - WIP (#390)
Summary of changes:

- Made unary functions composable, including controls. So e.g. s("bd sd").every(3,fast(2).iter(4).n(4)) works the same as s("bd sd").every(3,x => x.fast(2).iter(4).n(4))
- Made operators/alignments composable too, so s("bd sd").every(3, set.squeeze.n(3, 4)) works
- Patterns are not treated as functions, so s("bd sd").every(3, n(5)) is an annoying runtime error. s("bd sd").every(3, set.n(5)) does work though.

Other minor changes:

- standardised alignment 'squeezeOut' as lowercase 'squeezeout'
- made firstCycleValues turn haps sorted in order of 'part'
2023-02-16 23:15:21 +00: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
d1d9b37ec7 supper notes without octave 2022-12-23 23:01:07 +01:00
Felix Roos
c6d57f6a56 fix non note samples 2022-12-12 20:53:11 +01:00
Felix Roos
09b06da403 fix error message 2022-12-12 20:45:15 +01:00
Felix Roos
df73ce8a60 add freq support to sampler 2022-12-12 20:41:09 +01:00