Re: miss-aligned dynamic in presence of chords with reverse noteheads

2025-01-06 Thread Richard Shann
On Mon, 2025-01-06 at 13:33 +0100, David Kastrup wrote: > Richard Shann writes: > > > On Mon, 2025-01-06 at 05:44 -0500, Kieren MacMillan wrote: > > > Hi Richard, > > > > > > > the tweak needs to vanish when the part is being typeset, > > > > but I can cope with that ok. > > > > > > You know ab

Re: miss-aligned dynamic in presence of chords with reverse noteheads

2025-01-06 Thread Kieren MacMillan
Hi David, > Date: Sat Aug 30 21:35:56 2003 + >* scm/music-functions.scm (remove-tag): filter \tagged music >expressions. > >* input/regression/tag-filter.ly (texidoc): new file. > >* lily/parser.yy (post_event): add \tag #'symbol / \tag #'(symbol1 >symbol2 .. ) etc. >

Re: miss-aligned dynamic in presence of chords with reverse noteheads

2025-01-06 Thread David Kastrup
Richard Shann writes: > On Mon, 2025-01-06 at 05:44 -0500, Kieren MacMillan wrote: >> Hi Richard, >> >> > the tweak needs to vanish when the part is being typeset, >> > but I can cope with that ok. >> >> You know about the \tag system, yes? > > yes indeed - although it would be quite possible t

Re: miss-aligned dynamic in presence of chords with reverse noteheads

2025-01-06 Thread Richard Shann
On Mon, 2025-01-06 at 05:44 -0500, Kieren MacMillan wrote: > Hi Richard, > > > the tweak needs to vanish when the part is being typeset, > > but I can cope with that ok. > > You know about the \tag system, yes? yes indeed - although it would be quite possible to insert tags via Denemo this was a

Re: miss-aligned dynamic in presence of chords with reverse noteheads

2025-01-06 Thread Kieren MacMillan
Hi Richard, > the tweak needs to vanish when the part is being typeset, > but I can cope with that ok. You know about the \tag system, yes? Cheers, Kieren. __ My work day may look different than your work day. Please do not feel obligated to read or

Re: miss-aligned dynamic in presence of chords with reverse noteheads

2025-01-06 Thread Richard Shann
On Sun, 2025-01-05 at 16:18 -0500, Kieren MacMillan wrote: > Hi Richard, > > Maybe just tweak it to the left a little…? Thank you - I'll use this as the starting point for a workaround - the tweak needs to vanish when the part is being typeset, but I can cope with that ok. Richard > > %%%  SNI

Re: miss-aligned dynamic in presence of chords with reverse noteheads

2025-01-06 Thread Richard Shann
On Sun, 2025-01-05 at 17:25 -0500, Saul Tobin wrote: > Hm. This is *supposed* to be the situation where \override > DynamicText.X-align-on-main-noteheads = ##t (which is the default > actually) saves the day. And if the \sf is attached directly to the > chord, it does. But when it'

Re: miss-aligned dynamic in presence of chords with reverse noteheads

2025-01-05 Thread Saul Tobin
Hm. This is *supposed* to be the situation where \override DynamicText.X-align-on-main-noteheads = ##t (which is the default actually) saves the day. And if the \sf is attached directly to the chord, it does. But when it's in a different staff context, it doesn't do anything, since D

Re: miss-aligned dynamic in presence of chords with reverse noteheads

