text under barline

2020-07-23 Thread Felipe Gasper
Hello,

I’m converting some Gregorian chant scores from GABC to Lilypond. I’m 
looking for a way to put a bit of italicized text (e.g., “Ps.”) under a 
barline, as is typical with some chant genres.

You can see an example here, on the 3rd line: 
https://gregobase.selapa.net/chant_img.php?id=1123

Does anyone know of a way to do this with Lilypond?

Thank you!

cheers,
-Felipe Gasper


Re: Tie position with sharps

2020-07-23 Thread Aaron Hill

On 2020-07-23 4:38 pm, Aaron Hill wrote:

On 2020-07-23 3:14 pm, Lukas-Fabian Moser wrote:

Hi,

consider:

\version "2.21.0"

\relative {
  g'1~ \break
  g^"normal tie"
}

\relative {
  ges'1~ \break
  ges^"low tie"
}

\relative {
  gis'1~ \break
  gis^"low tie"
}

I understand why the tie at the beginning of the second system of each
example has to sit a little bit lower if there is an accidental in the
way; but isn't the tie position in the third example (with sharp) a
trifle _too_ far down?


Attached is an image that compares the distance relative to the tie.
You can see the flat sits a little more snugly.

It would seem the tie is preferring to vertically align to staff
lines/positions.  After manually overlaying the ties in my image
editor, the staff lines are perfectly overlapping as well, albeit one
staff space lower.

The sharp extends low enough forcing the tie down an entire staff
space.  But this results in a slightly larger gap, because there is
slightly less than a staff space difference between the flat and
sharp's lower extent.


Now with the correct attachment.  (I *hate* email... no ability to edit 
without making noise.)



-- Aaron Hill

Re: Tie position with sharps

2020-07-23 Thread Aaron Hill

On 2020-07-23 3:14 pm, Lukas-Fabian Moser wrote:

Hi,

consider:

\version "2.21.0"

\relative {
  g'1~ \break
  g^"normal tie"
}

\relative {
  ges'1~ \break
  ges^"low tie"
}

\relative {
  gis'1~ \break
  gis^"low tie"
}

I understand why the tie at the beginning of the second system of each
example has to sit a little bit lower if there is an accidental in the
way; but isn't the tie position in the third example (with sharp) a
trifle _too_ far down?


Attached is an image that compares the distance relative to the tie.  
You can see the flat sits a little more snugly.


It would seem the tie is preferring to vertically align to staff 
lines/positions.  After manually overlaying the ties in my image editor, 
the staff lines are perfectly overlapping as well, albeit one staff 
space lower.


The sharp extends low enough forcing the tie down an entire staff space. 
 But this results in a slightly larger gap, because there is slightly 
less than a staff space difference between the flat and sharp's lower 
extent.



-- Aaron Hill

Tie position with sharps

2020-07-23 Thread Lukas-Fabian Moser

Hi,

consider:

\version "2.21.0"

\relative {
  g'1~ \break
  g^"normal tie"
}

\relative {
  ges'1~ \break
  ges^"low tie"
}

\relative {
  gis'1~ \break
  gis^"low tie"
}

I understand why the tie at the beginning of the second system of each 
example has to sit a little bit lower if there is an accidental in the 
way; but isn't the tie position in the third example (with sharp) a 
trifle _too_ far down?


Is that intended behaviour?

Lukas




Re: Syntax for ligature brackets

2020-07-23 Thread Laura Conrad
> "Robin" == Robin Bannister  writes:

Robin> Laura Conrad wrote:

>> I'm not saying this is wrong, and I'm certainly not saying it
>> should be changed.  But it would help me remember when I haven't
>> transcribed a ligature for a few months if someone explained why
>> it was done this way.
>> 

Robin> It seems it's ok to think it's wrong and should be changed.


Robin> 
https://lists.gnu.org/archive/html/lilypond-user/2018-04/msg00813.html

I agree it should be changed if we can write a convert-ly rule for the
change.  I'm still mad about the lyrics change of 15 or 20 years ago
that didn't  have one, so I'd rather have a legend to explain the
history behind the design than a change that didn't convert old code.

-- 
Laura   (mailto:lcon...@laymusic.org)
(617) 661-8097  233 Broadway, Cambridge, MA 02139   
 

