User:Rudi Guggt/scheme-functions: Difference between revisions

mNo edit summary
mNo edit summary
 
Line 26: Line 26:
Function: add-new-clef clef-name clef-glyph clef-position transposition c0-position
Function: add-new-clef clef-name clef-glyph clef-position transposition c0-position


    Add a new clef to the list of supported clefs.
:Add a new clef to the list of supported clefs.
 
:The arguments clef-name, clef-glyph, clef-position, and transposition are used to add an entry to the supported-clefs alist. Arguments clef-glyph and c0-position extend c0-pitch-alist.  
    The arguments clef-name, clef-glyph, clef-position, and transposition are used to add an entry to the supported-clefs alist. Arguments clef-glyph and c0-position extend c0-pitch-alist.  
: [[Using non-standard clef positions and adding customized clef definitions|Link to example]]


Function: ly:add-option sym val description rest
Function: ly:add-option sym val description rest