Orm and Pierre,
Thank you, for your comments. I also like the postscript way of creating
custom clef symbols, and I have found that the scale and translate
commands make positioning glyphs easy. I am glad to find that the commands:
\override Staff.Clef.space-alist
Hi David et All,
2018-07-06 10:27 GMT+02:00 Orm Finnendahl
>When I design custom clefs or symbols for lilypond, I normally start
>by using inkscape (https://www.inkscape.org) for importing, drawing
>and exporting to ps or eps format and then open it in emacs and
>adjust/reduce the code.
Same here
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 and pasting the postscript code did not
> work. The 'lineto, moveto, curveto'
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
_
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
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
___
David and Pierre,
Thank you for the suggestions. I appreciate you making a code example
for me. I saw this method earlier in the LSR, but could not make sense
of it at the time. Pierre, your example helps me to see the difference
between the "\path" way of doing things and the "\markup \postsc
Hi DFro,
How about :
%CODE START
% Valentin Villanave's macro for the French-style C clef %%%
\version "2.19.82" %% "2.18.2"
altoClef =
#(ly:make-stencil
`(path 0.001
`(moveto 2.48 -3.06
lineto 2.48 -4.92
curveto 2.48 -4.96 2.45 -5.00 2.40 -5.00
lineto 2.18 -5
dfro writes:
> In the code snippet below, the custom glyph sometimes collides with
> the notes before it, and sometimes does not. Also, I cannot control
> the distance from notes immediately after the custom glyph, as I can
> with the standard "alto" glyph.
>
> I have tried to experiment and to u
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.
Cheers,
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Automated-custom-clef-settings-for-custom-staves-revisited-tp161934p161967.html
Sent from the User mailing list archive at Nabble.com.
___
lilypond-user mailing list
l
2014-04-30 20:03 GMT+02:00 Paul Morris :
> Here's an improved version that also handles cue clefs. Designed for
> treble, bass, and alto clefs, so it may not work with other clefs (with
> more
> work they could be added).
>
Hi Paul,
I'm sure I've already seen this code or part of it...
Have you
(with more
work they could be added).
Cheers,
-Paul
%%%
\version "2.18.2"
clefsMod =
#(define-music-function (parser location mus) (ly:music?)
"Takes music with standard clef settings for standard staff, and
returns the music with custom clef settings
Hi all,
I figured out how to do what I was working on back in November (with custom
clef settings):
http://lists.gnu.org/archive/html/lilypond-user/2013-11/msg00295.html
I wrote a music function that takes music with standard clef settings and
returns the music with customized clef settings
n the LSR search.)
>
> HTH,
> -Paul
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Custom-clef-tp159049p159060.html
> Sent from the User mailing list archive at Nabble.com.
>
> ___
/LSR/Item?id=401
And an updated version of it I made:
http://lsr.dsi.unimi.it/LSR/Item?id=893
(It hasn't been approved yet so it doesn't show up in the LSR search.)
HTH,
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Custom-clef-tp159049p159060.html
Sent
Am 09.02.2014 21:54, schrieb catal...@hotmail.com:
Hi list,
I have a cello score using 2 staves, the extra being used to display movements
of the bow (sul tasto / sul ponticello), using glissandi (on a staff with a
single line).
This extra staff has a special "clef" that looks like this:
SP
S
Hi list,
I have a cello score using 2 staves, the extra being used to display movements
of the bow (sul tasto / sul ponticello), using glissandi (on a staff with a
single line).
This extra staff has a special "clef" that looks like this:
SP
ST
How can I make this text behave like a clef, i.e.
treble
c' c' c' c'
}
\score {
\keepWithTag #'custom-def \mymusic
}
\score {
\removeWithTag #'custom-def \mymusic
}
%% END SNIPPET %%
But using tags with each clef instance will work:
%% BEGIN SNIPPET %%
\version "2.17.95"
#(add-new-clef "mycl
Urs Liska wrote
> I didn't really follow this thread, but wouldn't the following be
> possible?
>
> music = {
> Some music }
>
> trad = { \music }
>
> custom = {
> custom-clef-definition
> \music
> }
Hi Urs, Thanks for the thought, but it
e on the custom staff.
I didn't really follow this thread, but wouldn't the following be possible?
music = {
Some music }
trad = { \music }
custom = {
custom-clef-definition
\music
}
?
You could do without the "trad" wrapper, it's just there to clarify the
intenti
Position) for the custom staff.
So you can get what you want by having two copies of the music, or by using
LilyPond's "tag" feature to include both a standard and a custom clef in the
music for every time a clef is needed, and then tag them separately and use
the tags to select wh
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/Automated-custom-clef-settings-for-custom-staves-tp153665p153674.html
Sent from the User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
https
ddleCPosition and clefPosition with each
> clef change, optionally using tags to be able to strip out the custom
> parts in order to use the music with a standard staff.
Sorry, I can't even make sense from what you write.
> The custom "clef" music function at the top of this thre
sition and clefPosition with each clef
change, optionally using tags to be able to strip out the custom parts in
order to use the music with a standard staff.
The custom "clef" music function at the top of this thread makes this
separation of content and presentation possible when it come
Paul Morris writes:
> Ideally the way to handle this *very* *very* marginal issue, would be
> to have the default settings for middleCPosition and clefPosition for
> each kind of clef, loaded at the staff level for each staff (as staff
> context properties?) where the user could override them for
Below is my attempt to use a custom engraver to set custom clef settings but
only when the clefs appear in a particular custom staff context.
It doesn't quite work since the setting changes take effect too late. The
first note after the new clef is placed on the staff before the chan
Hi everyone,
Say you have a custom staff that needs custom settings for each of the
different clefs, namely "middleCPosition" to put the notes on the right lines
and spaces, and "clefPosition" to put the clef in the right vertical position.
You can put these settings into a variable and use th
Trevor Daniels wrote:
Alternatively, Notation Reference 5.5.3 Modifying stencils, might
be even closer to what you want.
Trevor
- Original Message - From: "Orm Finnendahl"
To:
Sent: Wednesday, December 31, 2008 10:56 AM
Subject: change temporarily to custom clef
> - Original Message -
> From: "Orm Finnendahl"
> To:
> Sent: Wednesday, December 31, 2008 10:56 AM
> Subject: change temporarily to custom clef
>
>
>> Hi,
>>
>> in contemporary music sometimes unusual "Clefs" are temporarily
Alternatively, Notation Reference 5.5.3 Modifying stencils, might
be even closer to what you want.
Trevor
- Original Message -
From: "Orm Finnendahl"
To:
Sent: Wednesday, December 31, 2008 10:56 AM
Subject: change temporarily to custom clef
Hi,
in contemporary music
Notation Reference 5.4.6 Visibility of objects may give you
the clues you need. Perhaps setting the clef's stencil to #f
will be the easiest.
Trevor
- Original Message -
From: "Orm Finnendahl"
To:
Sent: Wednesday, December 31, 2008 10:56 AM
Subject: change tempor
Hi,
in contemporary music sometimes unusual "Clefs" are temporarily used
within a piece (for example for string instruments clefs where notes
indicate the contact point of the bow between fingerboard and bridge).
I guess for designing custom clefs one has to define a custom font but
I wonder whth
tencil = #ly:text-interface::print
\override Staff.Clef #'text = #myClefSymbol
c d e f | g a b c |
}
}
/Mats
Mark Oates wrote:
Hi all,
I've searched the archives and docs but haven't found what I'm looking for.
Essentially I want to create a custom clef by using a different
Hi all,
I've searched the archives and docs but haven't found what I'm looking for.
Essentially I want to create a custom clef by using a different character from a
different font.
>From what I've gathered so far, I would need to (1) change the font name for
>
35 matches
Mail list logo