Re: Moving dynamics onto the staff

2024-05-20 Thread Jean Abou Samra
> So why would overriding the dynamic line spanner's outside-staff-priority > change where the forte goes?  Isn't it DynamicText?  If anyone can clear this > up for me, I would be very appreciative.  When there are consecutive dynamics like \p \< ... \f \> ... \pp, they need to be all vertically a

Re: Conditional code in the midi block

2024-05-20 Thread Carolyn Beeton
Thank you all for your suggestions. I finally have the flag working after years of just editing my master file when I wanted one track per voice! Thanks, Carolyn > On May 20, 2024, at 6:09 AM, Jean Abou Samra wrote: > >  >> nostaffmidi = >> #(define-scheme-function () () >> (if TrackPerVoic

Re: Conditional code in the midi block

2024-05-20 Thread David Kastrup
Jean Abou Samra writes: > Alternatively, you can do it more like you were envisioning, but for > technical reasons, you have to start the Scheme code with $ , not # , > and you also have to include an extra \midi { } around the \context > blocks (basically because \context outside \layout or \mid

Re: Conditional code in the midi block

2024-05-20 Thread Thomas Morley
Am So., 19. Mai 2024 um 21:28 Uhr schrieb Carolyn Beeton : > > I would like to include some Staff and Voice context settings in the \midi > block only if a flag is set to ##t and I have not been able to figure out how > to do this. When I try to wrap the \context blocks in a code block with > #

Re: Conditional code in the midi block

2024-05-20 Thread Jean Abou Samra
> nostaffmidi = > #(define-scheme-function () () >(if TrackPerVoice #{ \context { \Staff \remove "Staff_performer" } #})) Ah, that proves me wrong. I didn't recall the parser was smart enough for this. > Although, I don't understand why the contents of the scheme functions cannot > be pla

Re: Conditional code in the midi block

2024-05-20 Thread Jean Abou Samra
> I would like to include some Staff and Voice context settings in the > \midi block only if a flag is set to ##t and I have not been able to > figure out how to do this.  When I try to wrap the \context blocks > in a code block with #{…#} I get this error: > trackPerVoiceMWE.ly:31:16: error: synt

Re: Conditional code in the midi block

2024-05-20 Thread Timothy Lanfear
On 19/05/2024 20:27, Carolyn Beeton wrote: I would like to include some Staff and Voice context settings in the \midi block only if a flag is set to ##t and I have not been able to figure out how to do this. When I try to wrap the \context blocks in a code block with #{…#} I get this error: t

Re: One-page PDF cut off after a certain height?

2024-05-20 Thread Jean Abou Samra
> I run into a problem when I create a (very high) single-page PDF file from a > Lilypond score. 'After a certain time', the rest of the page is rendered in > white. > > In my use case, I wanted to make a large system staff, and white-on-black > music, because of readability-reasons. Specifically

Re: Disable all padding and collision around markup

2024-05-19 Thread William Rehwinkel via LilyPond user discussion
This is perfect, thanks so much for your responses everybody. -William On 5/19/24 10:56, Kieren MacMillan wrote: Hi Knute, There are ways to "disable the padding" (a.k.a. have the spacing engine ignore the TextScript). However, it might be just as easy — or maybe even easier? — to simply twea

Re: Looking for documentation for constants

2024-05-19 Thread Jean Abou Samra
> This is a very basic question.  I have see some examples that use > constants like "$SELECTION" or ""$CURSOR'$ANCHOR". but despite doing all the > obvious things (searching the documentation, etc.) I've not found any relevant > information. > > I would sincerely appreciate being pointed in the r

Re: Disable all padding and collision around markup

2024-05-19 Thread Kieren MacMillan
Hi Knute, >> There are ways to "disable the padding" (a.k.a. have the spacing engine >> ignore the TextScript). However, it might be just as easy — or maybe >> even easier? — to simply tweak the X-offset and Y-offset rather than >> using extra-offset: > The extra-offset happens late in the rend

Re: Disable all padding and collision around markup

2024-05-19 Thread Knute Snortum
On Sun, May 19, 2024 at 4:22 AM wrote: > Hi William, > > > In the following example, I use a section label and a TextScript on a > > note. I offset the markup text so that it appears inside the staff, but > > it still makes the section text higher up. I would like to know if it > > is possible to

Re: Variables, tags, filtering, conditions

2024-05-19 Thread Timothy Lanfear
On 19/05/2024 12:11, Giles Boardman wrote: Hello Timothy, Looks about perfect to me. Thank you very much. I can see how it's working and there are obviously a lot of other programming possibilities hinted at that I haven't found the documentation for. Where do I read about #( if (string=? an

