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
689 stars 121 forks source link

speed has no effect on synths and soundfonts #1057

Open felixroos opened 7 months ago

felixroos commented 7 months ago

probably makes sense to make it have an effect, just as a frequency multiplier, so functions like hurry would work as expected. in the case of soundfonts, it should make sense to multiply it with the frequency after the sample has been selected, so that the repitch actually sounds like a repitch, instead of getting a sample in a different zone. this is a breaking change but might not affect a lot of patterns

yaxu commented 7 months ago

Superdirt takes the absolute value of speed before multiplying, probably makes sense, although might it also be nice to reverse the envelopes for negative speeds somehow..

https://github.com/musikinformatik/SuperDirt/blob/c7f32998572984705d340e7c1b9ed9ad998a39b6/classes/SuperDirtUGens.sc#L159-L169