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
584 stars 105 forks source link

remove dangerous arithmetic feature #1030

Closed felixroos closed 3 months ago

felixroos commented 3 months ago

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

currently just logs [warn]: dangerous arithmetic when something like n(1).add(1) is attempted. Or maybe remove the log?

yaxu commented 3 months ago

Heh maybe a less mysterious warning is better.. "Can't do arithmetic on control pattern." ?