Re: Disable all padding and collision around markup

2024-05-19 Thread kieren
Hi William, In the following example, I use a section label and a TextScript on a note. I offset the markup text so that it appears inside the staff, but it still makes the section text higher up. I would like to know if it is possible to disable this padding around the TextScript, so that the

Re: Variables, tags, filtering, conditions

2024-05-19 Thread Giles Boardman
nks Giles From: Timothy Lanfear Sent: 19 May 2024 12:03 To: Giles Boardman ; lilypond-user@gnu.org Subject: Re: Variables, tags, filtering, conditions On 19/05/2024 11:36, Giles Boardman wrote: Hello, I am an occasional Bb clarinetist and very bad at transposing on the fly. I wou

Re: Variables, tags, filtering, conditions

2024-05-19 Thread Timothy Lanfear
On 19/05/2024 11:36, Giles Boardman wrote: Hello, I am an occasional Bb clarinetist and very bad at transposing on the fly. I would like to create alternative versions of a score based on the value of a parameter. How about this as a solution? \version "2.24.0" instrument = "clarinet" tp

Re: vertical spacing per score

2024-05-18 Thread Jean Abou Samra
> Le 19 mai 2024 à 02:53, Walt North a écrit : > > David, thanks, this did indeed accomplish my goal - so I'm happy. Well, \bookpart will work *if* you are happy with having a page break between the two scores.

Re: vertical spacing per score

2024-05-18 Thread Jean Abou Samra
> Le 19 mai 2024 à 01:56, David Wright a écrit : > > Perhaps > > https://lists.gnu.org/archive/html/lilypond-user/2024-04/msg00247.html Indeed, but there was a more technical one, with Lukas I think.

Re: vertical spacing per score

2024-05-18 Thread Walt North
David, thanks, this did indeed accomplish my goal - so I'm happy.  It sounds like my original approach was the right idea but apparently this is a known issue. On 5/18/2024 4:56 PM, David Wright wrote: On Sun 19 May 2024 at 01:24:44 (+0200), Jean Abou Samra wrote: Hi.  I have a case where I w

Re: vertical spacing per score

2024-05-18 Thread David Wright
On Sun 19 May 2024 at 01:24:44 (+0200), Jean Abou Samra wrote: > > Hi.  I have a case where I want to have different vertical spacing between > > two > > different scores.  I can get system-system spacing to change for both scores > > using a \paper variable. But if I'm understanding the documenta

Re: vertical spacing per score

2024-05-18 Thread Jean Abou Samra
> Hi.  I have a case where I want to have different vertical spacing between two > different scores.  I can get system-system spacing to change for both scores > using a \paper variable. But if I'm understanding the documentation correctly > I should be able to use the same variable in a distinct l

Re: Cry for help - lost plot ....

2024-05-18 Thread Kieren MacMillan
Hi Giles, > Just like that? Just like that! Wow! Eventually, one gets tired of how often Lilypond wows you… Nice to see you’re not there yet. ;) — K __ My work day may look different than your work day. Please do not feel obligated to read or respon

Re: Cry for help - lost plot ....

2024-05-18 Thread Giles Boardman
Just like that? Just like that! Wow! From: Kieren MacMillan Sent: 18 May 2024 18:45 To: Giles Boardman Cc: Aaron Hill ; Lilypond-User Mailing List Subject: Re: Cry for help - lost plot Hi Giles, > though being able to put multiple columns side by s

Re: Cry for help - lost plot ....

2024-05-18 Thread Giles Boardman
t;spurious". From: David Wright Sent: 18 May 2024 18:24 To: Giles Boardman Cc: Aaron Hill ; lilypond-user@gnu.org Subject: Re: Cry for help - lost plot On Sat 18 May 2024 at 16:46:43 (+), Giles Boardman wrote: > Thanks for getting back to me Aaron and

Re: Cry for help - lost plot ....

