Generating scores within a function: Difference between revisions
Appearance
No edit summary |
m New category Tags: Mobile edit Mobile web edit |
||
| Line 44: | Line 44: | ||
</lilypond> | </lilypond> | ||
[[Category:Scheme]][[Category:Snippet]] | [[Category:Scheme]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:18, 21 November 2025
A music-function uses variables at the point where it's invoked; as a result, if variables are then redefined, the same function will then use the same variables with their new value.
This makes it possible to generate scores in a semi-automated way, as demonstrated here.