There was a story going around that a management consultant, standing
in front of a number of software project managers at a convention. He
asked the collected group "How many of you flew here?" and watched all
the hands go up. He then asked "How many of you would get back on that
plane if you found out your software teams wrote the operating
software?" and all the hands went down.

Michael Tiernan on disc...@blu.org




Re: Syntax for ligature brackets

2020-07-23 Thread Robin Bannister

Laura Conrad wrote:


I'm not saying this is wrong, and I'm certainly not saying it should be
changed.  But it would help me remember when I haven't transcribed a
ligature for a few months if someone explained why it was done  this
way.



It seems it's ok to think it's wrong and should be changed.


https://lists.gnu.org/archive/html/lilypond-user/2018-04/msg00813.html

https://gitlab.com/lilypond/lilypond/-/issues/4764


Cheers,
Robin



Syntax for ligature brackets

2020-07-23 Thread Laura Conrad


All the other features that join two or more notes start after the first
note, e.g. a slur is:
  a( b)
and a beam is:
 a[b]

But a ligature bracket is:

\[a b\]

I'm not saying this is wrong, and I'm certainly not saying it should be
changed.  But it would help me remember when I haven't transcribed a
ligature for a few months if someone explained why it was done  this
way.

-- 
Laura   (mailto:lcon...@laymusic.org)
(617) 661-8097  233 Broadway, Cambridge, MA 02139   
 

Like most of those who study history, he [Napoleon] learned from the
mistakes of the past how to make new ones.

A. J. P. Taylor




Re: Springs and rods

2020-07-23 Thread David Wright
On Thu 23 Jul 2020 at 19:15:25 (+1000), Andrew Bernard wrote:
> There are some things in lilypond that I just think are not explained
> anywhere. What is this springs-and-rods business? For Hairpins, I read
> this?
> 
> minimum-length (dimension, in staff space):
> 2.0
> 
> Try to make a spanner at least this long, normally in the horizontal
> direction. This requires an appropriate callback for the
> springs-and-rods property. If added to a Tie, this sets the minimum
> distance between noteheads.
> 
> And:
> springs-and-rods (boolean):
> ly:spanner::set-spacing-rods
> 
> Dummy variable for triggering spacing routines.
> 
> 
> With all due respect to our fantastic developers, I find this
> unintelligible and less than helpful. What is springs-and-rods
> supposed to be set to: ly:spanner::set-spacing-rods, or ##t, or ##f
> and when, and why? What exactly is meant by 'dummy' in this context?
> I use that word to mean a temporary placeholder, but there are many
> usages. WHat is 'an appropriate callback'? No example is provided.
> 
> If I had any idea at all about this I would write a small section in
> the NR on it and submit it, but I am stumped. if this _is_ in the NR,
> please let me know.

No references as this is just coming out of my head.

I've always assumed that the concept of springs and rods is analogous
to TeX's glue and little boxes, respectively. Knuth IIRC makes the
analogy of the compositor's stick, with boxes instead of metal type.
When the next word would overfill the line, tne interword spacing is
increased to justify the line. (I don't remember whether the extra
space is filled with stretched glue, or with glued leading.)

With test, you have the complications of kerning, and of changes in
font (like italics/upright). With music, the complications are greater:
if you increase the spacing between notes, you've got to tell the
hairpins to lengthen and decrease their apical angle. Presumably,
that's the callback for springs, resisting and reacting to stretching.

The rods are presumably what prevents notes getting so close that LP
can't draw a tie between them. Unlike, say, lyrics, which are allowed
to squeeze lyric-hyphens out of existence. In TeX, boxes can kern,
but are otherwise incompressible.

Cheers,
David.



Re: Is it possible to import scores generated by Lilypond to other softwares?

2020-07-23 Thread Urs Liska
Am Donnerstag, den 23.07.2020, 15:33 +0200 schrieb Martín Rincón
Botero:
> "Frescobaldi can export a MusicXML version of your score. Many music
> programs can import 
> that format".
> 
> 
> I had no idea this was possible!