2024-05-18 Thread Kieren MacMillan
Hi Giles, > though being able to put multiple columns side by side without them thinking > they were continuous music would be even more awesome, and very elegant imho Like this? %%% SNIPPET BEGINS \version "2.24.3" \layout { \context { \Score \override RehearsalMark.padding = #3

Re: Cry for help - lost plot ....

2024-05-18 Thread Giles Boardman
r just won't be enough and I'll want multiple lines elegantly spaced, just like this. And it's such fun too, apart from the hair tearing. Thanks again Giles From: Kieren MacMillan Sent: 18 May 2024 18:21 To: Giles Boardman Cc: Aaron Hill ; Lilypond-U

Re: Cry for help - lost plot ....

2024-05-18 Thread David Wright
On Sat 18 May 2024 at 16:46:43 (+), Giles Boardman wrote: > Thanks for getting back to me Aaron and throwing me a rope > > I understand the two models you describe. I thought I was going for the > second i.e. a single sequential part, but I want to put each section on a > different line

Re: Cry for help - lost plot ....

2024-05-18 Thread Kieren MacMillan
Hi Giles, Are you looking for something like this? %%% SNIPPET BEGINS \version "2.24.3" \paper { score-system-spacing.padding = #6 } \layout { indent = 0 ragged-right = ##f \context { \Score \override RehearsalMark.padding = #3 } } \score { { \mark "ON079-1a-_01" \key c\ma

Re: Cry for help - lost plot ....

2024-05-18 Thread Giles Boardman
9/8 a''8 b''8 a''8 g''4 e''8 d''4 f''8 \layout { } \midi { } } From: Aaron Hill Sent: 18 May 2024 17:18 To: Giles Boardman Cc: lilypond-user@gnu.org Subject: Re: Cry for help - lost plot

Re: Cry for help - lost plot ....

2024-05-18 Thread Paul Hodges
lock round each line, if you want each line to remain independent. Paul From: Aaron Hill To: Giles Boardman Cc: Sent: 18/05/2024 17:18 Subject: Re: Cry for help - lost plot On 2024-05-18 8:49 am, Giles Boardman wrote: > \score { > > … music … &

Re: Cry for help - lost plot ....

2024-05-18 Thread Aaron Hill
On 2024-05-18 8:49 am, Giles Boardman wrote: \score { … music … \layout { } \midi { } } Please, someone help me while I still have a little hair left to pull out on a later occasion :-} \score basically expects just one "music". You are providing many "musics". The question is how y

Re: Footnotes for the entire bar

2024-05-18 Thread YTG 1234
Did you try attaching it to a mark? You definitely set me on the right track there. Marks are typically only drawn on the top-most staff, and I didn't want to interfere with other marks, so my (slightly overkill) solution was to create a new engraver for this purpose. In any case, I learned s

Re: Problems hiding clef using \omit

2024-05-17 Thread Dirck Nagy
To: kie...@kierenmacmillan.info Cc: Dirck Nagy ; lilypond-user@gnu.org ; dirckn...@hotmail.com Subject: Re: Problems hiding clef using \omit Caution: *External Email: Use caution responding, opening attachments, or clicking on links.* On 2024-05-17 10:15 am, kie...@kierenmacmillan.info wrote

Re: Problems hiding clef using \omit

2024-05-17 Thread Aaron Hill
On 2024-05-17 10:15 am, kie...@kierenmacmillan.info wrote: Hi Dirck, I don't know what the term is for this "8", so i was not successful searching the manuals and snippets. ClefModifier Also if you need help with identif

Re: Problems hiding clef using \omit

2024-05-17 Thread kieren
Hi Dirck, I don't know what the term is for this "8", so i was not successful searching the manuals and snippets. ClefModifier Hope that helps! Kieren.

Re: Scoop (jazz notation)

2024-05-17 Thread Wols Lists
On 15/05/2024 18:54, Flaming Hakama by Elaine wrote: On the other hand, you could argue that many examples of scoop are not intended to convey specific shapes, so a one-size-fits-all glyph is sufficient, and it is not intended to solve the problem of expressive glissando. Which, is also a reas

Re: \omit TupletBracket

2024-05-16 Thread Aaron Hill
On 2024-05-16 7:54 pm, carsonm...@ca.rr.com wrote: Aaron, Thank you for the instruction yet how does it apply to my notation? It is simply a fairly common mistake we see post on the mailing list. For instance, new users are often tempted to put the square brackets *around* the notes: [c

RE: \omit TupletBracket

2024-05-16 Thread carsonmark
Aaron, Thank you for the instruction yet how does it apply to my notation? Mark -Original Message- From: Aaron Hill Sent: Thursday, May 16, 2024 6:28 PM To: carsonm...@ca.rr.com Cc: 'Dimitri Sykias' ; 'Lilypond-User Mailing List' Subject: Re: \omit TupletBracket

Re: \omit TupletBracket

2024-05-16 Thread Aaron Hill
On 2024-05-16 5:57 pm, carsonm...@ca.rr.com wrote: c16 [r c8] It is important to understand that the syntax for beaming, like slurs, requires the symbols to be post-fixed. As such it is best to keep the symbols snug to the event they apply: c16[ r c8] To a seasoned LilyPonder, this cle

RE: \omit TupletBracket

2024-05-16 Thread carsonmark
Dimitri, First three should be c16 [r c8] Mark -Original Message- From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org On Behalf Of Dimitri Sykias Sent: Thursday, May 16, 2024 4:07 PM To: Lilypond-User Mailing List Subject: \omit TupletBracket Although the output is fine when I

Re: manual repeat mark syntax question

2024-05-16 Thread Paul Scott
Thank you! Paul On 5/16/24 11:42, Jean Abou Samra wrote:    \set Score.repeatCommands = #'((volta ,voltaOpt)) ^^^ This should be ` not ' .

Re: manual repeat mark syntax question

2024-05-16 Thread Jean Abou Samra
>    \set Score.repeatCommands = #'((volta ,voltaOpt)) ^^^ This should be ` not ' . signature.asc Description: This is a digitally signed message part

Re: Custom colors in fret diagrams

2024-05-16 Thread Nikita Borisenko
Hi there, Would it be accurate to assume that custom hex/rgb colors in fret diagrams are not supported as of now? Sincerely, Nikita On Thu, May 16, 2024 at 2:29 AM Nikita Borisenko wrote: > Hi Jean, > > Thanks for the quick response. > > Putting quotes around it doesn't really help. The expres

Re: \once squashedPosition = 100 ('O_o!)

2024-05-16 Thread Pierre-Luc Gauthier
What‽ How in the world could I have not found this for myself… So much shame. Thank you Timothy :-) Le jeu. 16 mai 2024, à 10 h 16, Timothy Lanfear a écrit : > > On 16/05/2024 14:56, Pierre-Luc Gauthier wrote: > > Hello there, > > Is it possible to \override the squashedPosition e.g. \once ? > >

Re: \once squashedPosition = 100 ('O_o!)

2024-05-16 Thread Timothy Lanfear
On 16/05/2024 14:56, Pierre-Luc Gauthier wrote: Hello there, Is it possible to \override the squashedPosition e.g. \once ? Yes, \once \set squashedPosition = #4 -- Timothy Lanfear, Bristol, UK.

Re: Footnotes for the entire bar

2024-05-16 Thread Kieren MacMillan
Hi there, > I want to create footnotes which attach to a specified bar or just a > particular time Did you try attaching it to a mark? e.g. %%% SNIPPET BEGINS \version "2.25.11" \paper { tagline = ##f } fn_ossia = #(define-music-function (os music) (pair? ly:music?) #{ \once \override

Re: Custom colors in fret diagrams

2024-05-15 Thread Nikita Borisenko
Hi Jean, Thanks for the quick response. Putting quotes around it doesn't really help. The expression gets ignored and the dot comes with the default black color in this case. Sincerely, Nikita On Thu, May 16, 2024 at 2:18 AM Jean Abou Samra wrote: > > Quick question on coloring dots in fret-d

Re: italic phrase in lyrics

2024-05-15 Thread Carolyn Beeton
I have these functions defined: \version “2.24.0" italic = { \override Lyrics.LyricText.font-shape = #'italic } bold = { \override Lyrics.LyricText.font-series = #'bold } normal = { \revert Lyrics.LyricText.font-series \revert Lyrics.LyricText.font-shape } and I use them like this: Ve

Re: Custom colors in fret diagrams

2024-05-15 Thread Jean Abou Samra
> Quick question on coloring dots in fret-diagrams. There is an option to use > predefined colors from normal, CSS or X11 palettes which works perfectly well > in the fret-diagram-verbose with the snippet below: > > >  (place-fret 3 6 3 dodgerblue2) > > For some reason I cannot get it working wit

Re: italic phrase in lyrics

2024-05-15 Thread Jean Abou Samra
Le mercredi 15 mai 2024 à 17:05 -0400, David Olson a écrit : > Suppose the lyrics contain two contradictory propositions: > >    Ma -- the -- ma -- tics is in -- vent -- ed. >   Ma -- the -- ma -- tics is dis -- cov -- ered. > > Is this the only way to put the second proposition in italics? > >

Re: Scoop (jazz notation)

2024-05-15 Thread Flaming Hakama by Elaine
> > -- Forwarded message -- > From: Tim Giles > To: lilypond-user@gnu.org > Date: Tue, 14 May 2024 22:34:00 +0200 > Subject: Re: Scoop (jazz notation) > Thanks for the link, Werner. I have added a comment regarding the jazz > application. Cheers, -Tim >

Re: Scoop (jazz notation)

2024-05-14 Thread Tim's Bitstream
As a short term solution you could save that script in a separate file, name the function \scoop and use it via an \include statement. > On May 14, 2024, at 3:35 PM, Tim Giles wrote: > > Thanks for the link, Werner. I have added a comment regarding the jazz > application. Cheers, -Tim > >

Re: Scoop (jazz notation)

2024-05-14 Thread Tim Giles
Thanks for the link, Werner. I have added a comment regarding the jazz application. Cheers, -Tim > On 14 May 2024, at 19:21, Werner LEMBERG wrote: > > >> I agree with Tim. It's one of those frequently used jazz-isms that >> lilypond doesn't handle very elegantly. What's the procedure for >

Re: Key signatures in MIDI output

2024-05-14 Thread Giles Boardman
flats will be right there for me to see. I have actually found myself wishing for this on occasion, so all is well. 👍 From: David Kastrup Sent: 14 May 2024 19:33 To: Giles Boardman Cc: msk...@ansuz.sooke.bc.ca ; lilypond-user@gnu.org Subject: Re: Key signatures

Re: Key signatures in MIDI output

2024-05-14 Thread David Kastrup
Giles Boardman writes: > Hello, > > I have figured "it" out - Cakewalk expects Key Signature to be in > Track 0 of a Midi file and Lilypond puts it in whichever track has it > in, which is much more sensible. I realized this while compiling the > cry for help below, so I've left my workings out i

Re: layout problem - new issue

2024-05-14 Thread Archer Endrich
Thank you, Jean.  Of course!  The broader issue for me is that I hadn't grasped that it was actually a << {...} \\ {...} >> construction in the newer, simpler format. I'm so grateful for your help.  I was going around in circles, knowing that the solution had to be something straightforward.

Re: Scoop (jazz notation)

2024-05-14 Thread Werner LEMBERG
> I agree with Tim. It's one of those frequently used jazz-isms that > lilypond doesn't handle very elegantly. What's the procedure for > submitting a feature request like this? You might expand https://gitlab.com/lilypond/lilypond/-/issues/529 with comments – and images of professionally t

Re: Scoop (jazz notation)

2024-05-14 Thread Jeff Kopmanis
I agree with Tim. It's one of those frequently used jazz-isms that lilypond doesn't handle very elegantly. What's the procedure for submitting a feature request like this? On Tue, May 14, 2024 at 7:37 AM savage.laurie wrote: > As a sax playing, big band copyist Lilypond user I think that's a g

Re: layout problem - new issue

2024-05-14 Thread Jean Abou Samra
> I've tried placing the new bar in 3 different places on the treble > staff.  In the current pdf, the first 2 are commented out and the third > -- which I expected to work -- is active: placement after the >>.  > Somehow a spurious bar is inserted, but I don't know where it's coming from. You

Re: Naming lines of music

2024-05-14 Thread Giles Boardman
technical understanding of the composition of the environment and I don't recall what the something was (though I think it begins with "g") so I took it at face value. Best Giles From: Xavier Scheuer Sent: 14 May 2024 15:15 To: Giles Boardman Cc: lilypond-

Re: Naming lines of music

2024-05-14 Thread Mats Bengtsson
On 2024-05-14 15:08, Xavier Scheuer wrote: > Or is there a line title, like the variables for "Composer" Piece" etc. I looked, but I haven't found anything obvious. I would use "piece", but actually you could even define your own custom header field and custom layout for titles. https://lil

Re: Naming lines of music

2024-05-14 Thread Xavier Scheuer
On Tue, 14 May 2024 at 15:43, Giles Boardman wrote: > > Thanks again Xavier. You are very patient - I have just sat down at my up-to-date computer and the difference between the versions' functionality is enormous. If I'd realised, I would have bitten the bullet and had fewer questions and taken u

Re: Naming lines of music

2024-05-14 Thread Phil Holmes
s Boardman *Cc:* Kieren MacMillan ; lilypond-user@gnu.org *Subject:* Re: Naming lines of music On Tue, 14 May 2024 at 14:44, Giles Boardman wrote: > > Hello Kieren/Xavier, > > I wasn't going to be picky per Kieren's ** but ... > > ... using Xavier

Re: Naming lines of music

2024-05-14 Thread Giles Boardman
y 2024 14:08 To: Giles Boardman Cc: Kieren MacMillan ; lilypond-user@gnu.org Subject: Re: Naming lines of music On Tue, 14 May 2024 at 14:44, Giles Boardman mailto:giles.board...@hotmail.co.uk>> wrote: > > Hello Kieren/Xavier, > > I wasn't going to be picky per Kieren'

Re: Naming lines of music

2024-05-14 Thread Xavier Scheuer
On Tue, 14 May 2024 at 14:44, Giles Boardman wrote: > > Hello Kieren/Xavier, > > I wasn't going to be picky per Kieren's ** but ... > > ... using Xavier's code (override Score.RehearsalMark.self-alignment-X = #LEFT) I have a whole page of music and the tunes are in different keys,

RE: Scoop (jazz notation)

2024-05-14 Thread savage.laurie
As a sax playing, big band copyist Lilypond user I think that's a great suggestion.Laurie SavageSent from my Galaxy Original message From: Tim Giles Date: 14/5/24 8:02 pm (GMT+10:00) To: lilypond-user@gnu.org Subject: Scoop (jazz notation) Hi All, I have been looking for a wa

Re: Naming lines of music

2024-05-14 Thread Timothy Lanfear
On 14/05/2024 12:06, Kieren MacMillan wrote: Hi Giles, The \mark command is centred. Can text be formatted to be left aligned (and smaller)? Is there an initialisation parameter I can change to set its default alignment? I can’t test what v2.18 does (that’s a very old version!), but 2.25.11

Re: Naming lines of music

2024-05-14 Thread Xavier Scheuer
On Tue, 14 May 2024 at 12:43, Giles Boardman wrote: > > The \mark command is centred. Can text be formatted to be left aligned (and smaller)? Is there an initialisation parameter I can change to set its default alignment? Hello, Please consider upgrading, version 2.18.2 is over 10 years old. Cur

Re: Scoop (jazz notation)

2024-05-14 Thread Kieren MacMillan
Hi Tim, > I have been looking for a way to write "scoops", a fairly common effect in > saxophone jazz. Have you searched the list archive? e.g., https://lists.gnu.org/archive/html/lilypond-user/2024-04/msg00125.html Hope that helps! Kieren. __ My wor

Re: Naming lines of music

2024-05-14 Thread Kieren MacMillan
Hi Giles, > The \mark command is centred. Can text be formatted to be left aligned (and > smaller)? Is there an initialisation parameter I can change to set its > default alignment? I can’t test what v2.18 does (that’s a very old version!), but 2.25.11 essentially** left-aligns the mark: %%%

Re: Key signatures in MIDI output

2024-05-14 Thread Giles Boardman
M and the Key Sigs stand out because there's more than one. So, Cakewalk expects Key Signatures in Track #0 and Lilypond doesn't put them there and how data is brought into Lilypond won't change that. From: David Kastrup Sent: 11 May 2024 20:22 To:

Re: Can I output PNG and midi from the same file?

2024-05-13 Thread Peter Baughman
Yes, this fixes the problem! By adding \layout {} inside my \score next to \midi I now get both outputs. Thank you. From: William Rehwinkel Sent: Sunday, May 12, 2024 9:22 PM To: Peter Baughman; lilypond-user@gnu.org Subject: Re: Can I output PNG and midi from

Re: Solving espressivo problem

2024-05-13 Thread morten
Thank you all ... I learned a lot fromt your answers Now I just have to implement a solution. Greetings Morten Lukas-Fabian Moser skrev den 2024-05-11 16:32: Here’s one approach: %%% SNIPPET BEGINS \version "2.25.11" esp = \markup \lower #1 \scale #'(1.375 . 1) \musicglyph #"scripts.espr"

Re: General question: scores and parts

2024-05-13 Thread Stephan Schöll
Yes indeed. The 'structure' literally mirrors the structure of the entire piece and thus takes the entire length of the piece. Think of even adding (rehearsal) marks, section / section labels or breaks to the structure. S. On 13.05.2024 12:22, Raphael Mankin wrote: Thank you, that is a neat tri

Re: General question: scores and parts

2024-05-13 Thread Raphael Mankin
Thank you, that is a neat trick, but when there are, for instance, tempo changes in the middle I presume I have to have lots of spacer rests in 'structure'. On 13/05/2024 10:04, fremoin via LilyPond user discussion wrote: Hello, %%% \version "2.25.15" structure = { \tempo 4=42 } high = {e'

Re: General question: scores and parts

2024-05-13 Thread fremoin via LilyPond user discussion
Hello, %%% \version "2.25.15" structure = { \tempo 4=42 } high = {e''1} low = {a'1} \score { \header { piece = "Score" } << \new Devnull \structure \new StaffGroup << \new Staff \high \new Staff \low >> >> } \score { \header { piece = "Part Hig

Re: Can I output PNG and midi from the same file?

2024-05-12 Thread David Wright
On Mon 13 May 2024 at 03:21:35 (+), Peter Baughman wrote: > I have a few .ly files that work great and produce lovely pictures when I > build then with a command like: > > lilypond --png my_song.ly​ > > I started to play around with midi output and was a little suprised to find > that I nee

Re: Can I output PNG and midi from the same file?

2024-05-12 Thread William Rehwinkel via LilyPond user discussion
Dear Peter, Assuming you wrote something like % - \version "2.25.7" \score { c'4 \midi {} } % - and then ran lilypond --PNG midi.ly, then there would be no PNG output. This is because if you only include the \midi block, then lilypond produces no visual output at all. But if you

Re: layout problem

2024-05-12 Thread Archer Endrich
Thank you, Timothy, for responding so quickly and explaining the solution in such a clear manner.  Although I've used labelling in other situations before, I still hadn't understood how to apply it here --- and now I do.  Thanks again. Archer On 12/05/2024 16:37, Timothy Lanfear wrote: On 1

Re: layout problem

2024-05-12 Thread Timothy Lanfear
On 12/05/2024 12:41, Archer Endrich wrote: Hello, I've been given a short item to realise in Lilypond and it includes a layout problem that I haven't been able to solve. Basically, it is a piano piece in which, after a bit, a part for chimes is added:  i.e., another staff above the piano's t

Re: strange chord

2024-05-12 Thread Werner LEMBERG
> I mean… technically, it’s correct… Thanks. > but yuck. :-) > If I were customizing the name, I would probably have it say > Em(addb4). At the very least it should say Emsusb4. As chord names noob I have no opinion to that. I just wanted to ensure that MR !2335 produces correct results, e

Re: strange chord

2024-05-12 Thread Kieren MacMillan
Hi Werner, I mean… technically, it’s correct… but yuck. If I were customizing the name, I would probably have it say Em(addb4). At the very least it should say Emsusb4. — Kieren __ My work day may look different than your work day. Please do not feel

Re: Feathered Beam Timing

2024-05-12 Thread Timothy Lanfear
On 12/05/2024 09:46, Timothy Lanfear wrote: On 11/05/2024 18:42, Steph Phillips wrote: Pretty happy with how that looks, but now I'm having trouble converting it to a function. The following is what I've put together, but I can't seem to shake the compiler error. The

Re: strange chord

2024-05-12 Thread Werner LEMBERG
> I tried the following > > ``` > \version "2.25.16" > > chord = \chordmode { c4:6-^1 } > > << > \new ChordNames \chord > \chordmode { \chord } > >> > ``` > > and got the attached result. The displayed chord name looks weird > to me, but I'm no expert for Jazz chords... Is it correct? If no

Re: Feathered Beam Timing

2024-05-12 Thread Timothy Lanfear
On 11/05/2024 18:42, Steph Phillips wrote: Pretty happy with how that looks, but now I'm having trouble converting it to a function. The following is what I've put together, but I can't seem to shake the compiler error. The parameters feather-ratio, tuplet-ratio are no

Re: Feathered Beam Timing

2024-05-11 Thread David Wright
On Sat 11 May 2024 at 16:06:00 (+0200), N. Andrew Walsh wrote: > (the stickler in me would complain that tuplets should always indicate a > shortening of length, and this is technically putting six sixteenths in the > space of eight, but I guess the feathering overrules that) I tickles me that I s

Re: Key signatures in MIDI output

2024-05-11 Thread David Wright
On Sat 11 May 2024 at 15:14:47 (+), Giles Boardman wrote: > You are, of course, right. Your evidence is clear. The position of the \key > command seems a strong candidate but I can't get it into the .MID even in the > simplest of snippet. > > As I mentioned I also have other behaviour I can'

Re: Spacing of chords on a chord lead sheet

2024-05-11 Thread Raphael Mankin
On 11/05/24 01:59, Kieren MacMillan wrote: Hi Raphael, However, the chord names are mono-spaced; they are not spaced according to their durations. So that if, for instance, I  have {ef2 ef4:maj7 ef4:7} then each symbol occupies the same amount of space on the line. The first chord does not

Re: Key signatures in MIDI output

2024-05-11 Thread David Kastrup
Giles Boardman writes: > You are, of course, right. Your evidence is clear. The position of the \key > command seems a strong candidate but I can't get it into the .MID even in the > simplest of snippet. > > As I mentioned I also have other behaviour I can't explain so it could also > be versi

Re[2]: Feathered Beam Timing

2024-05-11 Thread Steph Phillips
So after a little toying around with the suggestions from this thread, I've come up with the following: \once \override TupletNumber.text = \markup { \note-by-number #1 #0 #UP } \once \override TupletBracket.bracket-visibility = ##t \once \override TupletBracket.v

Re: Getting a function to accept a string or a markup

2024-05-11 Thread Lukas-Fabian Moser
Hi Vaughan, Am 10.05.24 um 07:44 schrieb Vaughan McAlley: Hi, I have a text spanner function that shows a player that they are playing in simultaneous rhythm with one or more other players. I adapted it from code I used for indicating colouration in renaissance music. It works fine, but if it b

Re: Solving espressivo problem

2024-05-11 Thread Lukas-Fabian Moser
Here’s one approach: %%% SNIPPET BEGINS \version "2.25.11" esp = \markup \lower #1 \scale #'(1.375 . 1) \musicglyph #"scripts.espr" stuff = \relative { \time 4/4 r4 b'4 a2-\tweak self-alignment-X #-1.25 _\esp ~ a2 b4 4( c1)-\tweak self-alignment-X #-0.5 _\esp b2-\tw

Re: Solving espressivo problem

2024-05-11 Thread Kieren MacMillan
Hi Mats, > On May 11, 2024, at 11:51 AM, Mats Bengtsson wrote: > I would rather do something like the following I started down that path, but when I saw that the output was I realized it would take far too much manual tweaking to make it visually attractive, whereas my \esp version gives with

Re: Solving espressivo problem

2024-05-11 Thread Mats Bengtsson
On 2024-05-11 15:18, Kieren MacMillan wrote: Hi Morten, Here’s one approach: %%% SNIPPET BEGINS \version "2.25.11" esp = \markup \lower #1 \scale #'(1.375 . 1) \musicglyph #"scripts.espr" stuff = \relative { \time 4/4 r4 b'4 a2-\tweak self-al

Re: Feathered Beam Timing

2024-05-11 Thread Archer Endrich
Hello, I have frequently encountered the situation where I want to have feathered durations within a specified duration -- e.g., a crotchet, or a minim, or a breve.  This is the code I've come up with: \once \override Beam.grow-direction = #RIGHT   \featherDurations #(ly:make-moment 1/2)   \t

Re: Key signatures in MIDI output

2024-05-11 Thread Giles Boardman
rt2v1.ly" \score { \time 4/4 \key d\major { \mark "1K002-1a-" { \partial 8 g''8 fis''16 d''8. b'8. d''16 a'4 fis'4 fis'16 a'8. d''8. fis''16 g''16 e''8. e''8. g'

Re: Key signatures in MIDI output

2024-05-11 Thread mskala
On Sat, 11 May 2024, Giles Boardman wrote: > I have now been more systematic in my approach and conclude that \key is not > reflected in MIDI output. I tried various positions for events and in each Well, it definitely is reflected in the output in my own tests. The example code I posted, when r

Re: Feathered Beam Timing

2024-05-11 Thread N. Andrew Walsh
Hi Steph, I'm not an expert with the \featherDurations interface, but this: On Sat, May 11, 2024 at 3:53 PM Steph Phillips wrote: > > \once \override Beam.grow-direction = #LEFT > \featherDurations 6/4 { d16[-. d-. d-. d-. d-. d]-. } | > seems to disagree with how the tutorial describes it: htt

Re: Key signatures in MIDI output

2024-05-11 Thread David Kastrup
msk...@ansuz.sooke.bc.ca writes: > On Sat, 11 May 2024, Giles Boardman wrote: > >> When I create MIDI output from Lilypond, if I have imported a MIDI file and >> then resaved it with changes made in LilyPond, the output is like that, too. > > Lilypond as such does not import MIDI files. I think y

Re: Solving espressivo problem

2024-05-11 Thread Kieren MacMillan
Hi Morten, Here’s one approach: %%% SNIPPET BEGINS \version "2.25.11" esp = \markup \lower #1 \scale #'(1.375 . 1) \musicglyph #"scripts.espr" stuff = \relative { \time 4/4 r4 b'4 a2-\tweak self-alignment-X #-1.25 _\esp ~ a2 b4 4( c1)-\tweak self-alignment-X #-0.5 _\esp

<    5   6   7   8   9   10   11   12   13   14   >