noteflakes / lydown

A language for music notation
http://ciconia.github.io/lydown
MIT License
24 stars 0 forks source link

Fix settings #30

Closed noteflakes closed 9 years ago

noteflakes commented 9 years ago

Currently settings are all over the place, with no real logic to the way settings are written to the context or read from the context according to circumstances. This leads to many problems (see #25, #26 among others) that are hard to solve.

The idea is to provide two new methods on WorkContext: #get_setting and #set_setting, that will interrogate the settings in part files, movement files, work files, and finally the lydown defaults (stored in lib/lydown/defaults.yml).