This is considered experimental, and therefore you have to activate
"experimental features" in Frescobaldi's Preferences dialog.Be warned
that this is considered experimental for a reason, though.
Urs
> El El jue, 23 jul 2020 a las 15:05,  escribió:
> > On 23 Jul 2020 at 14:27, Parviz Farnia wrote:
> > 
> > 
> > 
> > > 
> > 
> > > Hello,
> > 
> > > 
> > 
> > > Recently, I've started learning Lilypond (I'm completely a newbie
> > in this field). I'm impressed by the 
> > 
> > > excellent quality of the scores one can produce via Lilypond. I
> > was wondering whether it is 
> > 
> > > possible to import scores generated by Lilypond to professional
> > softwares allowing to play music. 
> > 
> > 
> > 
> > Frescobaldi can export a MusicXML version of your score. Many music
> > programs can import 
> > 
> > that format.
> > 
> > 
> > 


Re: Is it possible to import scores generated by Lilypond to other softwares?

2020-07-23 Thread Martín Rincón Botero
"Frescobaldi can export a MusicXML version of your score. Many music
programs can import
that format".

I had no idea this was possible!

El El jue, 23 jul 2020 a las 15:05,  escribió:

> On 23 Jul 2020 at 14:27, Parviz Farnia wrote:
>
> >
> > Hello,
> >
> > Recently, I've started learning Lilypond (I'm completely a newbie in
> this field). I'm impressed by the
> > excellent quality of the scores one can produce via Lilypond. I was
> wondering whether it is
> > possible to import scores generated by Lilypond to professional
> softwares allowing to play music.
>
> Frescobaldi can export a MusicXML version of your score. Many music
> programs can import
> that format.
>
> --
> Tim Slattery
> t...@risingdove.com
>
>
>
> --
www.martinrinconbotero.com


Re: Is it possible to import scores generated by Lilypond to other softwares?

2020-07-23 Thread tim
On 23 Jul 2020 at 14:27, Parviz Farnia wrote:

> 
> Hello,
> 
> Recently, I've started learning Lilypond (I'm completely a newbie in this 
> field). I'm impressed by the 
> excellent quality of the scores one can produce via Lilypond. I was wondering 
> whether it is 
> possible to import scores generated by Lilypond to professional softwares 
> allowing to play music. 

Frescobaldi can export a MusicXML version of your score. Many music programs 
can import 
that format.

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





Re: Is it possible to import scores generated by Lilypond to other softwares?

2020-07-23 Thread Andrew Bernard
Hello Parviz,

Well I would not expect Frescobaldi to be a serious tool for MIDI
work. Lilypond does a reasonable job of generating MIDI files. which
can then be used in your chosen DAW with VST instruments of your
choice. I get lilypond to compile MIDI for my piano scores, I import
the MIDI into FL Studio or Presonus Studio One, assign the tracks to
the very fine concert grand piano VST's that I have, and I can produce
audio output that is lush and full and altogether very splendid, to
the point you would think a human pianist is performing. Using basic
general MIDI environments will produce a miserable result.

You can search the user list archives and the Notation Reference for
limitations making MIDI, such as fermatas being ignored, but there are
techniques and workarounds for most of these points.

No DAW can read lilypond source code (OK, maybe there are one or two),
but any professional DAW will read MIDI and allow you to play it.

I think there are many more people on the list using lilypond for MIDI
who would also be happy to guide you with their experience.

Andrew


On Thu, 23 Jul 2020 at 22:28, Parviz Farnia
 wrote:
>
> Hello,
>
> Recently, I've started learning Lilypond (I'm completely a newbie in this 
> field). I'm impressed by the excellent quality of the scores one can produce 
> via Lilypond. I was wondering whether it is possible to import scores 
> generated by Lilypond to professional softwares allowing to play music



Re: Is it possible to import scores generated by Lilypond to other softwares?

2020-07-23 Thread Martín Rincón Botero
Lilypond generates a MIDI file of your score. You could import that MIDI
file in a DAW of your preference.

El El jue, 23 jul 2020 a las 14:28, Parviz Farnia <
mydiscussionfor...@gmail.com> escribió:

> Hello,
>
> Recently, I've started learning Lilypond (I'm completely a newbie in this
> field). I'm impressed by the excellent quality of the scores one can
> produce via Lilypond. I was wondering whether it is possible to import
> scores generated by Lilypond to professional softwares allowing to play
> music. Let's say you've composed a piece for symphony orchestra and you
> wish to hear it for example by using Kontakt (Native instruments), well
> it's just an example, obviously there are many other professional softwares
> out there. So my question is: Is this possible or everything stops there
> once the PDF output of the score has been created by Lilypond and therefore
> one will have to create again manually everything from scratch on the other
> software for playing it?
>
> I tried Frescobaldi's MIDI player, but the sound quality was not even
> close to the music instruments. Somewhat the quality was a bit better using
> Finale, but if Lilypond is the solution that I choose to learn and use, I
> would like to know what are the possibilities to transfer the generated
> score to other (professional) softwares (any suggestion is welcomed) for
> playing the piece?
>
> Thanks in advance.
>
-- 
www.martinrinconbotero.com


