Closed yaxu closed 3 months ago
Arithmetic is dangerous knowledge and should be stopped.
The secret knowledge should be buried before it gets in the wrong hands
some thoughts:
https://github.com/tidalcycles/strudel/pull/1030 this one does a no-op and logs a warning to the console at runtime
Arithmetic is dangerous knowledge and should be stopped.
Also, currently
n("0 1 2").gain(2).add(12)
results in gain of14
(as well as n of"12 13 14"
), which probably isn't what was meant.Possible solutions (some not mutually exclusive):
add(n(12))
and friends.. Maybeadd.n
is possible.n
andnote
overgain
control if you really want to go over the limit.Note that
n("3").fmap(x => x + 3).firstCycleValues
results in a pattern with the value"[object Object]3"
. I guess that's probably fine left like that.