this might break some patterns that use velocity in some ways:
using velocity multiple times won't multiply it together: s("hh").velocity(.5).velocity(.5) ends up with velocity .5 and not .25 like it was before. Use mul(velocity(.5)) or gain(.5)
using echo or stut in some situtations might break your pattern: "0".echo(4,.1,.5).scale('C minor') breaks because echo is now changing the value from 0 to { value:0, gain: .5 }, which the scale doesn't understand.
also, setting gain after echo or stut will now overwrite the gain set by echo
fixes https://github.com/tidalcycles/strudel/issues/507
BREAKING CHANGE:
this might break some patterns that use velocity in some ways:
s("hh").velocity(.5).velocity(.5)
ends up with velocity .5 and not .25 like it was before. Usemul(velocity(.5))
orgain(.5)
echo
orstut
in some situtations might break your pattern:"0".echo(4,.1,.5).scale('C minor')
breaks because echo is now changing the value from0
to{ value:0, gain: .5 }
, which the scale doesn't understand.gain
afterecho
orstut
will now overwrite the gain set by echoexamples:
s("hh").velocity(.5).velocity(.5)
s("hh").velocity(.5).mul(velocity(.5))
s("hh").velocity(.5).gain(.5)
"0".echo(4,.1,.5).scale('C minor').note()
n("0").echo(4,.1,.5).scale('C minor')
"0".echo(4,.1,.5).n().scale('C minor')
s("hh").echo(4,.25,.5).gain(.5)
s("hh").echo(4,.25,.5).mul(gain(.5))