Re: \omit TupletBracket

2024-05-16 Thread Aaron Hill

On 2024-05-16 7:54 pm, carsonm...@ca.rr.com wrote:

Aaron,

Thank you for the instruction yet how does it apply to my notation?



It is simply a fairly common mistake we see post on the mailing list.

For instance, new users are often tempted to put the square brackets 
*around* the notes:


  [c16 r 8]

This does not associate the beaming start with the c16.  Since [ is a 
post-event, it must look like this:


  c16[ r 8]


-- Aaron Hill



RE: \omit TupletBracket

2024-05-16 Thread carsonmark
Aaron,

Thank you for the instruction yet how does it apply to my notation?

Mark

-Original Message-
From: Aaron Hill  
Sent: Thursday, May 16, 2024 6:28 PM
To: carsonm...@ca.rr.com
Cc: 'Dimitri Sykias' ; 'Lilypond-User Mailing List'

Subject: Re: \omit TupletBracket

On 2024-05-16 5:57 pm, carsonm...@ca.rr.com wrote:
>   c16 [r c8]

It is important to understand that the syntax for beaming, like slurs,
requires the symbols to be post-fixed.

As such it is best to keep the symbols snug to the event they apply:

   c16[ r c8]

To a seasoned LilyPonder, this clearly indicates beaming beginning with the
16th note and ending with the 8th.


-- Aaron Hill




Re: \omit TupletBracket

2024-05-16 Thread Aaron Hill

On 2024-05-16 5:57 pm, carsonm...@ca.rr.com wrote:

  c16 [r c8]


It is important to understand that the syntax for beaming, like slurs, 
requires the symbols to be post-fixed.


As such it is best to keep the symbols snug to the event they apply:

  c16[ r c8]

To a seasoned LilyPonder, this clearly indicates beaming beginning with 
the 16th note and ending with the 8th.



-- Aaron Hill



RE: \omit TupletBracket

2024-05-16 Thread carsonmark
Dimitri,

First three should be
  c16 [r c8]

Mark

-Original Message-
From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
 On Behalf Of Dimitri Sykias
Sent: Thursday, May 16, 2024 4:07 PM
To: Lilypond-User Mailing List 
Subject: \omit TupletBracket

Although the output is fine when I use "\omit TupletBracket” I get a Warning of 
Unattached Beam Event.

\new RhythmicStaff \with { \consists Clef_engraver } { \time 3/4
  \omit Score.BarLine
  \clef percussion
  [c16 r c8] \tuplet 3/2 {c4 c c~} | \tuplet 3/2 {c8 c c~} c16 c c c r4 | c8 c4 
c8~ c16 c8 c16 | c2~c8  \omit TupletBracket \tuplet 3/2 {c16 c c} |\tuplet 5/4 
{c8 c c c c} r8 c | }

Thanks!




\omit TupletBracket

2024-05-16 Thread Dimitri Sykias
Although the output is fine when I use "\omit TupletBracket” I get a Warning of 
Unattached Beam Event.

\new RhythmicStaff \with { \consists Clef_engraver }
{ \time 3/4
  \omit Score.BarLine
  \clef percussion
  [c16 r c8] \tuplet 3/2 {c4 c c~} | \tuplet 3/2 {c8 c c~} c16 c c c r4 | c8 c4 
c8~ c16 c8 c16 | c2~c8  \omit TupletBracket \tuplet 3/2 {c16 c c} |\tuplet 5/4 
{c8 c c c c} r8 c |
}

Thanks!


Re: manual repeat mark syntax question

2024-05-16 Thread Paul Scott

Thank you!

Paul


On 5/16/24 11:42, Jean Abou Samra wrote:

    \set Score.repeatCommands = #'((volta ,voltaOpt))

  ^^^

This should be ` not ' .






Re: manual repeat mark syntax question

2024-05-16 Thread Jean Abou Samra

>    \set Score.repeatCommands = #'((volta ,voltaOpt))
 ^^^

This should be ` not ' .




signature.asc
Description: This is a digitally signed message part


manual repeat mark syntax question

2024-05-16 Thread Paul Scott

What is wrong with the following code that gives:

programming error: Trying to interpret a non-markup object: (unquote 
voltaOpt)



If it isn't clear, I'm trying to create a 3rd optional ending.

\version "2.25.16"

voltaOpt = \markup{Optional}
\fixed c' {
  a1
  \repeat segno 2 {
    g1
    \volta 2
    \volta 1 {
  \repeat volta 2 { a1 b1 }
  \alternative{ c'1 d' } \bar "||"
  \set Score.repeatCommands = #'((volta ,voltaOpt))
  e1
  \set Score.repeatCommands = #'((volta #f))
    }
  }
}


