Re: Multiple instances of same articulation/bowing on one note

2023-01-31 Thread Ahanu Banerjee
re version, that would be great! Jean, thanks for the workaround. I could certainly not have come up with that myself. I'll give it a try tomorrow. -Ahanu On Tue, Jan 31, 2023, 22:07 Jean Abou Samra wrote: > On 01/02/2023 03:51, Ahanu Banerjee wrote: > > It's obviously not a bug. Jean, than

Re: Multiple instances of same articulation/bowing on one note

2023-01-31 Thread Ahanu Banerjee
It's obviously not a bug. Jean, thanks for pointing out where the relevant instruction is. What would be the easiest way to modify this behavior for a single score? Thanks, -Ahanu On Tue, Jan 31, 2023, 21:37 Jean Abou Samra wrote: > On 01/02/2023 03:34, kie...@kierenmacmillan.info wrote: > >

Re: Multiple instances of same articulation/bowing on one note

2023-01-31 Thread Ahanu Banerjee
\downArticulation > >> > > In a Dynamics context the entered music gives the durations, but the note > heads aren't printed. So once the music is entered and checked, it can just > be pasted into a new variable and the articulations added as needed. > > On Tue, Jan 31, 2023 at 9:

Multiple instances of same articulation/bowing on one note

2023-01-31 Thread Ahanu Banerjee
I'm trying to put the same articulation both above and below one note. (My document has one set of bowings above the staff and an alternate set below the staff, and occasionally they both need the same marking.) The workaround I currently have is creating a second voice, which is a bit of a pain.

\stopStaff \startStaff spacing & line continuity

2023-01-31 Thread Ahanu Banerjee
I am trying to modify the color of the ledger lines for a single note. My understanding is that I need to use \stopStaff and \startStaff for this. However, doing so causes the staff lines to be discontinuous. This rounds the ends of the staff lines surrounding the point at which the staff is

Re: Setting default arguments for music function?

2023-01-31 Thread Ahanu Banerjee
Fantastic! Thanks again. On Tue, Jan 31, 2023 at 7:28 PM Jean Abou Samra wrote: > On 01/02/2023 01:23, Ahanu Banerjee wrote: > > Is it possible to have one of the arguments rely on a property of > another argument? > > > > In my example, I want the default value for &qu

Re: Setting default arguments for music function?

2023-01-31 Thread Ahanu Banerjee
ion (parenColor parenSize parenItem) ( (color? "black") (number? -4) ly:music?) #{ \tweak Parentheses.font-size #parenSize \tweak Parentheses.color #parenColor \parenthesize #parenItem #}) { c \altParen -\tweak color "green" \upbow } Thanks, -Ahanu On Tue,

Re: Setting default arguments for music function?

2023-01-31 Thread Ahanu Banerjee
Thanks! I had no idea that that resource existed. Appreciate all your help. -Ahanu On Tue, Jan 31, 2023 at 7:08 PM Jean Abou Samra wrote: > On 01/02/2023 01:04, Ahanu Banerjee wrote: > > Is it possible to specify default values for a function to use when > arguments are missing? In

Setting default arguments for music function?

2023-01-31 Thread Ahanu Banerjee
Is it possible to specify default values for a function to use when arguments are missing? In the example below, I want the default font size to be -4 and the default color to be blue without having to specify it each time, but I also want the ability to change those values in rare cases.

Re: Tweak Slur direction "neutral"

2023-01-30 Thread Ahanu Banerjee
jects it means ‘center’." This doesn't seem accurate, as \override Slur.direction = 0 results in an error, not a slur with direction UP. On Sun, Jan 29, 2023 at 8:40 PM Ahanu Banerjee wrote: > Thank you so much! > > -Ahanu > > On Sun, Jan 29, 2023, 20:36 Jean Abou Samra wrote:

Re: Tweak Slur direction "neutral"