Is it possible to import scores generated by Lilypond to other softwares?

2020-07-23 Thread Parviz Farnia
Hello,

Recently, I've started learning Lilypond (I'm completely a newbie in this
field). I'm impressed by the excellent quality of the scores one can
produce via Lilypond. I was wondering whether it is possible to import
scores generated by Lilypond to professional softwares allowing to play
music. Let's say you've composed a piece for symphony orchestra and you
wish to hear it for example by using Kontakt (Native instruments), well
it's just an example, obviously there are many other professional softwares
out there. So my question is: Is this possible or everything stops there
once the PDF output of the score has been created by Lilypond and therefore
one will have to create again manually everything from scratch on the other
software for playing it?

I tried Frescobaldi's MIDI player, but the sound quality was not even close
to the music instruments. Somewhat the quality was a bit better using
Finale, but if Lilypond is the solution that I choose to learn and use, I
would like to know what are the possibilities to transfer the generated
score to other (professional) softwares (any suggestion is welcomed) for
playing the piece?

Thanks in advance.


Re: Drone over a cadenza

2020-07-23 Thread Karlin High
On Thu, Jul 23, 2020 at 6:21 AM John Burt  wrote:
> While the second tenor part is singing a cadenza, the first tenor and the 
> baritone parts are holding a note as long as the cadenza. I know how to make 
> a rest as long as a cadenza -- #(mmrest-of-length MyCadenza) but I don't know 
> how to do this with a note. Is there a way?

I am reminded of this regression test that seems similar.

-- 
Karlin High
Missouri, USA



Re: Drone over a cadenza

2020-07-23 Thread Lukas-Fabian Moser

Hi John,

Am 23.07.20 um 13:21 schrieb John Burt:
While the second tenor part is singing a cadenza, the first tenor and 
the baritone parts are holding a note as long as the cadenza. I now 
how to make a rest a long as a cadenza -- #(mmrest-of-length 
MyCadenza) but I don't know how to do this with a note. Is there a way?


Maybe:

\version "2.21.0"

