On Fri, 2023-08-04 at 08:49 -0700, Donald J. Stewart wrote: > I'm having a problem changing from a 'Percussion Clef' (called 'Drum > Clef' in > the menu) to 'Treble Clef'. > > When setting up a score, I chose Percussion Clef with the Clef > button. Under > Clefs->Initial Clef, a Percussion Clef isn't one of the choices.
yes, an historical quirk: it would be better if the Initial Clef command were replaced with a script to move the cursor to the start of the first bar, remove any Drum Clef directives and invoke the Clefs- >Clef Chooser command. As it is, you can't use the "Initial Clef" command to undo the effect of setting a Drum Clef, you have to use the Clef Chooser command. The reason for all this is that Drum Clef is not built into Denemo but uses Denemo Directives to emit the needed LilyPond syntax. > > When adding notes to Percussion Clef, the note appears 2 octaves > lower than > selected. I don't understand this sentence - what does "than selected" mean? If the cursor is on a certain line/space in the staff and you issue the command to insert, say, a quarter note then it is inserted at that line/space. There are no pitches formally associated with the Drum clef (well, I'm out of my depth here, I guess different lines/spaces are assigned meaning for certain percussion instruments), but internally Denemo assigns a bass clef to a Drum staff FWIW. > And when attempting to change to Treble Clef, Do you mean to change the initial clef to a Treble Clef or to insert a clef change. If the former, then this problem with the "Initial Clef" command kicks in - it doesn't know about Drum clef and makes a mess. You have to use Clef Chooser with the cursor at the start of the staff. If the latter, that is uncharted territory ... > the notes appear 2 > octaves higher in Print View than on Score View. Also, when > attempting to > change back to Percussion Clef, either the clef does not appear, or > the > command does not function. The above is surely a consequence of this inadequate "Initial Clef" command. If you start afresh(*) and avoid using it (using Clef Chooser instead), do you find anything that fails to do what you need? Richard (*)well, you don't literally have to start afresh, you can invoke the staff properties editor (Alt-Return) and delete the two Denemo Directives that support Drum clef... > > I've attached the denemo file to the work in progress. It's line 24. > > > _____________________________________________ > D o n a l d J S t e w a r t > s o u n d - X