TIA,

Paul





Re: Custom colors in fret diagrams

2024-05-16 Thread Nikita Borisenko
Hi there,

Would it be accurate to assume that custom hex/rgb colors in fret diagrams
are not supported as of now?

Sincerely,
Nikita

On Thu, May 16, 2024 at 2:29 AM Nikita Borisenko  wrote:

> Hi Jean,
>
> Thanks for the quick response.
>
> Putting quotes around it doesn't really help. The expression gets ignored
> and the dot comes with the default black color in this case.
>
> Sincerely,
> Nikita
>
> On Thu, May 16, 2024 at 2:18 AM Jean Abou Samra 
> wrote:
>
>> > Quick question on coloring dots in fret-diagrams. There is an option to
>> use
>> > predefined colors from normal, CSS or X11 palettes which works
>> perfectly well
>> > in the fret-diagram-verbose with the snippet below:
>> >
>> > >  (place-fret 3 6 3 dodgerblue2)
>> >
>> > For some reason I cannot get it working with custom RGB or Hex colors
>> like
>> > this:
>> >
>> > > (place-fret 3 6 3 #FF)
>>
>>
>> You should put quotes around it:
>>
>> (place-fret 3 6 3 "#FF")
>>
>> HTH
>> Jean
>>
>>
>>


Re: \once squashedPosition = 100 ('O_o!)

2024-05-16 Thread Pierre-Luc Gauthier
What‽ How in the world could I have not found this for myself… So much shame.

Thank you Timothy :-)

Le jeu. 16 mai 2024, à 10 h 16, Timothy Lanfear  a écrit :
>
> On 16/05/2024 14:56, Pierre-Luc Gauthier wrote:
>
> Hello there,
>
> Is it possible to \override the squashedPosition e.g. \once ?
>
> Yes, \once \set squashedPosition = #4
>
> --
> Timothy Lanfear, Bristol, UK.



-- 
Pierre-Luc Gauthier



Re: \once squashedPosition = 100 ('O_o!)

2024-05-16 Thread Timothy Lanfear

On 16/05/2024 14:56, Pierre-Luc Gauthier wrote:

Hello there,

Is it possible to \override the squashedPosition e.g. \once ?


Yes, \once \set squashedPosition = #4

--
Timothy Lanfear, Bristol, UK.


\once squashedPosition = 100 ('O_o!)

2024-05-16 Thread Pierre-Luc Gauthier
Hello there,

Is it possible to \override the squashedPosition e.g. \once ?

\version "2.25.15"

\layout {
  \context {
\Voice
\consists "Pitch_squash_engraver"
%squashedPosition = #0
  }
}
{
  %\improvisationOff
  c'4 c'
  \improvisationOn
  c'
  \once \override Voice.squashedPosition = #4
  c'
  \improvisationOff
  c'
}

The ML archive did not provide much help.
-- 
Pierre-Luc Gauthier



Re: Footnotes for the entire bar

2024-05-16 Thread Kieren MacMillan
Hi there,

> I want to create footnotes which attach to a specified bar or just a 
> particular time

Did you try attaching it to a mark? e.g.

%%%  SNIPPET BEGINS
\version "2.25.11"

\paper {
  tagline = ##f
}

fn_ossia =
#(define-music-function (os music) (pair? ly:music?)
  #{
  \once \override Score.Footnote.annotation-line = ##f
  \footnote \default #os \markup {
\italic "Ossia:"
\score {
  \new Staff \with {
%% Magnification, removing unnecessary elements, ...
  } { #music }
  \layout {
%% If any of those were set in a higher-level \layout
ragged-right = ##t
ragged-last = ##t
ragged-bottom = ##t
ragged-last-bottom = ##t
indent = 0
  }
}
  } Score.RehearsalMark
  #})

{
  \fn_ossia #'(1 . 3) { c'1 } \mark \markup \null
  c''1
  \fn_ossia #'(1 . 3) { d'1 } \mark \markup \null
  f'1
}
%%%  SNIPPET ENDS

Hope this helps!
Kieren.
__

My work day may look different than your work day. Please do not feel obligated 
to read or respond to this email outside of your normal working hours.