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
643 stars 111 forks source link

use ireal as default voicing dict #967

Closed felixroos closed 6 months ago

felixroos commented 7 months ago

sets ireal as the default dictionary, as it supports much more voicings than the old one. To not break old patterns that implicitly use the old default, there is now setDefaultVoicings('legacy') that could be tacked on automatically to all patterns in the database, or as a quick fix for the personal collection.

edit: I've prepended this line to all patterns in the database that were containing the string .voicing():

typeof setDefaultVoicings !== 'undefined' && setDefaultVoicings('legacy') // https://github.com/tidalcycles/strudel/pull/967

the typeof check is to make sure it still works on older versions