tidalcycles / strudel

Web-based environment for live coding algorithmic patterns, incorporating a faithful port of TidalCycles to JavaScript
https://strudel.cc/
GNU Affero General Public License v3.0
586 stars 105 forks source link

Velocity in value #974

Closed felixroos closed 3 months ago

felixroos commented 4 months ago

fixes https://github.com/tidalcycles/strudel/issues/507

BREAKING CHANGE:

this might break some patterns that use velocity in some ways:

examples:

before after
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))