Non-traditional key signatures: Difference between revisions

mNo edit summary
mNo edit summary
Line 3: Line 3:
To create non-standard key signatures, set this property directly. The format of this command is a list:
To create non-standard key signatures, set this property directly. The format of this command is a list:


: <code>\set Staff.keyAlterations =</code>
\set Staff.keyAlterations =
:: <code>#`(((<var>octave</var> . <var>step</var>) . <var>alter</var>) ((<var>octave</var> . <var>step</var>) . <var>alter</var>) ...)</code>
  #`(((<var>octave</var> . <var>step</var>) . <var>alter</var>) ((<var>octave</var> . <var>step</var>) . <var>alter</var>) ...)


where, for each element in the list, <var>octave</var> specifies the octave (0&nbsp;being the octave from middle&nbsp;C to the B above), <var>step</var> specifies the note within the octave (0&nbsp;means&nbsp;C and 6&nbsp;means&nbsp;B), and <var>alter</var> is one of <code>SHARP</code>, <code>FLAT</code>, <code>DOUBLE-SHARP</code>, etc., preceded by a comma.
where, for each element in the list, <var>octave</var> specifies the octave (0&nbsp;being the octave from middle&nbsp;C to the B above), <var>step</var> specifies the note within the octave (0&nbsp;means&nbsp;C and 6&nbsp;means&nbsp;B), and <var>alter</var> is one of <code>SHARP</code>, <code>FLAT</code>, <code>DOUBLE-SHARP</code>, etc., preceded by a comma.