2025-01-05 Thread Kieren MacMillan
Hi Richard, Maybe just tweak it to the left a little…? %%% SNIPPET BEGINS \version "2.24" \layout { ragged-right = ##f line-width = 5\in } upper = { g''4 r8 d'' d''2 } dyns = { s4. s8-\tweak X-offset #-0.5 \sf s2 } lowest = { g'4 e'8 r2 % g'4 e'8 c' r2 } \score { <<

miss-aligned dynamic in presence of chords with reverse noteheads

2025-01-04 Thread Richard Shann
In a large orchestral piece it was noticed that a dynamic under a note was slightly displaced to the right. It turned out that this was because many staffs below there was a chord with notes on both sides of the stem (because only a semitone apart). The dynamic was placed in a dynamics staff as

Re: Incipit with default noteheads possible?

2024-01-24 Thread Werner LEMBERG
>> This works for the note heads, but if there happen to be >> accidentals around (in my project this is the case), they remain >> mensural style. Is there another override for this, too? > > How about this? Nice! David, what do you think about converting this code into a proper MR? Wern

Re: Incipit with default noteheads possible?

2024-01-24 Thread David Kastrup
Hajo Baess writes: > This works for the note heads, but if there happen to be accidentals > around (in my project this is the case), they remain mensural style. Is > there another override for this, too? > > Am Mittwoch, dem 24.01.2024 um 16:14 +0200 schrieb YTG 1234: >> > I have tried an overrid

Re: Incipit with default noteheads possible?

2024-01-24 Thread Hajo Baess
That 'manual' solution is absolutely good enough for my purpose. Furthermore it is easy to understand and to modify if necessary. I'll adopt it for my project. At any rate: thank you all for your very valuable advice and hints. I already suspected as well that \incipit is hardcoded to mensural sty

Re: Incipit with default noteheads possible?

2024-01-24 Thread Hajo Baess
This works for the note heads, but if there happen to be accidentals around (in my project this is the case), they remain mensural style. Is there another override for this, too? Am Mittwoch, dem 24.01.2024 um 16:14 +0200 schrieb YTG 1234: > > I have tried an override ( \override > > Staff.NoteHea

Re: Incipit with default noteheads possible?

2024-01-24 Thread Mats Bengtsson
I have to try it. So far, I've used the more manual solution available in https://lsr.di.unimi.it/LSR/Item?id=451     /Mats On 2024-01-24 18:39, YTG 1234 wrote: betterIncipit = #(define-music-function (incipit-music) (ly:music?)

Re: Incipit with default noteheads possible?

2024-01-24 Thread YTG 1234
Here's my attempt at this (I don't know how to check for staff-like contexts, so I just put them all in a list). It's just \incipit but with an additional condition and the context mods moved to \layout. betterIncipit = #(define-music-function (incipit-music) (ly:music?)   (_i "Output @va

Re: Incipit with default noteheads possible?

2024-01-24 Thread David Kastrup
YTG 1234 writes: >> I have tried an override ( \override >> Staff.NoteHead.style = #'default ) > > Note heads are drawn in Voice, so you can just omit the context > name. \override NoteHead.style = #'default > > The more fundamental issue here, though, is that \incipit is hardcoded > to create a

Re: Incipit with default noteheads possible?

2024-01-24 Thread YTG 1234
I have tried an override ( \override Staff.NoteHead.style = #'default ) Note heads are drawn in Voice, so you can just omit the context name. \override NoteHead.style = #'default The more fundamental issue here, though, is that \incipit is hardcoded to create a MensuralStaff context. Does an

Incipit with default noteheads possible?

2024-01-22 Thread Hajo Baess
noteheads. I have tried an override ( \override Staff.NoteHead.style = #'default ), but this does not seem to work. Here is my code example: \version "2.24.2" \language "deutsch" Incipit = \relative c'' { \clef treble \time 4/4 \omit Sta

TextScript inside staff, but not colliding with noteheads?

2023-10-17 Thread jarzan
to collide with the staff, and disable staff-padding to allow the text to fall down (it would fall to the correct spot if this were fingering). One of the main issues is that disabling outside-staff-priority allows the text to collide with the noteheads. \version "2.24.2" \relative c

Re: Function for letter noteheads

2023-10-08 Thread Valentin Petzel
Alternatively (as long as we do not want to parse parallel music in order) we can use a music function like this: %%% \version "2.24" typing-text = "Goddag Fru Direktör Det meddelande du sände den andra har landat." %When I uncomment these dynamics the text jumps

Re: Function for letter noteheads

2023-10-08 Thread Jean Abou Samra
> It was not intentional, that was the actual problem.  When I compiled it > without the dynamics it came out in the same order as the input, but that was > only a lucky coincidence then, right?  Yes. > Do you have any suggestions for how to get them ordered? When you need to process grobs or

Re: Function for letter noteheads

2023-10-08 Thread Leo Correia de Verdier
Hi Jean! It was not intentional, that was the actual problem. When I compiled it without the dynamics it came out in the same order as the input, but that was only a lucky coincidence then, right? Do you have any suggestions for how to get them ordered? Thanks! /Leo > 8 okt. 2023 kl. 11:2

Re: Function for letter noteheads

2023-10-08 Thread Jean Abou Samra
> I am trying to put custom notation for a piece for typewriter and electronics > together and have devised a function for merging text and rhythm. It works > fine as long as nothing else is involved, but interferes in some way with > scripts and dynamics. Could any of you figure how and why? (The

Function for letter noteheads

2023-10-04 Thread Leo Correia de Verdier
Dear List! I am trying to put custom notation for a piece for typewriter and electronics together and have devised a function for merging text and rhythm. It works fine as long as nothing else is involved, but interferes in some way with scripts and dynamics. Could any of you figure how and why

Re: How to make the width of the beamlets cover their corresponding noteheads?

2023-09-18 Thread yuanyelele--- via LilyPond user discussion
eamlets? > > MT > > Verzonden vanaf mijn Huawei mobiele telefoon > > > Oorspronkelijk bericht > Onderwerp: How to make the width of the beamlets cover their corresponding > noteheads? > Van: yuanyelele--- via LilyPond user discussion > Aan: lilypond-user@gnu.

Re: How to make the width of the beamlets cover their corresponding noteheads?

2023-09-18 Thread m.tarensk...@kpnmail.nl
I don't know how. But I first would like to know why beamlets?MTVerzonden vanaf mijn Huawei mobiele telefoon Oorspronkelijk bericht Onderwerp: How to make the width of the beamlets cover their corresponding noteheads?Van: yuanyelele--- via LilyPond user discussion Aan: lil

How to make the width of the beamlets cover their corresponding noteheads?

2023-09-18 Thread yuanyelele--- via LilyPond user discussion
Greetings everyone, I'd like to implement a very straightforward beaming logic, where the width of each beam covers its corresponding notehead. I can achieve this using \set stemLeftBeamCount and \set stemRightBeamCount, but is there a smarter and more automatic way to do this? I don't care ab

Re: Different noteheads left/right to the stem

2023-03-03 Thread Jean Abou Samra
Le vendredi 03 mars 2023 à 08:29 +0100, József Pap a écrit : > Hi all, > Is there a way to print different noteheads to the left and right side of the > stem? I have a custom notehead stencil function already, but I can't seem to > obtain the necessary information (i.e. whe

Different noteheads left/right to the stem

2023-03-02 Thread József Pap
Hi all, Is there a way to print different noteheads to the left and right side of the stem? I have a custom notehead stencil function already, but I can't seem to obtain the necessary information (i.e. whether the notehead will go on left/right side of the stem) from the stencil's sc

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 drawi

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

Re: Help with custom noteheads

2022-08-11 Thread Valentin Petzel
))) circ = #(make-circle-stencil 1 0.1 #f) insta = { c'4 d' e' f' g' a' b' c'' } \score { \new Staff \insta \layout { \context { \Score % custom circular noteheads \override NoteHead.stencil = #circa

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 S

Now Satisfied with the Rainbow colors for the noteheads.

2021-06-02 Thread darkijah
After some hours testing and printing out on my ink printer, this is the colors I have landed on for now. Adjusted and tuned and all. All colors and notes should now be easy to distinguished :) Here is the whole file for now for colors, the colors can be seen by itself as there are some notes ac

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.

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, stefan

Re: Stemless noteheads

2021-02-10 Thread Fernando Gil
Define this stemOff = { \omit Staff.Stem \omit Staff.Beam \omit Staff.Flag } Then you can use \stemOff to achieve that. Regards! Fer Gil El mié., 10 de febrero de 2021 11:37 p. m., stefano franchi < stefano.fran...@gmail.com> escribió: > I feel very stupid, but I just spent an hour reading

Stemless noteheads

2021-02-10 Thread stefano franchi
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 sc

Re: (Quaver) Noteheads with vertical bars like breve?

2021-01-26 Thread Michael Gerdau
> Is > https://lilypondforum.de/index.php/topic,830.msg4586.html#msg4586 > what you're looking for? Excellent, thank you :) Michael -- Michael Gerdau email: m...@qata.de GPG-keys available on request or at public keyserver

Re: (Quaver) Noteheads with vertical bars like breve?

2021-01-26 Thread Thomas Morley
Am Di., 26. Jan. 2021 um 08:42 Uhr schrieb Michael Gerdau : > > Hi list, > > I seem to recall I'd seen a snippet that adds vertical bars to quavers on LSR > but can't find it anymore. > > Has anybody code lying around that does that? > > Kind regards, > Michael > -- > Michael Gerdau email: m...@qa

(Quaver) Noteheads with vertical bars like breve?

2021-01-25 Thread Michael Gerdau
Hi list, I seem to recall I'd seen a snippet that adds vertical bars to quavers on LSR but can't find it anymore. Has anybody code lying around that does that? Kind regards, Michael -- Michael Gerdau email: m...@qata.de GPG-keys available on request or at public keyserver

Re: Noteheads using make-connected-path-stencil

2020-09-21 Thread Aaron Hill
On 2020-09-20 9:52 pm, Andrew Bernard wrote: Using LSR 891 as a base pattern, how can you fill the path with a colour, such as white? ly:stencil-in-color and ly:stencil-add should help: \version "2.18.2" tri = #(let ((coords '((-0.5 0) (0 -1) (0.5 0))) (thick 0.1) (scale-x 1) (sca

Noteheads using make-connected-path-stencil

2020-09-20 Thread Andrew Bernard
Using LSR 891 as a base pattern, how can you fill the path with a colour, such as white? Andrew %== \version "2.21.6" tri = #(make-connected-path-stencil '(;; path coordinates (-0.5 0) (0 -1) (0.5 0) (0 0) ) 0.1 ;; line thickness 1 ;; X-axis scaling factor

Re: Gap between stem and cross noteheads

2019-02-21 Thread Thomas Morley
Am Do., 21. Feb. 2019 um 17:53 Uhr schrieb Vaylor Trucks : > > When I use a staff size larger than 20, I get a gap between the stem and the > cross notehead, like for the ride cymbal in a drum score. Any way to correct > this? > > \version "2.19.82" > #(set-global-staff-size 23) > up = \drummode

Gap between stem and cross noteheads

2019-02-21 Thread Vaylor Trucks
When I use a staff size larger than 20, I get a gap between the stem and the cross notehead, like for the ride cymbal in a drum score. Any way to correct this? \version "2.19.82" #(set-global-staff-size 23) up = \drummode { \stemUp cymr4 } \score { << \new DrumStaff << \up >> >> }

Re: Color noteheads according to their duration

2018-09-28 Thread Aaron Hill
On 2018-09-27 10:54 pm, Federico Bruni wrote: Il giorno gio 27 set 2018 alle 21:29, Tim Meier ha scritto: Hello, unfortunately I'm not that well versed in the lillypond/scheme syntax. What I want to do is basically this (in pseudocode): if (noteDuration is quarter) => make noteHead blue if

Re: Color noteheads according to their duration

2018-09-27 Thread Federico Bruni
Il giorno gio 27 set 2018 alle 21:29, Tim Meier ha scritto: Hello, unfortunately I'm not that well versed in the lillypond/scheme syntax. What I want to do is basically this (in pseudocode): if (noteDuration is quarter) => make noteHead blue if (noteDuration is half) => make noteHead red

Re: Incorrectly merged noteheads

2017-10-11 Thread SoundsFromSound
Malte Meyn-3 wrote > Am 11.10.2017 um 13:29 schrieb Ben: >> The PDF is different than the code, which I'm sure you were aware of - > > Not in 2.18.2, the version Brent is using as you can see from the > \version statement. > >> but I just don't understand what you are looking for - the code see

Re: Incorrectly merged noteheads

2017-10-11 Thread Robin Bannister
Brent Annable wrote: What I want is to get the quarter note positioned to the right of the half note (as in the top example), but with the large and small quarter-notes vertically aligned. Any ideas on how to achieve this? Try replacing <<\voiceOne {\stemDown g'4 e } \new Voice {\voic

Re: Incorrectly merged noteheads

2017-10-11 Thread Malte Meyn
Am 11.10.2017 um 13:29 schrieb Ben: The PDF is different than the code, which I'm sure you were aware of - Not in 2.18.2, the version Brent is using as you can see from the \version statement. but I just don't understand what you are looking for - the code seems to give you what you want

Re: Incorrectly merged noteheads

2017-10-11 Thread Ben
On 10/11/2017 6:30 AM, Brent Annable wrote: Hello everybody. My recent message didn't get any replies so I'm posting it again just in case. What I want is to get the quarter note positioned to the right of the half note (as in the top example), but with the large and small quarter-notes vert

Incorrectly merged noteheads

2017-10-11 Thread Brent Annable
Hello everybody. My recent message didn't get any replies so I'm posting it again just in case. I'm notating some four-part harmony for organ manuals that sometimes has optional small bass notes for the pedals. In one spot, I'm having trouble stopping Lilypond from merging the heads of a half-note

Re: cross-voice ties and merging noteheads

2017-02-25 Thread Orm Finnendahl
Hi all, Am Samstag, den 25. Februar 2017 um 17:41:15 Uhr (+0100) schrieb Urs Liska: > Yes, but I think the issue is solved by now with Andrew's suggestion. it is indeed. Thanks Andrew! Yours, Orm -- Prof. Orm Finnendahl Komposition

Re: cross-voice ties and merging noteheads

2017-02-25 Thread Urs Liska
Am 25.02.2017 um 17:21 schrieb Phil Holmes: > - Original Message - From: "Orm Finnendahl" > > To: > Sent: Saturday, February 25, 2017 2:45 PM > Subject: Re: cross-voice ties and merging noteheads > > >> Am Samstag, den 25. Februar 2017 um 14:2

Re: cross-voice ties and merging noteheads

2017-02-25 Thread Phil Holmes
- Original Message - From: "Orm Finnendahl" To: Sent: Saturday, February 25, 2017 2:45 PM Subject: Re: cross-voice ties and merging noteheads Am Samstag, den 25. Februar 2017 um 14:25:52 Uhr (+0100) schrieb Urs Liska: An image would be helpful to avoid misunderstandings.

Re: cross-voice ties and merging noteheads

2017-02-25 Thread Orm Finnendahl
Am Samstag, den 25. Februar 2017 um 14:25:52 Uhr (+0100) schrieb Urs Liska: > An image would be helpful to avoid misunderstandings. attached. I tried to keep the file size small. Let me know if you need it in better resolution. -- Orm ___ lilypond-user

Re: cross-voice ties and merging noteheads

2017-02-25 Thread Andrew Bernard
Hi Orm, Use voices. Here's a rough outline answer sketched out quickly, without seeing the publication you refer to. Basically you can only tie across notes in the same voice, so that clues you in as to the way to set such music. Andrew == snip \score { \new Staff \with { tieWaitForNote = #

Re: cross-voice ties and merging noteheads

2017-02-25 Thread Urs Liska
f' { > << >{ e4. ~ 4 ~ s8 \stemDown e,,4 b8 ~ b4. } >\\ >{ e''4.*2/3 b8 e,4 b8 ~ } >\\ > { s4. \tieUp e4. ~ 4. ~ b4. } > >> >}}} >%< > >In th

cross-voice ties and merging noteheads

2017-02-25 Thread Orm Finnendahl
4. } >> }}} %< In the print, 1. the noteheads of the e of the first beat in measure 2 are merged 2. Both eigth note b on the third eigth of MM 1 and 2 are tied to the first beat of the next measure. I managed to merge the first not

