Re: Help with custom noteheads

2022-08-11 Thread Jean Abou Samra
Le 11/08/2022 à 14:32, Valentin Petzel a écrit : Hello Andrew, is there any reason for using a custom circle approximation instead of simply using (make-circle-stencil r th #f)? The reason why your note heads are off is that a path stencil does not have an extent. A path cotains arbitrary

Re: Help with custom noteheads

2022-08-11 Thread Jean Abou Samra
Le 11/08/2022 à 13:40, Andrew Bernard a écrit : So here is an MWE showing the start of what I want to do - make circular unfilled noteheads, and fitting in the staff size. This is only a start, as the set of note styles I need have many extra doodads, so this is just to get going. It's been

Re: Help with custom noteheads

2022-08-11 Thread Valentin Petzel
Hello Andrew, is there any reason for using a custom circle approximation instead of simply using (make-circle-stencil r th #f)? The reason why your note heads are off is that a path stencil does not have an extent. A path cotains arbitrary drawing commands, which means that Lilypond does not

Help with custom noteheads

2022-08-11 Thread Andrew Bernard
So here is an MWE showing the start of what I want to do - make circular unfilled noteheads, and fitting in the staff size. This is only a start, as the set of note styles I need have many extra doodads, so this is just to get going. It's been a long time since I have done any Lilypond

Re: Custom noteheads stem alignment

2015-04-13 Thread Pierre Perol-Schneider
Hi Andrew, 2015-04-13 2:05 GMT+02:00 Andrew Bernard andrew.bern...@gmail.com: Dear Pierre, Thank you so very very much for this. You have solved two problems in one - the stem attachment and the elliptical counter, and it looks excellent. I can’t find words to express my appreciation for

Re: Custom noteheads stem alignment

2015-04-13 Thread Pierre Perol-Schneider
have access to a grob so you can do grob-interpret-markup (which is not required by the other methods). I think that covers it! -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Custom-noteheads-stem-alignment-tp174412p174461.html Sent from the User mailing

Re: Custom noteheads stem alignment

2015-04-13 Thread Paul Morris
by the other methods). I think that covers it! -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Custom-noteheads-stem-alignment-tp174412p174461.html Sent from the User mailing list archive at Nabble.com. ___ lilypond

Re: Custom noteheads stem alignment

2015-04-13 Thread Paul Morris
://lilypond.1069038.n5.nabble.com/Custom-noteheads-stem-alignment-tp174412p174474.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Custom noteheads stem alignment

2015-04-12 Thread Andrew Bernard
In typography, the hole in characters such as ‘o’ and ‘a’ is called the counter. Most notes are engraved with an ellipse as the empty space, with ‘italic pen’ style thick and thin. The standard lilypond noteheads do this. Andrew On 12 April 2015 at 23:35:58, Pierre Perol-Schneider

Re: Custom noteheads stem alignment

2015-04-12 Thread Pierre Perol-Schneider
Hi Andrew, 2015-04-12 13:45 GMT+02:00 Andrew Bernard andrew.bern...@gmail.com: Here is my very first attempt at making custom noteheads. The shape is what we desire, but there are two questions that I have. 1. How does one achieve an elliptical counter in unfilled notes? I know how to do

Custom noteheads stem alignment

2015-04-12 Thread Andrew Bernard
Here is my very first attempt at making custom noteheads. The shape is what we desire, but there are two questions that I have. 1. How does one achieve an elliptical counter in unfilled notes? I know how to do this in Postscript, but not here. 2. How can the stem alignment be corrected

Re: Custom noteheads stem alignment

2015-04-12 Thread Pierre Perol-Schneider
Ok, thanks for the explanation Andrew. But I'm afraid you can't do that here since 'elipse' draws a single line with a specific thickness. A note head with a counter would need at least two lines/elipses, one filled 'inside' and the other filled 'outside' (but I don't know how to do that). So I'm

Re: custom drumstyle-tables with custom noteheads?

2009-02-18 Thread Tao Cumplido
Original-Nachricht Datum: Mon, 9 Feb 2009 14:27:28 -0700 Von: Carl D. Sorensen c_soren...@byu.edu An: Tao Cumplido tao_lilypondu...@gmx.net, lilypond-user@gnu.org lilypond-user@gnu.org Betreff: Re: custom drumstyle-tables with custom noteheads? Uh, it's me again. Actually

custom drumstyle-tables with custom noteheads?

2009-02-09 Thread Tao Cumplido
Hi All, some time ago Neil Puttock helped me out to create a function that returns different notehead-stencils depending on the duration-log. http://www.mail-archive.com/lilypond-user@gnu.org/msg42720.html Now I was wondering if this procedure could be somehow integrated in a custom

Re: custom drumstyle-tables with custom noteheads?

2009-02-09 Thread Carl D. Sorensen
Tao, On 2/9/09 2:41 AM, Tao Cumplido tao_lilypondu...@gmx.net wrote: Hi All, some time ago Neil Puttock helped me out to create a function that returns different notehead-stencils depending on the duration-log. http://www.mail-archive.com/lilypond-user@gnu.org/msg42720.html Now I was

Re: custom drumstyle-tables with custom noteheads?

2009-02-09 Thread Tao Cumplido
Original-Nachricht Datum: Mon, 9 Feb 2009 07:40:38 -0700 Von: Carl D. Sorensen c_soren...@byu.edu An: Tao Cumplido tao_lilypondu...@gmx.net, lilypond-user@gnu.org lilypond-user@gnu.org Betreff: Re: custom drumstyle-tables with custom noteheads? Have you tried using

Re: custom drumstyle-tables with custom noteheads?

2009-02-09 Thread Carl D. Sorensen
drumstyle-tables with custom noteheads? Have you tried using 'parallelogram instead of parallelogram? When parallelogram is defined as a music function, every time scheme sees parallelogram it tries to execute it. On the other hand, when it sees 'parallelogram is just puts the symbol

Re: custom drumstyle-tables with custom noteheads?

2009-02-09 Thread Tao Cumplido
Original-Nachricht Datum: Mon, 9 Feb 2009 11:26:19 -0700 Von: Carl D. Sorensen c_soren...@byu.edu An: Tao Cumplido tao_lilypondu...@gmx.net, lilypond-user@gnu.org lilypond-user@gnu.org Betreff: Re: custom drumstyle-tables with custom noteheads? Let me just address what

Re: custom drumstyle-tables with custom noteheads?

2009-02-09 Thread Carl D. Sorensen
: custom drumstyle-tables with custom noteheads? The notehead.cc file is very cryptic for me and I don't see how it could help me since I don't see anywhere a definition of 'cross or 'diamond. Note_head::print is too abstract for me. I don't get how 'cross tells ly:note-head:print to print

Re: custom drumstyle-tables with custom noteheads?

2009-02-09 Thread Carl D. Sorensen
On 2/9/09 1:30 PM, Tao Cumplido tao_lilypondu...@gmx.net wrote: Please try to send the function separately from the font. I think that some users will be very interested in it. Apparently the sample png I sent along was too big :') I reduced and sent it again. This it should have

Re: custom noteheads

2008-11-29 Thread Tao Cumplido
Betreff: custom noteheads hi list, I came across ths snippet from the lsr: http://lsr.dsi.unimi.it/LSR/Item?id=516 Now I was thinking if it is possible to assign such custom heads to different duratiosn, e.g. that half notes look different than quarter and eigths, etc. Also

Re: custom noteheads

2008-11-29 Thread Neil Puttock
Hi Tao, 2008/11/29 Tao Cumplido [EMAIL PROTECTED]: Generally I thought I could define a music-function that overrides the stencil of a NoteHead depending on the car of ly:make-duration. So if it's =1 it'll place a custom stencil for half and whole notes and if it's =2 for filled notes. I

Re: custom noteheads

2008-11-29 Thread Neil Puttock
2008/11/29 Neil Puttock [EMAIL PROTECTED]: parallelogram = #(lambda (grob) ; get duration log of NoteHead object (let* ((dur (ly:grob-property grob 'duration-log))) (case dur ; if dur = minim, return parallelogram stencil Of course, this should say `if dur = crotchet/quarter

Re: custom noteheads

2008-11-29 Thread Tao Cumplido
. Well, Scheme is still too complex for me. Original-Nachricht Datum: Sat, 29 Nov 2008 16:17:30 + Von: Neil Puttock [EMAIL PROTECTED] An: Tao Cumplido [EMAIL PROTECTED] CC: lilypond-user@gnu.org Betreff: Re: custom noteheads Hi Tao, 2008/11/29 Tao Cumplido [EMAIL

custom noteheads

2008-11-28 Thread Tao Cumplido
hi list, I came across ths snippet from the lsr: http://lsr.dsi.unimi.it/LSR/Item?id=516 Now I was thinking if it is possible to assign such custom heads to different duratiosn, e.g. that half notes look different than quarter and eigths, etc. Also if it is possible to use them in a custom

Re: Custom noteheads and chords

2008-07-10 Thread Trevor Daniels
The example in section 4.6.5 of the Learning Manual might be a good starting point. Trevor - Original Message - From: Eric Knapp [EMAIL PROTECTED] To: lilypond-user@gnu.org Sent: Thursday, July 10, 2008 5:19 AM Subject: Re: Custom noteheads and chords Music functions? Ah, ha

Custom noteheads and chords

2008-07-09 Thread Eric Knapp
Hello, With the help of a recent thread I have custom noteheads working just the way I want them except for one detail. I would like to have chords where each note in the chord has a different custom notehead. Here's an example. This works and each note has its own custom notehead

Re: Custom noteheads and chords

2008-07-09 Thread Trevor Daniels
in a variable, so this might not be quite the answer you want. Trevor - Original Message - From: Eric Knapp [EMAIL PROTECTED] To: List lilypond-user lilypond-user@gnu.org Sent: Wednesday, July 09, 2008 10:27 PM Subject: Custom noteheads and chords Hello, With the help of a recent thread

Re: Custom noteheads and chords

2008-07-09 Thread Carl Sorensen
Trevor Daniels t.daniels at treda.co.uk writes: Eric \tweak may be the command you need. Have a look at section 4.1.4 Tweaking methods in the Learning Manual for release 2.11 to see why this is needed and how to use it. The explanation there applies just as well to release 2.10.

Re: Custom noteheads and chords

2008-07-09 Thread Eric Knapp
Music functions? Ah, ha! That may be the answer. I'm embarrassed to say it but I actually teach computer programming at a college and I didn't know about music functions. I think I will be using them a lot now that I have read about them. I can't believe that I haven't stumbled on them before. I

Re: Custom Noteheads

2004-07-29 Thread Mats Bengtsson
and the developer of said system uses a series of custom noteheads. I cannot seem to find any place that goes into the specifics of creating one's own notehead engraver and how to integrate it into a working Lilypond installation. Has anybody out there done this sort of thing? Would you be willing

Custom Noteheads

2004-07-10 Thread Aaron Dalton
I've done a little searching in the archives but I can't seem to find any specific information. I am wanting to use Lilypond in a research project I'm doing. I am doing a timepoint analysis of some pieces and the developer of said system uses a series of custom noteheads. I cannot seem