Open felixroos opened 2 years ago
randcat
was implemented in 7fbd4527e
I think 'inhabit' is
function inhabit(lookup, pat) {
return pat.fmap(v => v in lookup ? lookup[v] : pure(silence))._squeezeJoin()
}
s(inhabit({a: "bd sd", b: "cp cp cp"}, "a b")).webdirt()
(I plan to do this while looking at #179)
I know I asked about this already in another place and there is an answer of sorts, but: just to note that the Tidal function run
is missing as well.
slice
is missing, and not listed as missing.
Added hurry
and press
/pressBy
in https://github.com/tidalcycles/strudel/pull/397
@tedthetrumpet looks like run
, slice
and splice
are implemented now
Great, thanks!
smooth
-> #561 ?
note that rolled
, rolledBy
and rolledWith
are missing
Pruned list ready for 1.0
pickF now here https://github.com/tidalcycles/strudel/pull/924 @yaxu just noticed after merging that pickF is listed under "Needs longer term work/thought"...
Here is scramble:
const _rearrangeWith = (ipat, n, pat) => {
const pats = [...Array(n).keys()].map((i) => pat.zoom(Fraction(i).div(n), Fraction(i+1).div(n)));
return ipat.fmap(i => pats[i].repeatCycles(n)._fast(n)).innerJoin();
}
const scramble = register('scramble', (n,pat) => {
return _rearrangeWith(_irand(n)._segment(n), n, pat);
})
shuffle also needed..
There are many functions from tidal that have not landed yet.
Basics
Needs longer term work/thought
pickF(?) (need to decide on names)Low priority or won't implement
<>
operator (overlay/stack)Concatenation
https://tidalcycles.org/docs/patternlib/tour/concatenation
cat
#89Accumulation
Alteration
conditions
wchooseBy
namedwchooseWith
in strudelTime
<~
and~>
Harmony & Melody
Think these are just implemented differently in strudel?
Transitions
these need block-based eval
Sampling
Randomness
Composition