[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GLISS] facilitate changes of the (default-) drumStyleTable
From: |
Thomas Morley |
Subject: |
Re: [GLISS] facilitate changes of the (default-) drumStyleTable |
Date: |
Thu, 27 Sep 2012 00:32:50 +0200 |
2012/9/26 Marc Hohl <address@hidden>:
> I like the idea of giving the user the ability to change only parts of the
> list
> without having to rewrite the full list; I think that this concept could be
> of
> use in other parts of lilypond as well,
Hi Marc,
further testing showed a major-problem:
Using `hashq-set!' here is too much force brute and will result in an
unintended change of lily-internals.
I.e. compiling all .ly files in a folder with
lilypond *.ly
will show the changes in _all_ files, even if \changeDrumStyleTable is
_not_ used in a file.
\set DrumStaff.drumStyleTable = #(alist->hash-table <my-drums>)
is not that invasive.
Nevertheless, IMHO the question about an easy, less intricate method
how to change a single value in the predefined drumStyleTable stands
as a valid request.
-Harm