2023-01-29 Thread Ahanu Banerjee
Thank you so much! -Ahanu On Sun, Jan 29, 2023, 20:36 Jean Abou Samra wrote: > On 30/01/2023 02:20, Ahanu Banerjee wrote: > > When I attempt to change the "direction" property of a slur, whether > that is with \tweak or \override, I cannot set the direction to neutral

Tweak Slur direction "neutral"

2023-01-29 Thread Ahanu Banerjee
When I attempt to change the "direction" property of a slur, whether that is with \tweak or \override, I cannot set the direction to neutral (0). UP (1) and DOWN (-1) work fine, but when setting to 0, I get the following error: "Assertion failed: d, file

Re: Define "tweak" function

2023-01-29 Thread Ahanu Banerjee
Never mind, it appears that adding "\etc" does what I am trying to do: makeRed = -\tweak color "red" \etc On Sun, Jan 29, 2023 at 5:53 PM Ahanu Banerjee wrote: > Thanks for the quick reply. I am looking to create a function that can > apply to more than one type o

Re: Define "tweak" function

2023-01-29 Thread Ahanu Banerjee
tweak" that acts on the object that follows it regardless of type? On Sun, Jan 29, 2023 at 5:49 PM Jean Abou Samra wrote: > On 29/01/2023 23:45, Ahanu Banerjee wrote: > > How can I define a function that applies one or more tweaks to the > object that comes after it? > > >

Define "tweak" function

2023-01-29 Thread Ahanu Banerjee
How can I define a function that applies one or more tweaks to the object that comes after it? example: I want the following expression to be a function called "\makeRed": -\tweak color "red" so that I can type \makeRed \downbow instead of -\tweak color "red" \downbow Thanks, -Ahanu

Re: Unexpected placement of accidental

2023-01-05 Thread Ahanu Banerjee
Thank you! -Ahanu On Thu, Jan 5, 2023, 04:26 Jean Abou Samra wrote: > Le 05/01/2023 à 10:17, Ahanu Banerjee a écrit : > > If I wanted to override the position of this single accidental, how > > might I do so? > > Use extra-offset. > > \version "2.24.0"

Re: Unexpected placement of accidental

2023-01-05 Thread Ahanu Banerjee
might I do so? Cheers, -Ahanu On Thu, Jan 5, 2023, 03:46 Jean Abou Samra wrote: > Le 05/01/2023 à 07:26, Ahanu Banerjee a écrit : > > Hello, > > > > Please see the example below. I tried running it in 2.22 and 2.23 as > > well, and got the same result. Am I missing an ob

Unexpected placement of accidental

2023-01-04 Thread Ahanu Banerjee
Hello, Please see the example below. I tried running it in 2.22 and 2.23 as well, and got the same result. Am I missing an obvious reason that the c-natural accidental is placed so far to the left? \version "2.24.0" \language "english" \relative { \clef bass \key a \major % unexpected

Re: Simultaneous ottava and non-ottava voices

2022-07-01 Thread Ahanu Banerjee
gt; } > > See the first snippet at > https://lilypond.org/doc/v2.23/Documentation/snippets/tweaks-and-overrides > > Paul > > > * From: * Ahanu Banerjee > * To: * lilypond-user > * Sent: * 01/07/2022 0:24 > * Subject: * Simultaneous ottava and non-ottava voices > &

Re: Override multiple properties in one statement?

2022-06-30 Thread Ahanu Banerjee
Thanks; I think you are right about it being convoluted, and I will just continue using explicit \tweak and \override statements. Cheers, -Ahanu On Thu, Jun 30, 2022 at 4:18 PM Jean Abou Samra wrote: > > > Le 30/06/2022 à 22:04, Ahanu Banerjee a écrit : > > Hello, > &g

Simultaneous ottava and non-ottava voices

2022-06-30 Thread Ahanu Banerjee
Hi, Is it possible to have two voices in one measure, on one staff, with one voice as "Ottava 1" and the other as "Ottava 0"? (I realise this notation may seem unclear, but I have a specific use case.) If I try the following, each ottava overrides the other: \version "2.23.10" \relative c' {

Override multiple properties in one statement?

