Hello everyone,
I would like to create a function that transforms one note to another
using scheme's cond procedure. This is what I have working so far using
an arg of type number?:
%start code
\version "2.22.2"
tNote =
#(define-scheme-function
(note)
(number?)
(_i "Transform one note t
Hello, fellow music engravers.
I would like to pass a number variable to \markup, but my attempts are
not working.
When I try to pass a number variable to \markup I get the following message:
"error: syntax error, unexpected NUMBER_IDENTIFIER".
Examples:
fontsize-number = #5 { c'1^\markup
Franz-Rudolf,
I do not know how all of the glyphs for lilypond have been made, but I
have used the open-source program FontForge to make custom font glyphs.
I found the process of making custom glyphs enjoyable, and the FontForge
documentation was good.
Perhaps, you could take a font that is cl
On 5/7/23 14:23, Jean Abou Samra wrote:
Hi,
I'm adding back the list in CC. Please always keep it so that everyone
can participate.
Le dimanche 07 mai 2023 à 10:45 -0400, dfro a écrit :
Jean,
Thank you, for the fast reply and the clear explanation! Perhaps,
this insight could be p
On 5/8/23 12:19, Jean Abou Samra wrote:
Le lundi 08 mai 2023 à 11:27 -0400, dfro a écrit :
Jean,
Thank you, for catching my omission of the CC to
lilypond-user@gnu.org. I intended to reply to the group.
The use of variables for the \paper block makes more sense to me.
However, I see that
Fellow music engravers,
I have a feature request. Perhaps, this has been discussed already.
Sometimes, I would like the spacial formatting in a \markup command to
respond to changes in fontsize, so that all of the \markup spacing will
change proportional to the change in fontsize. I think havi
On 5/8/23 21:06, Jean Abou Samra wrote:
Le lundi 08 mai 2023 à 20:55 -0400, dfro a écrit :
Fellow music engravers,
I have a feature request. Perhaps, this has been discussed already.
Sometimes, I would like the spacial formatting in a \markup command
to respond to changes in fontsize, so
On 5/9/23 03:22, Jean Abou Samra wrote:
Le lundi 08 mai 2023 à 22:55 -0400, dfro a écrit :
Jean,
I think \translate-scaled will work for me! This is a wonderful
tool. In the following example, \concat allows me to get the symbols
closer together. The -.2 values for x in /translate-scaled
On 5/9/23 03:22, Jean Abou Samra wrote:
Le lundi 08 mai 2023 à 22:55 -0400, dfro a écrit :
Jean,
I think \translate-scaled will work for me! This is a wonderful
tool. In the following example, \concat allows me to get the symbols
closer together. The -.2 values for x in /translate-scaled
On 5/9/23 06:51, Gianmaria Lari wrote:
Sorry, trivial question:
How can I move the discant symbol and the accordion pull symbol to
avoid them to stack on top of each other?
\version "2.25.2"
#(use-modules (lily accreg)) %to use \discant
pull = \markup {\musicglyph "accordion.pull"
On 5/9/23 11:52, Gianmaria Lari wrote:
[...]
How can I move the discant symbol and the accordion pull symbol
to avoid them to stack on top of each other?
[...]
I just learned from Jean how to use \overlay and \translate-scaled
together to control exactly where text an
On 5/9/23 11:52, Gianmaria Lari wrote:
[...]
How can I move the discant symbol and the accordion pull symbol
to avoid them to stack on top of each other?
[...]
I just learned from Jean how to use \overlay and \translate-scaled
together to control exactly where text an
I want to define and change variables mid-stream in a music expression,
while also using tags. Below is an example of what I am trying; but, it
does not work.
\version "2.24.1"
\keepWithTag #'textI
%\keepWithTag #'textII
{
\tag #'textI { #(define l "A") }
\tag #'textII { #(define l "B")
})
\musicfn textI
\musicfn textII
Note that here it is necessary to first create the global binding using
#(define ...) and then use (set! ...) to change that binding.
Cheers,
Valentin
Am Mittwoch, 17. Mai 2023, 21:58:49 CEST schrieb dfro:
I want to define and change variables mid-stream in
})
\musicfn textI
\musicfn textII
Note that here it is necessary to first create the global binding using
#(define ...) and then use (set! ...) to change that binding.
Cheers,
Valentin
Am Mittwoch, 17. Mai 2023, 21:58:49 CEST schrieb dfro:
I want to define and change variables mid-stream in
Valentin,
Thank you, for the explanation! I see what you mean about controlling
when evaluation happens by avoiding global variables that change during
the flow of a music expression. I will avoid doing that.
I see now that it is better to create two or more static global
variables and swit
27;a
\myMusicII #'b
Of course this is a rather stupid example, but you can do much more complex
stuff this way than what tags allow you to do.
Cheers,
Valentin
Am Donnerstag, 18. Mai 2023, 17:46:18 CEST schrieb dfro:
Valentin,
Thank you, for the explanation! I see what you mean about con
On 5/19/23 05:38, Valentin Petzel wrote:
Hello David,
My conundrum is that I want to call the same music expression (that is
declared as a variable) from different staves, but also cause markup
functions inside the music expression to behave differently from outside
the music expression. Using
Valentin,
Thank you, for the detailed explanation and the links.
Jean's website-book is a wonderful resource.
Peace,
David
Hello fellow music engravers,
I would like to have a staff system end with an 'ending bar line', then
\break the staff, and then have the next staff system begin with a
'start repeat'.
The following code causes the first system to have no bar line at the
end, and the 'start repeat' command o
On 6/21/23 13:17, Jean Abou Samra wrote:
Le mercredi 21 juin 2023 à 12:55 -0400, dfro a écrit :
Hello fellow music engravers,
I would like to have a staff system end with an 'ending bar line',
then \break the staff, and then have the next staff system begin with
a 'start
Hi,
I want to create a StaffGroup that includes a single line Staff or
DrumStaff at the top. I am having the problem that the left most measure
bar line and the brackets of each staff system are being truncated down
to the staff line of the single staff.
I have tried a workaround by making a
Hi everyone,
May I ask for some advice?
I would like to have a single line staff that is grouped with other
staffs, which I use to display chords and lyrics into rows above and
below the line. I am using the following tweak on each lyric line, where
'y' is adjusted:
Kieren,
Thank you, this is a great improvement! It looks like I need to study
Chapter 4.4 of the Notation Reference and many of the links. I will play
with the code you shared and do some homework before I ask more
questions which are arising on this topic.
I just want to thank you promptly
Kieren,
I was playing with the code you shared on this thread, and I have a
question.
Is it possible to get the markup to attach to the clef or time signature
only in the bass staff? I am getting the text to show, but it is
attaching to both staves.
Thanks for any advice.
Peace,
David
Here
Kieren,
Thank you.
Peace,
David
On 6/1/18 11:43 AM, Kieren MacMillan wrote:
Hi David,
Is it possible to get the markup to attach to the clef or time signature only
in the bass staff? I am getting the text to show, but it is attaching to both
staves.
You’ve put the Balloon_engraver in the
Is there a setting to get bar lines to show on the far left side of
single staff systems? I haven't been able to find a way to do this, if
it is possible.
Thanks,
David
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mail
On 6/4/18 10:52 PM, Karlin High wrote:
On 6/4/2018 9:38 PM, dfro wrote:
Is there a setting to get bar lines to show on the far left side of
single staff systems?
That sounds similar to this thread.
<https://lists.gnu.org/archive/html/lilypond-user/2018-05/msg00579.html>
From the example
On 6/4/18 11:34 PM, David Wright wrote:
On Mon 04 Jun 2018 at 22:38:35 (-0400), dfro wrote:
Is there a setting to get bar lines to show on the far left side of
single staff systems? I haven't been able to find a way to do this,
if it is possible.
Put the staff in a grand staff thus:
On 6/5/18 4:20 AM, Thomas Morley wrote:
2018-06-05 7:24 GMT+02:00 dfro :
On 6/4/18 11:34 PM, David Wright wrote:
On Mon 04 Jun 2018 at 22:38:35 (-0400), dfro wrote:
Is there a setting to get bar lines to show on the far left side of
single staff systems? I haven't been able to find a w
I am still trying to work out why the lyric lines are shifting from one
staff system to the next in my manuscripts.
In studying the documentation and experimenting with code snippets, I
have noticed some curious lyric line behavior when using the
VerticalAxisGroup spacing properties. I took th
On 6/7/18 4:41 AM, Thomas Morley wrote:
Hi,
I'll soon have to run for my regular job, so I limit my reply to
alignAbove/BelowContext.
2018-06-07 5:03 GMT+02:00 dfro :
If I use the command - alignBelowContext = "Upper" - on the Lyrics to verse3
and verse4, then the tex
On 6/7/18 5:19 PM, Thomas Morley wrote:
2018-06-07 20:15 GMT+02:00 dfro :
It seems like Verses2, 3, and 4 are looking down when using the padding
variable. How can I get them to look up to the verses and staff above? The
command - \override VerticalAxisGroup.staff-affinity = #UP - does not
On 6/8/18 1:02 AM, Werner LEMBERG wrote:
In my humble opinion, I think the direction that nonstaff elements
are looking is a very important foundational concept that should be
included in the Notation Reference documentation, the Internal
Reference, and perhaps even the Learning Manual, and some
On 6/9/18 9:45 AM, Werner LEMBERG wrote:
Care to prepare a patch? You seem to be a native speaker, and
being a novice helps a lot in finding the right point of view for
the documentation...
I would be honored to contribute in this way. How may we proceed?
This depends on your experience with
Dear code wizards,
I still have more to solve on this issue, if possible.
I think I have discovered why most of the shifting is happening: The
skyline rather than the baseline of the lyric line text is being
referenced by LilyPond when calculating vertical placement.
What I am going for is a
On 6/10/18 1:16 AM, Aaron Hill wrote:
On 2018-06-09 19:43, dfro wrote:
Dear code wizards,
I still have more to solve on this issue, if possible.
I think I have discovered why most of the shifting is happening: The
skyline rather than the baseline of the lyric line text is being
referenced by
A P.S. to my beginner musings:
Perhaps, the VerticalAxisGroup stretchability variable could be adjusted
in its behavior, so that when it is at 0, no bounding box/skyline
safeguards are considered for the nonstaff-relatedstaff-spacing property
at all - the 'text baseline to staff center' relati
Dear Harm,
You did it! You solved my problem, and have saved me from countless
tweak-recompile-tweak-recompile cycles with the way I was doing things
before. I can now set the vertical spacing of the chord/lyric lines in
relation to a single-line staff and move on, as I wanted. I am grateful
f
On 6/10/18 3:53 PM, Aaron Hill wrote:
On 2018-06-10 12:37, Gloops wrote:
\version "2.18.2"
\new RhythmicStaff \with {
\consists "System_start_delimiter_engraver"
systemStartDelimiter = #'SystemStartBar
\override SystemStartBar.collapse-height = 0
\override SystemStartBar.thickness =
Hello,
I am interested in using custom clef symbols. I am practicing with a
snippet from the library that replaces the internal "alto" clef glyph
with a user defined postscript glyph. However, the behavior of the new
glyph is not the same as the standard "alto" glyph.
In the code snippet bel
ant to
better understand this amazing program and make my manuscript writing
process smoother.
LilyPond is a work of art.
Peace,
David Froseth
On 7/3/18 3:25 AM, Pierre Perol-Schneider wrote:
Hi DFro,
How about :
%CODE START
% Valentin Villanave's macro for the French-style C clef %%%
I figured out why copying and pasting the postscript code did not work.
The 'lineto, moveto, curveto' commands must come before the numbers in
the \path-like version, whereas in the postscript version the 'lineto,
moveto, curveto' commands come after the numbers.
David
___
I put the postscript code into a spreadsheet and calculated the x
positions to move over -200 units, and put the 'moveto, lineto, curveto,
closepath' commands first. In the code below I am able to control
spacing nicely with "\override Staff.Clef.space-alist" except for the
note clashing with t
Copying the postscript code into a text file, saving it as a .csv file,
loading it into OpenOffice spreadsheet, cutting and pasting things
around to get things in the right columns, and performing calculations
was a fairly easy and painless way for me to manipulate the data.
David
_
help.
Peace,
David
On 7/6/18 4:27 AM, Orm Finnendahl wrote:
Hi David,
good you figured it out. As I'm doing this stuff frequently, here are
some remarks, maybe it's useful for you:
Am Freitag, den 06. Juli 2018 um 01:49:09 Uhr (-0400) schrieb dfro:
I figured out why copying
46 matches
Mail list logo