Re: [Denemo-devel] accompaniment slashes

2018-02-23 Thread Richard Shann
On Fri, 2018-02-23 at 07:39 -0500, Bric wrote:
> > On February 23, 2018 at 5:03 AM Richard Shann wrote:
> > 
> > 
> > On Thu, 2018-02-22 at 19:15 -0500, Bric wrote:
> > > How do you produce accompaniment slashes such as the ones below,
> > > in
> > > Denemo? (image copied from Lilypond's
> > > http://lilypond.org/doc/v2.18/Documentation/notation/defining-new
> > > [...]
> > 
> I'm guessing that in addition to making the stem transparent one
> would also need to reposition the stem. I looked closer at the
> lilypond code for the snippet i quoted initially - it defines a
> context, within the \layout { } section.  Is there a way to insert
> the snippet, using denemo?  

Yes, I put

\layout {
\context {
  \name ImproVoice
  \type "Engraver_group"
  \consists "Note_heads_engraver"
  \consists "Text_engraver"
  \consists "Rhythmic_column_engraver"
  \consists "Pitch_squash_engraver"
  squashedPosition = #0
  \override NoteHead.style = #'slash
  \hide Stem
  \alias Voice
  }
  }
\layout {
\context {
  \Staff
  \accepts ImproVoice
}
}

into the text box that is offered by this command:

Command: LilyPond Score Prolog
Inserts LilyPond syntax for include files etc at head of score.
Location: Object Menu ▶ Score
Internal Name: ScoreProlog

and then surrounded some music with your \new ImproVoice {   }  and it
gave that sort of effect - see attached example.
(I'm not sure that the documentation for the ScoreProlog command is
correct ...)

If you did that often you would want to parcel it up as commands ...

Richard




bric.denemo
Description: XML document
___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] accompaniment slashes

2018-02-23 Thread Bric

On February 23, 2018 at 5:03 AM Richard Shann wrote:On Thu, 2018-02-22 at 19:15 -0500, Bric wrote:How do you produce accompaniment slashes such as the ones below, inDenemo? (image copied from Lilypond'shttp://lilypond.org/doc/v2.18/Documentation/notation/defining-new-contexts )There are trade-offs involved which I won't be able to cover in thisemail (in a rush - sorry) but attached is what occurred to me, usingthe Command: Insert Percent Style RepeatCreates a repeat from the selection, typeset in \"percent\" style.Location: Object Menu ▶ Notes/Rests ▶ Note InsertionInternal Name: PercentRepeatcommand.I'm not even sure what the official term for that is. I sawsomething under Notes/Rests -> Notehead Types -> Choose noteheads ->Slash, but that puts a slash on a quarter stem, which is not the sameas above.That would work too, there is a command to make the stem transparent(at least there's a bit of LilyPond syntax, I've an idea it may be inDenemo already).I'm guessing that in addition to making the stem transparent one would also need to reposition the stem. I looked closer at the lilypond code for the snippet i quoted initially - it defines a context, within the \layout { } section.  Is there a way to insert the snippet, using denemo?  \context {
  \name ImproVoice
  \type "Engraver_group"
  \consists "Note_heads_engraver"
  \consists "Text_engraver"
  \consists "Rhythmic_column_engraver"
  \consists "Pitch_squash_engraver"
  squashedPosition = #0
  \override NoteHead.style = #'slash
  \hide Stem
  \alias Voice
}
and also:\context {
  \Staff
  \accepts ImproVoice
}Then one could insert the opening and closing lilypond anywhere in denemo staff, to implement "ImproVoice": "\new ImproVoice {"  (to open) "}" (to close)(I implemented opening and closing lilypond ottava commands similar to the above)As my weird aside: I still can't post to lilypond-user, even thoughi'm subscribed to it. It seems i am blocked. Maybe someone herecould be graciohttps://lists.gnu.org/mailman/listinfo/lilypond-userusand pot a message to someone there (a moderator?If you go to https://lists.gnu.org/mailman/listinfo/lilypond-useryou get to contact the list admin (via this I think)Already emailed the admin.  Same bizarre silence, no-reply. lilypond-user-ow...@gnu.org, HTH Richard
 

___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel


Re: [Denemo-devel] accompaniment slashes

2018-02-23 Thread Richard Shann
On Thu, 2018-02-22 at 19:15 -0500, Bric wrote:
> How do you produce accompaniment slashes such as the ones below, in
> Denemo? (image copied from Lilypond's
> http://lilypond.org/doc/v2.18/Documentation/notation/defining-new-
> contexts )

There are trade-offs involved which I won't be able to cover in this
email (in a rush - sorry) but attached is what occurred to me, using
the 

Command: Insert Percent Style Repeat
Creates a repeat from the selection, typeset in \"percent\" style.
Location: Object Menu ▶ Notes/Rests ▶ Note Insertion
Internal Name: PercentRepeat

command.

> 
> 
> asdfasd
> I'm not even sure what the official term for that is.  I saw
> something under Notes/Rests -> Notehead Types -> Choose noteheads ->
> Slash, but that puts a slash on a quarter stem, which is not the same
> as above.

That would work too, there is a command to make the stem transparent
(at least there's a bit of LilyPond syntax, I've an idea it may be in
Denemo already).

> 
> As my weird aside:  I still can't post to lilypond-user, even though
> i'm subscribed to it.  It seems i am blocked.  Maybe someone here
> could be graciohttps://lists.gnu.org/mailman/listinfo/lilypond-userus
> and pot a message to someone there (a moderator?  
If you go to https://lists.gnu.org/mailman/listinfo/lilypond-user
you get to contact the list admin (via this I think)

lilypond-user-ow...@gnu.org, 

HTH Richard

slash-Default Score Layout.pdf
Description: Adobe PDF document


slash.denemo
Description: XML document
___
Denemo-devel mailing list
Denemo-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/denemo-devel