Re: Coordinates of the noteheads a tie/slur is attached to

2017-01-25 Thread Urs Liska
first notehead). And of course I'll clean up the bindings. \version "2.19.54" #(define (get-noteheads grob) (if (grob::has-interface grob 'note-column-interface) (ly:grob-array->list (ly:grob-object grob 'note-heads)) (list

Re: Coordinates of the noteheads a tie/slur is attached to

2017-01-24 Thread David Nalesnik
t; necessary. Apart from that IIRC this is exactly the part of \shapeII > that seems to be problematic with current LilyPond. > > So, before I start to actually try understanding that code I'd like to > ask for some pointers how I could better approach the question. > Try: \ve

Coordinates of the noteheads a tie/slur is attached to

2017-01-24 Thread Urs Liska
Hi, how can I find the coordinates of the two note heads a tie or slur is attached to? I need to write a new stencil for these curves and want to hook that not to the staff origin but to the actual note heads. There is some code in https://github.com/openlilylib/snippets/blob/master/notation-sni

Re: Changing orientation of noteheads in tuplets

2017-01-10 Thread Thomas Morley
2017-01-10 13:40 GMT+01:00 : > Hello everybody, > > I'm having a problem with beams when using > > http://lsr.di.unimi.it/LSR/Item?id=861 > > to change the direction of noteheads of chords that are part of a tuplet. > The beams just disappear, and If the tuplet i

Changing orientation of noteheads in tuplets

2017-01-10 Thread clavis
Hello everybody, I'm having a problem with beams when using http://lsr.di.unimi.it/LSR/Item?id=861 to change the direction of noteheads of chords that are part of a tuplet. The beams just disappear, and If the tuplet is more complex, like 14/8, it gets really bad. Would anybody have an

Re: NoteHeads vs duration

2016-08-20 Thread Pierre Perol-Schneider
Hi Malte. Actually the markups there were just to put something, not real issues. Thanks anyway! Cheers, Pierre 2016-08-20 12:41 GMT+02:00 Malte Meyn : > > > Am 20.08.2016 um 12:25 schrieb Pierre Perol-Schneider: > >> (case duration ((0) (grob-interpret-mar

Re: NoteHeads vs duration

2016-08-20 Thread Malte Meyn
Am 20.08.2016 um 12:25 schrieb Pierre Perol-Schneider: (case duration ((0) (grob-interpret-markup grob (markup "0"))) ((1) (grob-interpret-markup grob (markup "1"))) ((2) (grob-interpret-markup grob (markup "2")))

Re: NoteHeads vs duration

2016-08-20 Thread Pierre Perol-Schneider
Thank you very much David. 2016-08-20 12:20 GMT+02:00 David Kastrup : > Pierre Perol-Schneider writes: > > > Typo, sorry : so, again, how can I get access to the note head when > > duration is shorter than a fourth note ? > > > > \version "2.19.46" > > > > \score { > > \new Staff \relative c''

Re: NoteHeads vs duration

2016-08-20 Thread David Kastrup
Pierre Perol-Schneider writes: > Typo, sorry : so, again, how can I get access to the note head when > duration is shorter than a fourth note ? > > \version "2.19.46" > > \score { > \new Staff \relative c'' { c1 2 4 8 16 32 64 128 } > \layout { > \context { > \Staff > \omit St

Re: NoteHeads vs duration

2016-08-20 Thread Pierre Perol-Schneider
Typo, sorry : so, again, how can I get access to the note head when duration is shorter than a fourth note ? \version "2.19.46" \score { \new Staff \relative c'' { c1 2 4 8 16 32 64 128 } \layout { \context { \Staff \omit Stem \omit Flag \override NoteHead.stencil

NoteHeads vs duration

2016-08-20 Thread Pierre Perol-Schneider
Hi, Please consider the following: \version "2.19.46" \score { \new Staff \relative c'' { c1 2 4 8 16 32 64 128 256 } \layout { \context { \Staff \omit Stem \omit Flag \override NoteHead.stencil = #(lambda (grob) (let ((duration (ly:grob-property

RE: overlaying noteheads in different voices

2016-02-09 Thread Charles O. Lawrence
: lilypond-user@gnu.org; lilypond-user-bounces+nathan=snappizz@gnu.org Subject: Re: overlaying noteheads in different voices On 2016-02-08 19:27, Charles O. Lawrence wrote: > How do I get the dotted half low a in voice 2 to overlay (blot out? I > don't know the proper terminology) the e

Re: overlaying noteheads in different voices

2016-02-08 Thread Nathan Ho
On 2016-02-08 19:27, Charles O. Lawrence wrote: How do I get the dotted half low a in voice 2 to overlay (blot out? I don't know the proper terminology) the eighth low a in voice 1? I searched the LSR, but came up empty, probably because I don't know the proper lilypond terminology for this nota

overlaying noteheads in different voices

2016-02-08 Thread Charles O. Lawrence
How do I get the dotted half low a in voice 2 to overlay (blot out? I don't know the proper terminology) the eighth low a in voice 1? I searched the LSR, but came up empty, probably because I don't know the proper lilypond terminology for this notation. \new Staff \relative c'' {

RE: Reversing order of colliding noteheads?

2016-01-28 Thread Stephen MacNeil
How about %% \version "2.18.2" timeKey = { \key c \major \time 4/4 } tenorPart = { \voiceOne r2 e'8 \shape #'((0 . 0) (0 . 0.8) (0 . 0.8) (0 . 0.1)) Tie c'4. ~ | \once \override Voice.NoteColumn.force-hshift = #.6 c'4. r8 f'2 | } leadPart = { \voiceTwo

Re: Reversing order of colliding noteheads?

2016-01-28 Thread Michael J. O'Donnell
ould be nice to be able to tweak a different horizontal order for colliding noteheads without specifying the distance moved. Also, I would suggest a policy of keeping tied notes contiguous. But these would be low priority wishes. Cheers, Mike O'Donnell > --

Re: Reversing order of colliding noteheads?

2016-01-27 Thread tisimst
> be readable. I would prefer to avoid a change in the voice structure, > which would complicate the alignment with lyrics. > > Thanks for any ideas, > Here are a few ideas. 1. Reposition the noteheads: tenorPart = { \voiceOne r2 e'8 \once \override NoteColu

Reversing order of colliding noteheads?

2016-01-27 Thread Michael J. O'Donnell
In the following two-bar snippet, I used \voiceOne and \voiceTwo to place Tenor and Lead vocal lines on a single staff. The Tenor has a tied-over note, whose notehead collides at the beginning of the second bar with the Lead note, one step away. LilyPond places the Lead note inside of the Tenor tie

Re: attach glissandi to stems instead of noteheads

2016-01-27 Thread Pierre Perol-Schneider
Sorry I was in a hurry few minutes ago and I simply copy/paste an old coding. Well, having some more time and re-reading the code I've seen some minor things: \version "2.19.35" %%% Credit to the LSR => http://lsr.di.unimi.it/LSR/Item?id=82 #(define (add-gliss m) (case (ly:music-property m 'na

Re: attach glissandi to stems instead of noteheads

2016-01-27 Thread Pierre Perol-Schneider
Sorry, too fast: #(define (add-gliss m) (case (ly:music-property m 'name) ((NoteEvent) (set! (ly:music-property m 'articulations) (append (ly:music-property m 'articulations) (list (make-music (quote GlissandoEvent) m)

Re: attach glissandi to stems instead of noteheads

2016-01-27 Thread Pierre Perol-Schneider
2016-01-27 19:38 GMT+01:00 Caio Giovaneti de Barros : Well, you can see that this code is much bigger than mine. > Yep, plus some copy/paste errors. So here again: \version "2.19.32" #(define path-gliss (lambda (grob) (if (ly:stencil? (ly:line-spanner::print grob)) (let* ((stenc

Re: attach glissandi to stems instead of noteheads

2016-01-27 Thread Caio Giovaneti de Barros
Well, you can see that this code is much bigger than mine. I'm a bit uncomfortable because I don't have yet the lilypond-scheme vocabulary to understand it. OTOH, it has a more convenient syntax, not needing to add a \glissando in every note. It should be a good solution for longer passages. I

Re: attach glissandi to stems instead of noteheads

2016-01-27 Thread Pierre Perol-Schneider
Hi Caio, How about: \version "2.19.35" #(define path-gliss (lambda (handle) (lambda (grob) (if (ly:stencil? (ly:line-spanner::print grob)) (let* ((stencil (ly:line-spanner::print grob)) (X-ext (ly:stencil-extent stencil X)) (Y-ext (ly:stencil-extent stencil Y))

Re: attach glissandi to stems instead of noteheads

2016-01-27 Thread Caio Giovaneti de Barros
I think I got it. It's a bit of an ugly code, but works. \version "2.19.35" \relative c' { \override NoteHead.stencil = #ly:text-interface::print \override NoteHead.text = \markup { \null } \override NoteHead.stem-attachment = #'(0 . 0) \override Glissando.thickness = #5 \override Glissand

attach glissandi to stems instead of noteheads

2016-01-27 Thread Caio Giovaneti de Barros
I'm trying to draw a suggestion for glissando in changing directions. The ideal notation would be beamed stems without note heads connected by glissandi. Here's what I got so far: \version "2.19.35" \relative c' { \override NoteHead.stem-attachment = #'(0 . 0) \hide NoteHead \override Glis

Re: slurs across bar lines with glissandi and hidden noteheads

2016-01-12 Thread Ryan Michael
Ah! Okay so actually I was trying to slur from the preceding note (cis8), so the following worked for me: \version "2.18.2" \relative { %51% \tuplet 3/2 { r8-\markup \italic "gesprochen" d'8 dis8 } \tuplet 3/2 { r16 cis cis a r16 cis } \tuplet 3/2 { cis a r16 a cis8(\glissa

Re: slurs across bar lines with glissandi and hidden noteheads

2016-01-12 Thread Blöchl Bernhard
For exploring tuplets (etc.) simply consult the manual http://lilypond.org/doc/v2.18/Documentation/notation/writing-rhythms#tuplets Am 12.01.2016 22:40, schrieb Blöchl Bernhard: cis8glissando does not work, do not forget the "\"! \relative c'' { \once \hide NoteHead a\glissando c } Am 12.

Re: slurs across bar lines with glissandi and hidden noteheads

2016-01-12 Thread Blöchl Bernhard
Am 12.01.2016 22:40, schrieb Blöchl Bernhard: cis8glissando does not work, do not forget the "\"! \relative c'' { \once \hide NoteHead a\glissando c } Am 12.01.2016 22:12, schrieb Ryan Michael: I have the following two bars:  %51% tuplet 3/2{ r8-markup{italic "gesprochen"} d'8 dis8} tuple

Re: slurs across bar lines with glissandi and hidden noteheads

2016-01-12 Thread Simon Albrecht
Two more remarks: On 12.01.2016 22:12, Ryan Michael wrote: I do the following: %51% \tuplet 3/2{ r8-\markup{\italic "gesprochen"} d'8 dis8} \tuplet 3/2{ r16 cis cis a r16 cis} \tuplet 3/2{ cis a r16 a cis8\glissando} \once \hide NoteHead (g4\glissando %52% cis,2 ) r4 r8 dis'-\markup{\itali

Re: slurs across bar lines with glissandi and hidden noteheads

2016-01-12 Thread Simon Albrecht
On 12.01.2016 22:40, Blöchl Bernhard wrote: cis8glissando does not work, do not forget the "\"! \relative c'' { \once \hide NoteHead a\glissando c } The original post contained the backslash – it must have been lost on the way to you. Yours, Simon Am 12.01.2016 22:12, schrieb Ryan Micha

Re: slurs across bar lines with glissandi and hidden noteheads

2016-01-12 Thread Blöchl Bernhard
cis8glissando does not work, do not forget the "\"! \relative c'' { \once \hide NoteHead a\glissando c } Am 12.01.2016 22:12, schrieb Ryan Michael: I have the following two bars:  %51% tuplet 3/2{ r8-markup{italic "gesprochen"} d'8 dis8} tuplet 3/2{ r16 cis cis a r16 cis} tuplet 3/2{ cis

Re: slurs across bar lines with glissandi and hidden noteheads

2016-01-12 Thread Simon Albrecht
On 12.01.2016 22:12, Ryan Michael wrote: I would like to make a slur from the g4 of the first bar to the cis2 of the next bar Slurs in Lilypond use postfix syntax, so you need to type { g4( cis2) } instead of { ( g4 cis2 ) }. HTH, Simon ___ lilypo

slurs across bar lines with glissandi and hidden noteheads

2016-01-12 Thread Ryan Michael
I have the following two bars: %51% \tuplet 3/2{ r8-\markup{\italic "gesprochen"} d'8 dis8} \tuplet 3/2{ r16 cis cis a r16 cis} \tuplet 3/2{ cis a r16 a cis8\glissando} \once \hide NoteHead g4\glissando %52% cis,2 r4 r8 dis'-\markup{\italic "gliss"} I would like to make a slur from the g4 of

Re: Noteheads slightly too large

2015-12-12 Thread David Wright
UA (having gnus in its name) perhaps knows about? On other lists, I've got used to just typing, say, 20150910160748.GB8353@alum into google and getting the relevant postings returned. † by context, I mean "how I would get to *see these noteheads*", not "how I would *follow a thr

Re: Noteheads slightly too large

2015-12-12 Thread Andrew Bernard
Oh, so sorry - the original message I now see was on the lilypond bug list, not the lilypond user list to which I have incorrectly replied. Apologies for the mistake, Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mail

Re: Noteheads slightly too large

2015-12-12 Thread David Kastrup
David Wright writes: > Excuse my top-posting, but is there any context for this message? > http://lists.gnu.org/archive/html/lilypond-user/2015-12/msg00296.html > is no help either. It *might* be helpful to be able to see the > Message-ID and In-Reply-To for the postings there, but the list > adm

Re: Noteheads slightly too large

2015-12-11 Thread David Wright
Excuse my top-posting, but is there any context for this message? http://lists.gnu.org/archive/html/lilypond-user/2015-12/msg00296.html is no help either. It *might* be helpful to be able to see the Message-ID and In-Reply-To for the postings there, but the list administrators seem more interested

Re: Noteheads slightly too large

2015-12-11 Thread Andrew Bernard
Hi All, I have noticed this phenomenon also. Why would it be intentional I wonder? And if so, why not exceed the lower staff line also? What would be the purpose in exceeding the bounds? I don’t see it adding legibility or clarity, and indeed, small offsets like this tend to fill the perceptual

Re: Custom noteheads stem alignment

2015-04-13 Thread Paul Morris
to, closepath M, m, L, l, C, c, Z, z Cheers, -Paul -- View this message in context: http://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-13 Thread Pierre Perol-Schneider
:40 GMT+02:00 Paul Morris : > Schneidy wrote > > Now I understand - font size changes won’t affect this code as it is not > >> drawing from the font. But I am not sure what code will scale the > >> noteheads. Do I need a separate stencil for different sizes? That’s

  1   2   3   4   5   >