Re: Brackets/TextSpan when connecting notes on different lines

2021-02-11 Thread Rachel Green
I figured it out!!! Right-broken and left-broken were the settings I needed to 
adjust.

upperBracket = { %upperBracket
  \override TextSpanner.style = #'line
  \override TextSpanner.to-barline = ##f
  \override TextSpanner.direction = #UP
  \override TextSpanner.bound-details =
  #`(
   (left
(text . ,#{ \markup { \draw-line #'( 0 . -.6) } #})
(Y . 0)
(padding . 0.25)
(attach-dir . -2)
   )
   (right
(text . ,#{ \markup { \draw-line #'( 0 . -.6) } #})
(Y . 0)
(padding . 0.25)
(attach-dir . 2)
)
   (right-broken
(text . ,#{ \markup { \draw-line #'( 0 . 0) } #})
(Y . 0)
(padding . 0.25)
(attach-dir . 2)
)
   (left-broken
(text . ,#{ \markup { \draw-line #'( 0 . 0) } #})
(Y . 0)
(padding . 0.25)
(attach-dir . -0.5)
)
   )
}




> On Feb 11, 2021, at 2:37 PM, Rachel Green  wrote:
> 
> Hello,
> How would I change the settings for a bracket that connects notes on 
> different lines so that it does not include the part  of the bracket that 
> points down? I’ve drawn in red what I would like the bracket to look like. I 
> would also like the bracket on line 2 to start to the right of the bar number.
> 
> Best,
> Rachel
> 
> 
> 
> Here is a snippet:
> 
> \version "2.19.80"
> 
> \language "english"
> #(set-global-staff-size 20)
> 
> upperBracket = { %upperBracket
>   \override TextSpanner.style = #'line
>   \override TextSpanner.to-barline = ##f
>   \override TextSpanner.direction = #UP
>   % \override TextSpanner.bound-details.left-broken.text = ##f
>   \override TextSpanner.bound-details.left.padding = #3
>   \override TextSpanner.bound-details =
>   #`(
>(left
> (text . ,#{ \markup { \draw-line #'( 0 . -.5) } #})
> (Y . 0)
> (padding . 0.25)
> (attach-dir . -2)
>)
>(right
> (text . ,#{ \markup { \draw-line #'( 0 . -.5) } #})
> (Y . 0)
> (padding . 0.25)
> (attach-dir . 2)
> )
>)
> }
> 
> 
> sta = \startTextSpan
> sto = \stopTextSpan
> 
> Treble = \relative c''
>   {
> \clef treble
> \upperBracket
> \set Score.markFormatter = #format-mark-box-alphabet
> % \tempo 4=60
> \time 3/8
> \key a \major
> % \numericTimeSignature
> \override Glissando.style = #'trill
> cs4\sta-1 a8-2 |
> fs8.-3\sto\sta e'16-1\sto\sta d8-2 | \break
> cs4-3\sto a8-1\sta |
> fs4.-2\sto | 
>   }
> 
> 
> \score {
>   \new Staff { \Treble }
> }
> 



Re: lilypond-book executable

2021-02-11 Thread David Wright
On Thu 11 Feb 2021 at 17:00:33 (-0600), Luke Bang wrote:
> I just installed lilypond and according to the website I see that there's a
> lilypond-book executable I can run in the Windows version.
> I don't see this in the /usr/bin directory, but I do see some other file by
> the name lilypond-book which is not an executable. Am I missing something?

A listing of the directory might help. For linux, that looks like:

$ ls … lilypond-2.22.0-1.linux-64/bin/
lrwxrwxrwx  67 abc2ly -> 
/…/lilypond-2.22.0-1.linux-64/bin/lilypond-wrapper.python3
lrwxrwxrwx  67 convert-ly -> 
/…/lilypond-2.22.0-1.linux-64/bin/lilypond-wrapper.python3
lrwxrwxrwx  67 etf2ly -> 
/…/lilypond-2.22.0-1.linux-64/bin/lilypond-wrapper.python3
-rwxr-x--- 180 lilypond
lrwxrwxrwx  67 lilypond-book -> 
/…/lilypond-2.22.0-1.linux-64/bin/lilypond-wrapper.python3
lrwxrwxrwx  65 lilypond-invoke-editor -> 
/…/lilypond-2.22.0-1.linux-64/bin/lilypond-wrapper.guile
-rwxr-x--- 555 lilypond-wrapper.guile
-rwxr-x--- 557 lilypond-wrapper.python3
lrwxrwxrwx  67 midi2ly -> 
/…/lilypond-2.22.0-1.linux-64/bin/lilypond-wrapper.python3
lrwxrwxrwx  67 mup2ly -> 
/…/lilypond-2.22.0-1.linux-64/bin/lilypond-wrapper.python3
lrwxrwxrwx  67 musicxml2ly -> 
/…/lilypond-2.22.0-1.linux-64/bin/lilypond-wrapper.python3
-rwxr-x--- 874 uninstall-lilypond
$ 

So almost all the programs that one commands are symlinks to
wrapper scripts that ensure the correct library versions are used.
(The number are "file" sizes.)

Cheers,
David.



lilypond-book executable

2021-02-11 Thread Luke Bang
Hi,
I just installed lilypond and according to the website I see that there's a
lilypond-book executable I can run in the Windows version.
I don't see this in the /usr/bin directory, but I do see some other file by
the name lilypond-book which is not an executable. Am I missing something?

Thanks,
Luke


Re: Frescobaldi 3.1.3 and landscape music

2021-02-11 Thread David Wright
On Thu 11 Feb 2021 at 15:53:54 (-0500), t...@risingdove.com wrote:
> I just updated Lilypond to version 2.22.0 and Frescobaldi to version 3.1.3. I 
> brought up a 
> piece that's engraved in landscape orientation. Frescobaldi and Lilypond work 
> fine, the piece 
> is engraved -- but Frescobaldi displays it in portrait orientation, so it 
> appears on its side!
> 
> When I use Fresco's LilyPond|Engrave(publish) command, Adobe Acrobat shows it 
> the same 
> way! What have I missed?

What version previously set the piece you brought up?
Bear in mind that the effect of   #(set-paper-size "a4" 'landscape)
changed between 2.18.2 and 2.22.0.

(I can't speak for Frescobaldi.)

Cheers,
David.



Brackets/TextSpan when connecting notes on different lines

2021-02-11 Thread Rachel Green
Hello,
How would I change the settings for a bracket that connects notes on different 
lines so that it does not include the part  of the bracket that points down? 
I’ve drawn in red what I would like the bracket to look like. I would also like 
the bracket on line 2 to start to the right of the bar number.

Best,
Rachel


Here is a snippet:

\version "2.19.80"

\language "english"
#(set-global-staff-size 20)

upperBracket = { %upperBracket
  \override TextSpanner.style = #'line
  \override TextSpanner.to-barline = ##f
  \override TextSpanner.direction = #UP
% \override TextSpanner.bound-details.left-broken.text = ##f
  \override TextSpanner.bound-details.left.padding = #3
  \override TextSpanner.bound-details =
  #`(
   (left
(text . ,#{ \markup { \draw-line #'( 0 . -.5) } #})
(Y . 0)
(padding . 0.25)
(attach-dir . -2)
   )
   (right
(text . ,#{ \markup { \draw-line #'( 0 . -.5) } #})
(Y . 0)
(padding . 0.25)
(attach-dir . 2)
)
   )
}


sta = \startTextSpan
sto = \stopTextSpan

Treble = \relative c''
  {
\clef treble
\upperBracket
\set Score.markFormatter = #format-mark-box-alphabet
% \tempo 4=60
\time 3/8
\key a \major
% \numericTimeSignature
\override Glissando.style = #'trill
cs4\sta-1 a8-2 |
fs8.-3\sto\sta e'16-1\sto\sta d8-2 | \break
cs4-3\sto a8-1\sta |
fs4.-2\sto |
  }


\score {
  \new Staff { \Treble }
}



Bracket-snippet.pdf
Description: Bracket-snippet.pdf


Re: Frescobaldi 3.1.3 and landscape music

2021-02-11 Thread Aaron Hill

On 2021-02-11 12:53 pm, t...@risingdove.com wrote:

I just updated Lilypond to version 2.22.0 and Frescobaldi to version
3.1.3. I brought up a
piece that's engraved in landscape orientation. Frescobaldi and
Lilypond work fine, the piece
is engraved -- but Frescobaldi displays it in portrait orientation, so
it appears on its side!

When I use Fresco's LilyPond|Engrave(publish) command, Adobe Acrobat
shows it the same
way! What have I missed?


Are you using

  #(set-default-paper-size "a6" 'landscape)

or

  #(set-default-paper-size "a6landscape")

?

The former simply rotates the content while keeping the normal paper 
dimensions.  The latter swaps the height and width values without 
rotation.  See [1].


[1]: 
http://lilypond.org/doc/v2.22/Documentation/notation/paper-size-and-automatic-scaling



-- Aaron Hill



Frescobaldi 3.1.3 and landscape music

2021-02-11 Thread tim
I just updated Lilypond to version 2.22.0 and Frescobaldi to version 3.1.3. I 
brought up a 
piece that's engraved in landscape orientation. Frescobaldi and Lilypond work 
fine, the piece 
is engraved -- but Frescobaldi displays it in portrait orientation, so it 
appears on its side!

When I use Fresco's LilyPond|Engrave(publish) command, Adobe Acrobat shows it 
the same 
way! What have I missed?

-- 
Tim Slattery
t...@risingdove.com





Re: Offset from the left edge

2021-02-11 Thread Xavier Scheuer
On Thu, 11 Feb 2021 at 20:44, Андрей Абраменко 
wrote:
>
> Hello. I get an offset on the left side of the page for the first line
and don't know why or how to get rid of it.

Hello,

\paper {
  indent = 0
}

Cheers,
Xavier

-- 
Xavier Scheuer 


Re: Offset from the left edge

2021-02-11 Thread Martín Rincón Botero
Hi,

you can remove indentation by having
\layout {
indent = #0
}
Cheers,
Martín.

www.martinrinconbotero.com

On feb. 11 2021, at 7:00 pm, Андрей Абраменко  wrote:
> Hello. I get an offset on the left side of the page for the first line and 
> don't know why or how to get rid of it.
>
> \version "2.20.0"
>
> #(define mydrums '(
> (bassdrum default #f -5)
> (pedalhihat cross #f -5)
> (snare default #f 1)
> (hihat cross #f 5)
> (ridecymbal diamond #f 5)
> (himidtom default #f 3)
> (lowmidtom default #f -2)
> (lowtom default #f -3)
> )
> )
>
> \header {
> % Remove default LilyPond tagline
> tagline = ##f
> }
>
> \new DrumStaff <<
> \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
> \drummode {
> \numericTimeSignature
> \time 4/4
> \stemUp
>
> \repeat percent 4 {16^> sn  sn} |
> \repeat percent 4 {16 sn^>  sn} |
> \repeat percent 4 {16 sn ^> sn} |
> \repeat percent 4 {16 sn  sn^>} |
> \break
> \repeat percent 4 {16^> sn^>  sn} |
> \repeat percent 4 {16 sn^> ^> sn} |
> \repeat percent 4 {16 sn ^> sn^>} |
> \repeat percent 4 {16^> sn  sn^>} |
> \break
> }
> >>
>
>
> Can anybody explain how do delete it?
>
>



Offset from the left edge

2021-02-11 Thread Андрей Абраменко
Hello. I get an offset on the left side of the page for the first line and don't know why or how to get rid of it. \version "2.20.0" #(define mydrums '(    (bassdrum default #f -5)    (pedalhihat cross #f -5)    (snare default #f 1)    (hihat cross #f 5)    (ridecymbal diamond #f 5)    (himidtom default #f 3)    (lowmidtom default #f -2)    (lowtom default #f -3)  )) \header {  % Remove default LilyPond tagline  tagline = ##f} \new DrumStaff <<  \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)  \drummode {    \numericTimeSignature    \time 4/4    \stemUp     \repeat percent 4 {16^> sn  sn} |    \repeat percent 4 {16 sn^>  sn} |    \repeat percent 4 {16 sn ^> sn} |    \repeat percent 4 {16 sn  sn^>} |    \break    \repeat percent 4 {16^> sn^>  sn} |    \repeat percent 4 {16 sn^> ^> sn} |    \repeat percent 4 {16 sn ^> sn^>} |    \repeat percent 4 {16^> sn  sn^>} |    \break  }>>  Can anybody explain how do delete it?

Re: Microtonal notation

2021-02-11 Thread Jean Abou Samra


Le 11/02/2021 à 17:06, Freeman Gilmore a écrit :

Is there a version of,
"from St. Matthew Passion, J. S. Bach"
http://lsr.di.unimi.it/LSR/Item?id=786,
that will work with \version "2.20.0"?

Thank you, ƒg


Just removing "parser" in

#(ly:parser-set-note-names parser pitchnames)

should get you done.

Best,
Jean Abou Samra



Microtonal notation

2021-02-11 Thread Freeman Gilmore
Is there a version of,
"from St. Matthew Passion, J. S. Bach"
http://lsr.di.unimi.it/LSR/Item?id=786,
that will work with \version "2.20.0"?

Thank you, ƒg



Re: Error : Lilypond version 2.19.55 Error invoked

2021-02-11 Thread ebenezer

Hello Miguel,

I've only been coding LP for a short while so my suggestion may not be 
the best way. I took your code and changed 2 things:


1. the existing Staff definition was problematic, I couldn't understand 
the errors, so suggest this Staff definition before the music,


\new Staff = "bassStaff"
  \with { instrumentName = #"Bass" }         
<<
  \musicInHere
>>

2. Also, it seems as though Sta@.midiInstrument is incorrect, should be 
Staff.midiInstrument


When I made these changes I compiled LP successfully (using version 
2.22.0) except for the bar check failure on the last line of music. Thus,


\new Staff = "bassStaff"
  \with { instrumentName = #"Bass" }
<<
  {
\clef bass
\set Staff.midiInstrument = #"acoustic bass"
\stemDown
\numericTimeSignature\time 4/4
\key g\minor
\autoBeamOn
% -- BASS VERSE_A
g,4 d,8 g,4 d,8 c4 |
g,8 d,4  r8 d,8 g,8  g,8 d,8 |
g,8 d,4 c4 d,4 r8 |
d,4 g,4 d,8 g,4 d,8 |
% --
c4 g,8 d,4 r8 d,8 g,8 |
% --
g,8 d,4 g,8 d,8 c8 g,4 |
r8 d,8 g,4 d,8 g,4 d,8|
c,4 g,8 d,4 r8 c,8 g,8 |
d,8 g,8 g,4 d,4 d,4 |
g,,4. r8 d,8 g,4 c,8 |
g,4 c,8 c4 g,8 d,4 |
d,8 d,4 g,8 d,4 g,4 |
d,4 g,4 g,,4. r8 r8 | % -- bar check failure here, 1/8 note (or 
rest) too many :)

  }
>>

Hope that helps.


On 2021-02-11 13:11, Miguel Abrams wrote:

Dear community:

I am reaching out for assistance in regard to the following error.

Although I regard my knowledge of Lilypond to be primary, I have been 
a more than excited user for over two years now, and have never come 
across an error which I could not 'somehow' work around, at least 
until now.


The following error was reported and archived in 2009, by another user 
(JUNE 3 2019, (2.19.82).


However, I have been unable to find its resolution in the Archive. The 
error has now happened to my code, and I require some assistance to 
get by it.


_

I am using MAC OS 10.13.6 HIgh Sierra, and Lilypond 2.19.55

_
The compile and subsequent engraver output fails, unless I replace a 
'note' with a rest.


ERROR :

v/Parsing...Interpreting music...[8][16][24][32][40][48][56]ERROR: In 
procedure ly:trampoline:ERROR: Wrong type argument in position 3 
(expecting Translator): #reference>Exited with return code 1




I provide a clip of the code below where the error is invoked, as 
shown in between


the 2 % % marks. The error seems to point to the 2nd last note the 
'flagged' measure.


Please note that if I replace that beat with an r8, the compile and 
engraver run successfully.


If I leave a note in that position, the error is invoked.

It appears to me, as noted in this email, that the same error had been 
reported in June 2019.




Also, I am using in this piece the Add Lyrics functionality.



%%%

new Staff{   \with {        instrumentName = #"Bass"    }         

{    

              \clef bass           

\set Sta@.midiInstrument = #"acoustic bass"           

\stemDown                              \numericTimeSignature\time 4/4  
              \key g\minor                 


\autoBeamOn       

%BASS VERSE_A         

g,4 d,8 g,4 d,8 c4 |         

 g,8 d,4  r8 d,8 g,8  g,8 d,8 |         

 g,8 d,4 c4 d,4 r8 |         

d,4 g,4 d,8 g,4 d,8 |

%         

c4 g,8 d,4 r8 d,8 g,8 |

%         

g,8 d,4 g,8 d,8 c8 g,4 |         

 r8 d,8 g,4 d,8 g,4 d,8|         

 c,4 g,8 d,4 r8 c,8 g,8 |         

 d,8 g,8 g,4 d,4 d,4 |       

 g,,4. r8 d,8 g,4 c,8 |         

 g,4 c,8 c4 g,8 d,4 |         

d,8 d,4 g,8 d,4 g,4 |         

d,4 g,4 g,,4. r8 r8 |

___

An assistance will be most appreciated.

Michael Abrams

miguelabram...@gmail.com 





Re: Error : Lilypond version 2.19.55 Error invoked

2021-02-11 Thread Carl Sorensen


From: lilypond-user  
on behalf of Jean Abou Samra 
Date: Thursday, February 11, 2021 at 7:09 AM
To: Miguel Abrams , "lilypond-user@gnu.org" 

Subject: Re: Error : Lilypond version 2.19.55 Error invoked



Le 11/02/2021 à 14:11, Miguel Abrams a écrit :
Dear community:

I am reaching out for assistance in regard to the following error.

Although I regard my knowledge of Lilypond to be primary, I have been a more 
than excited user for over two years now, and have never come across an error 
which I could not 'somehow' work around, at least until now.

The following error was reported and archived in 2009, by another user (JUNE 3 
2019, (2.19.82).

However, I have been unable to find its resolution in the Archive. The error 
has now happened to my code, and I require some assistance to get by it.

_


I am using MAC OS 10.13.6 HIgh Sierra, and Lilypond 2.19.55
_
The compile and subsequent engraver output fails, unless I replace a 'note' 
with a rest.

ERROR :


v/Parsing...Interpreting music...[8][16][24][32][40][48][56]ERROR: In procedure 
ly:trampoline:ERROR: Wrong type argument in position 3 (expecting Translator): 
#Exited with return code 1



I provide a clip of the code below where the error is invoked, as shown in 
between

the 2 % % marks. The error seems to point to the 2nd last note the 'flagged' 
measure.

Please note that if I replace that beat with an r8, the compile and engraver 
run successfully.

If I leave a note in that position, the error is invoked.

It appears to me, as noted in this email, that the same error had been reported 
in June 2019.



Also, I am using in this piece the Add Lyrics functionality.



%%%

new Staff{   \with {        instrumentName = #"Bass"    }         

{    

              \clef bass           

\set Sta@.midiInstrument = #"acoustic bass"         
  

\stemDown                              \numericTimeSignature\time 4/4           
     \key g\minor                 

\autoBeamOn       

%BASS VERSE_A         

g,4 d,8 g,4 d,8 c4 |         

 g,8 d,4  r8 d,8 g,8  g,8 d,8 |         

 g,8 d,4 c4 d,4 r8 |         

d,4 g,4 d,8 g,4 d,8 |

%         

c4 g,8 d,4 r8 d,8 g,8 |

%         

g,8 d,4 g,8 d,8 c8 g,4 |         

 r8 d,8 g,4 d,8 g,4 d,8|         

 c,4 g,8 d,4 r8 c,8 g,8 |         

 d,8 g,8 g,4 d,4 d,4 |       

 g,,4. r8 d,8 g,4 c,8 |         

 g,4 c,8 c4 g,8 d,4 |         

d,8 d,4 g,8 d,4 g,4 |         

d,4 g,4 g,,4. r8 r8 |

___

An assistance will be most appreciated.



Hello,

This is a garbage collection error. The bug is rooted in
LilyPond's hard core written in C++, so there is not much
that you can do as a user to fix it. Sorry.

I agree that it is a garbage collection error.  In many cases this behavior is 
triggered as we start to run out of memory.  I agree with Jean that you should 
try  a newer version.  If the problem exists in the newer version, you should 
try getting a 64-bit version of LilyPond.  The main distribution is 32-bit (due 
to restrictions by Apple on the use of their API).  You can build your own 
64-bit version using MacPorts, or you can download a 64-bit version from this 
site: https://bintray.com/marnen/lilypond-darwin-64

The most recent version  on bintray is 2.20.0, but that is still a released 
version.



Carl






Re: Stemless noteheads

2021-02-11 Thread stefano franchi
On Wed, Feb 10, 2021 at 11:36 PM stefano franchi 
wrote:


> There must be a quick and fast solution, given Lilypond's awesome power,
> but I just can't seem to find it. The closest I got was to override
> Stem.thickness, but apparently it cannot be set to 0---a faint stem is
> printed nonetheless.
>
>
I knew it had to be super-simple! And I got three solutions in less than 8
hours:

a. \hide Stem
b. \hide Staff.Stem
c. stemOff = {\omit Staff.Stem \omit Staff.Beam \omit Staff.Flag}
   \stemOff

Kudos to Fernando Gil for his most complete solution (c), even though the
shorter (a) and (b) worked as well in my easy use case.

Thanks everyone!

-- 
__
Stefano Franchi

stefano.fran...@gmail.com 
*https://www.researchgate.net/profile/Stefano_Franchi*



Re: Error : Lilypond version 2.19.55 Error invoked

2021-02-11 Thread Jean Abou Samra


Le 11/02/2021 à 14:11, Miguel Abrams a écrit :

Dear community:

I am reaching out for assistance in regard to the following error.

Although I regard my knowledge of Lilypond to be primary, I have been 
a more than excited user for over two years now, and have never come 
across an error which I could not 'somehow' work around, at least 
until now.


The following error was reported and archived in 2009, by another user 
(JUNE 3 2019, (2.19.82).


However, I have been unable to find its resolution in the Archive. The 
error has now happened to my code, and I require some assistance to 
get by it.


_

I am using MAC OS 10.13.6 HIgh Sierra, and Lilypond 2.19.55

_
The compile and subsequent engraver output fails, unless I replace a 
'note' with a rest.


ERROR :

v/Parsing...Interpreting music...[8][16][24][32][40][48][56]ERROR: In 
procedure ly:trampoline:ERROR: Wrong type argument in position 3 
(expecting Translator): #reference>Exited with return code 1




I provide a clip of the code below where the error is invoked, as 
shown in between


the 2 % % marks. The error seems to point to the 2nd last note the 
'flagged' measure.


Please note that if I replace that beat with an r8, the compile and 
engraver run successfully.


If I leave a note in that position, the error is invoked.

It appears to me, as noted in this email, that the same error had been 
reported in June 2019.




Also, I am using in this piece the Add Lyrics functionality.



%%%

new Staff{   \with {        instrumentName = #"Bass"    }         

{    

              \clef bass           

\set Sta@.midiInstrument = #"acoustic bass"           

\stemDown                              \numericTimeSignature\time 4/4  
              \key g\minor                 


\autoBeamOn       

%BASS VERSE_A         

g,4 d,8 g,4 d,8 c4 |         

 g,8 d,4  r8 d,8 g,8  g,8 d,8 |         

 g,8 d,4 c4 d,4 r8 |         

d,4 g,4 d,8 g,4 d,8 |

%         

c4 g,8 d,4 r8 d,8 g,8 |

%         

g,8 d,4 g,8 d,8 c8 g,4 |         

 r8 d,8 g,4 d,8 g,4 d,8|         

 c,4 g,8 d,4 r8 c,8 g,8 |         

 d,8 g,8 g,4 d,4 d,4 |       

 g,,4. r8 d,8 g,4 c,8 |         

 g,4 c,8 c4 g,8 d,4 |         

d,8 d,4 g,8 d,4 g,4 |         

d,4 g,4 g,,4. r8 r8 |

___

An assistance will be most appreciated.



Hello,

This is a garbage collection error. The bug is rooted in
LilyPond's hard core written in C++, so there is not much
that you can do as a user to fix it. Sorry.

What you can do is help understand the problem:

- Does it reproduce with recent versions? LilyPond 2.22
  is a stable version and was released weeks ago. A ton of
  bugs have been fixed since version 2.19.55!

- If not, could you please post your complete code, if
  that is possible regarding copyright, etc.? This way,
  others can try to reproduce it on other machines.

- If not, would you mind sending it to me privately? I
  can confidentially look for unusual code.

- If you do mind: do you have experience with using GDB?


Thank you,
Jean Abou Samra



Error : Lilypond version 2.19.55 Error invoked

2021-02-11 Thread Miguel Abrams
Dear community:

I am reaching out for assistance in regard to the following error.

Although I regard my knowledge of Lilypond to be primary, I have been a
more than excited user for over two years now, and have never come across
an error which I could not 'somehow' work around, at least until now.

The following error was reported and archived in 2009, by another user (JUNE
3 2019, (2.19.82).

However, I have been unable to find its resolution in the Archive. The
error has now happened to my code, and I require some assistance to get by
it.

_

I am using MAC OS 10.13.6 HIgh Sierra, and Lilypond 2.19.55
_
The compile and subsequent engraver output fails, unless I replace a 'note'
with a rest.

ERROR :

v/Parsing...Interpreting music...[8][16][24][32][40][48][56]ERROR: In
procedure ly:trampoline:ERROR: Wrong type argument in position 3 (expecting
Translator): #Exited with
return code 1




I provide a clip of the code below where the error is invoked, as shown in
between

the 2 % % marks. The error seems to point to the 2nd last note the
'flagged' measure.


Please note that if I replace that beat with an r8, the compile and
engraver run successfully.


If I leave a note in that position, the error is invoked.


It appears to me, as noted in this email, that the same error had been
reported in June 2019.




Also, I am using in this piece the Add Lyrics functionality.





%%%

new Staff{ \with { instrumentName = #"Bass" }


{

\clef bass

\set Sta@.midiInstrument = #"acoustic bass"

\stemDown \numericTimeSignature\time 4/4 \key g\minor

\autoBeamOn


%BASS VERSE_A

g,4 d,8 g,4 d,8 c4 |

 g,8 d,4 r8 d,8 g,8 g,8 d,8 |

 g,8 d,4 c4 d,4 r8 |

d,4 g,4 d,8 g,4 d,8 |


%

c4 g,8 d,4 r8 d,8 g,8 |

%

g,8 d,4 g,8 d,8 c8 g,4 |

 r8 d,8 g,4 d,8 g,4 d,8|

 c,4 g,8 d,4 r8 c,8 g,8 |

 d,8 g,8 g,4 d,4 d,4 |

 g,,4. r8 d,8 g,4 c,8 |

 g,4 c,8 c4 g,8 d,4 |

d,8 d,4 g,8 d,4 g,4 |

d,4 g,4 g,,4. r8 r8 |


___


An assistance will be most appreciated.


Michael Abrams

miguelabram...@gmail.com


Re: Stemless noteheads

2021-02-11 Thread James.Correa
Hi Stefano,

You can use:

\hide Stem

---
James Correa
Composer - guitarist - sound designer
http://www.jamescorrea.net
http://wp.ufpel.edu.br/labcomp/

Sent with [ProtonMail](https://protonmail.com/) Secure Email.

‐‐‐ Original Message ‐‐‐
On Thursday, February 11th, 2021 at 02:36, stefano franchi 
 wrote:

> I feel very stupid, but I just spent an hour reading through the manuals, 
> searching, and so on, and I can't find a way to make stemless notes (as they 
> are often used, for instance, to indicate pitch sequences in a text-based 
> discussion, or as an aside in a score to indicate perhaps an uncommon scale, 
> etc.).
>
> There must be a quick and fast solution, given Lilypond's awesome power, but 
> I just can't seem to find it. The closest I got was to override 
> Stem.thickness, but apparently it cannot be set to 0---a faint stem is 
> printed nonetheless.
>
> --
>
> __
> Stefano Franchi
>
> [stefano.fran...@gmail.com](mailto:stef...@tamu.edu)
> https://www.researchgate.net/profile/Stefano_Franchi

Re: page-limit-inter-system-space

2021-02-11 Thread Richard Shann
On Tue, 2021-02-09 at 16:47 +, Carl Sorensen wrote:
> 
> On 2/9/21, 8:57 AM, "lilypond-user on behalf of Richard Shann"  pond-user-bounces+carl.d.sorensen=gmail@gnu.org on behalf of rich
> a...@rshann.plus.com> wrote:
> 
> Looking in the second link you gave, where the feature was
> removed, I
> don't see an explanation as to why it was removed: so I wonder if
> there
> is some other way of limiting the system to system spacing so
> that it
> spreads out to fill the page only to a limited extent. I can
> always
> manually insert blank space after the movement, but it would be
> nicer
> not to have to design the amount of space every time it happens -
> indeed nicer not to have to intervene at all.
> 
> The feature was removed because the page-spacing algorithm was
> completely redone.  The new spacing algorithm is more configurable,
> but it is not clear that the default settings are optimal.  It is
> also not clear that users can effectively use the spacing values
> based on the listings in the Notation Reference.  This probably cries
> out for an entry in the Learning Manual about how to use the vertical
> spacing variables.
> 
> Here's a thread that shows some suggestions for changes to the
> default values.  I have not tried them to see how well they work.
> 
> https://lilypond-user.gnu.narkive.com/xebxLJaX/request-for-engraving-
> suggestions

Thanks - I've now tested out setting system-system-
spacing.stretchability and I'm pretty sure most people would find the
default value 

system-system-spacing = #'((basic-distance . 12) (minimum-distance . 8) 
(padding . 1) (stretchability . 60))

which is in paper-defaults-init.ly to be *much* too high (60 => 2 ??).
And I see that the markup to score stretchability also needs to be much
reduced to prevent the titles appearing at the top of the page and the
music much lower.

Thanks again to all who helped.

Richard