2022-06-30 Thread Ahanu Banerjee
Hello, Is it possible to override or tweak multiple properties of one object at once, using one statement? i.e., without typing "\tweak" or "\override" multiple times? (Of course, defining a new function consisting of multiple statements is possible, but it's not practical when there are many

Re: Override NoteHead glyph

2022-06-22 Thread Ahanu Banerjee
Perfect; thank you! On Wed, Jun 22, 2022, 15:32 Aaron Hill wrote: > On 2022-06-22 12:19 pm, Ahanu Banerjee wrote: > > Hello, > > > > I am trying to create noteheads (without stems) that have a duration > > longer > > than a quarter note (crotchet)

Override NoteHead glyph

2022-06-22 Thread Ahanu Banerjee
Hello, I am trying to create noteheads (without stems) that have a duration longer than a quarter note (crotchet) but are filled-in. They are meant to represent the notes that will be heard when a harmonic is played. I am not sure how to do this; one workaround is to use a quarter note value and

Re: Exited with return code -1073741819

2022-06-15 Thread Ahanu Banerjee
Of course; just wanted to track progress and see if you still needed access to a windows install to debug. Many thanks! On Wed, Jun 15, 2022, 01:19 Jean Abou Samra wrote: > Le 15/06/2022 à 06:10, Ahanu Banerjee a écrit : > > Hi, has an issue been created for this problem? I don'

Re: Exited with return code -1073741819

2022-06-14 Thread Ahanu Banerjee
Hi, has an issue been created for this problem? I don't see one in gitlab. Any progress in identifying the cause? Thanks, -Ahanu On Fri, Jun 10, 2022 at 7:52 AM David Kastrup wrote: > Paul Hodges writes: > > > From: Paul Hodges > > > > From: David Kastrup > > Try deleting > > > >

Re: Exited with return code -1073741819

2022-06-10 Thread Ahanu Banerjee
rs in Voice cause the problem, even when they are all enabled. If I enable all the engravers under Staff except the 3 that cause the problem individually, I still get -1073741819. That's all the testing I can do tonight, as it's late here. I'd be happy to continue tomorrow. Cheers, -Ahanu On Fri, Jun 1

Re: Exited with return code -1073741819

2022-06-10 Thread Ahanu Banerjee
System_start_delimiter_engraver causes it to fail earlier, during "Interpreting music...". -Ahanu On Fri, Jun 10, 2022 at 2:01 AM Ahanu Banerjee wrote: > In 2.23.9, using the code you (Jean) pasted in your last email, I get the > following output: > > Starting lilypon

Re: Exited with return code -1073741819

2022-06-10 Thread Ahanu Banerjee
, 2022 at 1:57 AM Ahanu Banerjee wrote: > I will give it a try. > > -Ahanu > > On Fri, Jun 10, 2022, 01:31 Jean Abou Samra wrote: > >> Le 10/06/2022 à 02:17, Ahanu Banerjee a écrit : >> > I was unable to get 2.2.6 (mingw) to run at all on my machine, but >

Re: Exited with return code -1073741819

2022-06-09 Thread Ahanu Banerjee
I will give it a try. -Ahanu On Fri, Jun 10, 2022, 01:31 Jean Abou Samra wrote: > Le 10/06/2022 à 02:17, Ahanu Banerjee a écrit : > > I was unable to get 2.2.6 (mingw) to run at all on my machine, but > > 2.23.8 and 2.23.9 have the issue. It seems to be worse with 2.23.9. >

Re: Terminate one-note hairpin at end of note

2022-06-09 Thread Ahanu Banerjee
I should have scrolled further down in the documentation. This works: \override Hairpin.endpoint-alignments = #`(,LEFT . ,LEFT) -Ahanu On Thu, Jun 9, 2022 at 8:21 PM Ahanu Banerjee wrote: > Hi, > > shorten-pair works, but I was hoping there would be an easier solution > that a

Re: Terminate one-note hairpin at end of note

2022-06-09 Thread Ahanu Banerjee
Hi, shorten-pair works, but I was hoping there would be an easier solution that automatically places the endpoint and doesn't require trial and error. Thanks, -Ahanu On Thu, Jun 9, 2022 at 7:51 PM Kieren MacMillan wrote: > Hi Ahanu, > > > Is there a clean way to terminate a hairpin at the

Re: Exited with return code -1073741819

2022-06-09 Thread Ahanu Banerjee
> * To: * Paul Hodges > * Cc: * Jean Abou Samra , Lily Pond < > lilypond-user@gnu.org>, Ahanu Banerjee > * Sent: * 10/06/2022 0:30 > * Subject: * Re: Exited with return code -1073741819 > > Paul Hodges writes: > > > From: Jean Abou Samra > > Pl

Terminate one-note hairpin at end of note

2022-06-09 Thread Ahanu Banerjee
Hello, Is there a clean way to terminate a hairpin at the end of the same note it begins with, i.e., at the left side of the next note? I tried using the new "\after" construction, but that only works if I set it to an arbitrary note value less than the full value of the note beginning the

Exited with return code -1073741819

2022-06-09 Thread Ahanu Banerjee
Hello, On Windows 11, I have been using 2.22 with no problems, but 2.23.x frequently hangs after "Interpreting music..." and says "Exited with return code -1073741819". Running lilypond again will sometimes work and sometimes returns the same error. I have not been able to identify a pattern

TextScript inside staff

2022-06-08 Thread Ahanu Banerjee
Hello, I'm looking for a way to put markup text, anchored to a note, inside the staff. The only way I have found so far is using extra-offset, which results in spacing issues around the text's original position. Is there another way? Example: \version "2.23.8" { \stemUp e'' -\tweak extra-offset

Re: issues with "afterGrace" since 2.20

2022-05-29 Thread Ahanu Banerjee
Thanks, everyone, for the detailed explanations and the proposed solution! -Ahanu On Sat, May 28, 2022 at 7:28 AM David Kastrup wrote: > Lukas-Fabian Moser writes: > > > Hi Ahanu, > > > >> In lilypond 2.20.0, I was able to use "afterGrace" like this: > >> > >> \version "2.20.0" > >>

Re: fermata inside staff with textScript

2022-05-27 Thread Ahanu Banerjee
Thank you! -Ahanu On Fri, May 27, 2022, 18:32 Jean Abou Samra wrote: > > > Le 27/05/2022 à 23:45, Ahanu Banerjee a écrit : > > Hello, > > > > I am having trouble getting a fermata to appear inside the staff when > > textScript (markup) is specif

issues with "afterGrace" since 2.20

2022-05-27 Thread Ahanu Banerjee
Hello, In lilypond 2.20.0, I was able to use "afterGrace" like this: \version "2.20.0" \language "english" \relative c' { d2 \afterGrace 4 { cs16 d } } However, this now presents an error: "warning: \afterGrace exceeds duration of main argument". Running ly-convert does not fix it. If I change

fermata inside staff with textScript

2022-05-27 Thread Ahanu Banerjee
Hello, I am having trouble getting a fermata to appear inside the staff when textScript (markup) is specified on the same side of the staff as the fermata. (This is needed for a multi-voice context with tight spacing.) Changing outside-staff-priority did not help. Is there an easy fix? \version

Re: TupletNumber placement with fingering

2022-05-19 Thread Ahanu Banerjee
uot; > > \relative c > > {\tuplet 3/2 { g''8_4 g g } \tuplet 3/2 { c^4 c c } } > > > > Mark > > > > *From:* lilypond-user [mailto:lilypond-user-bounces+carsonmark= > ca.rr@gnu.org] *On Behalf Of *Ahanu Banerjee > *Sent:* Wednesday, May 18, 202

TupletNumber placement with fingering

2022-05-18 Thread Ahanu Banerjee
Hello, When I have a beamed tuplet (without a bracket) and a fingering on one note, the TupletNumber moves outward from the staff despite there being no possibility of a collison. In normal usage, TupletNumber should stay as close as possible to the beam. Example: \version "2.22.2" \relative c

Multiple identical articulations on one note

2021-12-13 Thread Ahanu Banerjee
Hello, What is the easiest way to put multiple identical articulations on one note? I am trying to put a tenuto marking both above and below the same note in a passage. (Context: this is for a cello; the main bowing is above the notes, and there is an alternative bowing below the notes.)

Crescendo after custom dynamic marking

2021-12-12 Thread Ahanu Banerjee
Hello, When creating a crescendo following a custom dynamic marking (e.g., piano subito), I am having trouble moving the start of the spanner to a point following the dynamic markup. What would be the best way of doing this? Example below. Thanks! \version "2.20.0" { d'16_\markup { \dynamic p

Re: Altering beamed stem lengths

2021-12-11 Thread Ahanu Banerjee
Thank you, Aaron; that is exactly what I was looking for. Cheers, -Ahanu On Sat, Dec 11, 2021, 23:42 Aaron Hill wrote: > On 2021-12-11 8:29 pm, Ahanu Banerjee wrote: > > Hello, > > > > I am working with 2 simultaneous voices, and I want to increase the > > distan

Altering beamed stem lengths

2021-12-11 Thread Ahanu Banerjee
Hello, I am working with 2 simultaneous voices, and I want to increase the distance between the beamed stems of one voice and the noteheads of the other voice. Is there some way to set a minimum distance between the beams and noteheads, i.e., "padding"? I don't want to manually override

Re: Tempo marking with 2 notes

2021-05-11 Thread Ahanu Banerjee
Indeed, I had missed that portion of the documentation.. I was able to adapt it and make it work. Thank you! -Ahanu On Mon, May 10, 2021, 22:13 Peter Chubb wrote: > >>>>> "Ahanu" == Ahanu Banerjee writes: > > > Ahanu> Can anyone provide a simple

Re: Horizontal beam parallel to staff

2021-05-11 Thread Ahanu Banerjee
Thank you both, very helpful! Cheers, -Ahanu On Tue, May 11, 2021, 01:02 Aaron Hill wrote: > On 2021-05-10 9:10 pm, Pierre Perol-Schneider wrote: > > Hi Ahanu, > > How about: > > > > \version "2.20.0" > > { > > %\override Beam.damping = #5 > > \override Beam.positions = #'(5 . 5) > >

Horizontal beam parallel to staff

2021-05-10 Thread Ahanu Banerjee
I know it is not standard practice, but I am looking for a way to make beams parallel to staff despite the noteheads on either side of the beam having different vertical positions on the staff. Setting beam damping to a high value reduces the slope substantially, but it doesn't go to zero. Can

Re: Tempo marking with 2 notes

2021-05-10 Thread Ahanu Banerjee
Please disregard, I missed the answer in the documentation.. thanks On Mon, May 10, 2021 at 9:41 PM Ahanu Banerjee wrote: > Hello, > > Can anyone provide a simple way to make a tempo marking like this: "♩= 텞 > " ? > > Thanks, > -Ahanu >

Tempo marking with 2 notes

2021-05-10 Thread Ahanu Banerjee
Hello, Can anyone provide a simple way to make a tempo marking like this: "♩= 텞 " ? Thanks, -Ahanu

Re: repeat barline after fine double-barline

2021-05-01 Thread Ahanu Banerjee
Good points, Aaron, thank you. -Ahanu On Sat, May 1, 2021, 22:35 Aaron Hill wrote: > On 2021-05-01 5:56 pm, Ahanu Banerjee wrote: > > Here you go: > > > > \version "2.20.0" > > { \defineBarLine "xyz" #'("|." ".|:" "")

Re: repeat barline after fine double-barline

2021-05-01 Thread Ahanu Banerjee
C. al Fine" \bar ":|." } -Ahanu On Sat, May 1, 2021 at 8:50 PM Kenneth Wolcott wrote: > Hi Ahanu; > > Please post the working code snippet so that I can learn from your > trial and error and perhaps improve my engravings as a result. > > Thanks, > Ken Wolcott

Re: repeat barline after fine double-barline

2021-05-01 Thread Ahanu Banerjee
[SOLVED] I was able to figure it out using \defineBarLine. Thanks, -Ahanu On Sat, May 1, 2021 at 8:29 PM Ahanu Banerjee wrote: > The "Fine" would occur at the line break, thus requiring "|." at the end > of the first line and ".|:" at the beginning of

Re: repeat barline after fine double-barline

2021-05-01 Thread Ahanu Banerjee
”? > > > > Mark > > > > *From:* lilypond-user [mailto:lilypond-user-bounces+carsonmark= > ca.rr@gnu.org] *On Behalf Of *Ahanu Banerjee > *Sent:* Saturday, May 1, 2021 3:29 PM > *To:* lilypond-user@gnu.org > *Subject:* repeat barline after fine double-barline >

repeat barline after fine double-barline

2021-05-01 Thread Ahanu Banerjee
Hi, As per the subject line, I am trying to get a "repeat" (".|:") barline after a "Fine", which has a bold double-barline ("|.") at the end of a line. The closest I have found in documentation is ".|:-||", which yields "||", not "|.", at the line break. Example: \version "2.20.0" { \repeat

Re: StaffGroup starting with grace note

2021-02-14 Thread Ahanu Banerjee
I feel so silly for not trying that before. Spent an hour troubleshooting before emailing. THANK YOU!! -Ahanu On Sun, Feb 14, 2021 at 5:27 PM Carl Sorensen wrote: > Simply add a grace spacer to the other staff. > > > > > > > > *From: *lilypond-user gmail@

StaffGroup starting with grace note

2021-02-14 Thread Ahanu Banerjee
Hi, I am having an issue creating a new StaffGroup where one staff begins with a grace note. The key signature for the other staff ends up shifted to the right and collides with the time signature. Please advise how to fix. Thanks!! \version "2.20.0" \language "english" \new StaffGroup <<

Re: Text beside staff

2021-01-03 Thread Ahanu Banerjee
Thanks all, instrumentName seems to be the best solution! -Ahanu On Sun, Jan 3, 2021 at 5:00 PM Ahanu Banerjee wrote: > Hi, > > I'm typesetting a book of études. I am currently putting the number of the > etude (1-2 digits) in the header as a title, but I would like to put it t

Text beside staff

2021-01-03 Thread Ahanu Banerjee
Hi, I'm typesetting a book of études. I am currently putting the number of the etude (1-2 digits) in the header as a title, but I would like to put it to the left of the first staff, in the indented white space. It should be center-aligned between the left margin and the first staff, and

Dynamic text vertical positioning issue

2020-12-20 Thread Ahanu Banerjee
In the following example, dynamic text does not vertically reposition when "+" marking (i.e., left-hand pizzicato) is given vertical offset. Please advise if I have missed an obvious solution. Thanks! \version "2.20.0" { % dynamic text has wrong vertical position: \stemDown e'-\tweak

Re: line-breaking issue

2020-08-09 Thread Ahanu Banerjee
{ > \Score > \override SpacingSpanner.base-shortest-duration = #(ly:make-moment > 1/32) > } > } > It might make LilyPond more willing to squash sixteenths closer together > than it would normally like. > > Kevin > > On Sun, 2020-08-09 at 02:48 -0400, Ahanu Banerjee w

Re: line-breaking issue

2020-08-09 Thread Ahanu Banerjee
her cramped, no? I usually use 32-40 16ths per line as my > guide. > > Hwaen Ch'uqi > > > On 8/9/20, Ahanu Banerjee wrote: > > Hello, > > > > An étude I'm typesetting needs to fit on 2 pages with reasonable vertical > > space. Normally, I'd just set system-

line-breaking issue

2020-08-08 Thread Ahanu Banerjee
Hello, An étude I'm typesetting needs to fit on 2 pages with reasonable vertical space. Normally, I'd just set system-count in \paper (in this case, 20 systems in 2 US letter pages), but this time it says "warning: cannot find line breaking that satisfies constraints" and just runs off the page.