with-length-of =
% \with-lengths-of \ref \mus typesets \mus compressed to the
% duration of \ref.
#(define-music-function (ref mus) (ly:music? ly:music?)
   (ly:music-compress mus
  (ly:moment-div
   (ly:music-length ref)
   (ly:music-length mus

test = { c'4. d'4 }

<<
  \new Staff  {
    \with-length-of \test { c'8 d' e' f' } g'[ a b]
  }
  \new Staff {
    \test e'8 f' d'
  }
>>

% 

soloCadenza = \relative {
  a'4 g8[ f] e[ d] e[ f] a,4 b e4. d8
}

<<
  \new Staff  {
    \with-length-of \soloCadenza 1
    1
  }
  \new Staff {
    \cadenzaOn
    \soloCadenza
    \cadenzaOff \bar "|"
    c'4 e'8 g' c''2
  }
>>

Best
Lukas




Drone over a cadenza

2020-07-23 Thread John Burt
While the second tenor part is singing a cadenza, the first tenor and the
baritone parts are holding a note as long as the cadenza. I now how to make
a rest a long as a cadenza -- #(mmrest-of-length MyCadenza) but I don't
know how to do this with a note. Is there a way?
thanks
John


Re: 2.21.3 and Frescobaldi and documentation

2020-07-23 Thread Phil Holmes
Something went wrong with the build. It should be corrected fairly soon.

--
Phil Holmes


  - Original Message - 
  From: N. Andrew Walsh 
  To: Urs Liska 
  Cc: lilypond-user 
  Sent: Thursday, July 23, 2020 11:14 AM
  Subject: Re: 2.21.3 and Frescobaldi and documentation


  Hi List,


  I also notice that the HTML interface for the Notation Reference (here: 
http://lilypond.org/doc/v2.21/Documentation/notation/index.html) seems almost 
completely broken. It's no longer split-column, and the layout is extremely … 
text-y. Did something go wrong with the website?


  Cheers,


  A

Re: 2.21.3 and Frescobaldi and documentation

2020-07-23 Thread N. Andrew Walsh
Hi List,

I also notice that the HTML interface for the Notation Reference (here:
http://lilypond.org/doc/v2.21/Documentation/notation/index.html) seems
almost completely broken. It's no longer split-column, and the layout is
extremely … text-y. Did something go wrong with the website?

Cheers,

A


Re: Springs and rods

2020-07-23 Thread Phil Holmes
- Original Message - 
From: "Andrew Bernard" 

To: "lilypond-user Mailinglist" 
Sent: Thursday, July 23, 2020 10:15 AM
Subject: Springs and rods



There are some things in lilypond that I just think are not explained
anywhere. What is this springs-and-rods business? For Hairpins, I read
this?

minimum-length (dimension, in staff space):
2.0

Try to make a spanner at least this long, normally in the horizontal
direction. This requires an appropriate callback for the
springs-and-rods property. If added to a Tie, this sets the minimum
distance between noteheads.

And:
springs-and-rods (boolean):
ly:spanner::set-spacing-rods

Dummy variable for triggering spacing routines.


With all due respect to our fantastic developers, I find this
unintelligible and less than helpful. What is springs-and-rods
supposed to be set to: ly:spanner::set-spacing-rods, or ##t, or ##f
and when, and why? What exactly is meant by 'dummy' in this context?
I use that word to mean a temporary placeholder, but there are many
usages. WHat is 'an appropriate callback'? No example is provided.

If I had any idea at all about this I would write a small section in
the NR on it and submit it, but I am stumped. if this _is_ in the NR,
please let me know.


There is some documentation here:

http://lilypond.org/doc/v2.20/Documentation/notation/spanners

Is this what you need?

--
Phil Holmes



Re: Springs and rods

2020-07-23 Thread Urs Liska
Hi Andrew,

thanks for raising this question I have always been too afraid to ask
;-)

Urs

Am Donnerstag, den 23.07.2020, 19:15 +1000 schrieb Andrew Bernard:
> There are some things in lilypond that I just think are not explained
> anywhere. What is this springs-and-rods business? For Hairpins, I
> read
> this?
> 
> minimum-length (dimension, in staff space):
> 2.0
> 
> Try to make a spanner at least this long, normally in the horizontal
> direction. This requires an appropriate callback for the
> springs-and-rods property. If added to a Tie, this sets the minimum
> distance between noteheads.
> 
> And:
> springs-and-rods (boolean):
> ly:spanner::set-spacing-rods
> 
> Dummy variable for triggering spacing routines.
> 
> 
> With all due respect to our fantastic developers, I find this
> unintelligible and less than helpful. What is springs-and-rods
> supposed to be set to: ly:spanner::set-spacing-rods, or ##t, or ##f
> and when, and why? What exactly is meant by 'dummy' in this context?
> I use that word to mean a temporary placeholder, but there are many
> usages. WHat is 'an appropriate callback'? No example is provided.
> 
> If I had any idea at all about this I would write a small section in
> the NR on it and submit it, but I am stumped. if this _is_ in the NR,
> please let me know.
> 
> 
> Andrew
> 




Springs and rods

2020-07-23 Thread Andrew Bernard
There are some things in lilypond that I just think are not explained
anywhere. What is this springs-and-rods business? For Hairpins, I read
this?

minimum-length (dimension, in staff space):
2.0

Try to make a spanner at least this long, normally in the horizontal
direction. This requires an appropriate callback for the
springs-and-rods property. If added to a Tie, this sets the minimum
distance between noteheads.

And:
springs-and-rods (boolean):
ly:spanner::set-spacing-rods

Dummy variable for triggering spacing routines.


With all due respect to our fantastic developers, I find this
unintelligible and less than helpful. What is springs-and-rods
supposed to be set to: ly:spanner::set-spacing-rods, or ##t, or ##f
and when, and why? What exactly is meant by 'dummy' in this context?
I use that word to mean a temporary placeholder, but there are many
usages. WHat is 'an appropriate callback'? No example is provided.

If I had any idea at all about this I would write a small section in
the NR on it and submit it, but I am stumped. if this _is_ in the NR,
please let me know.


Andrew