Re: \uppercase function

2015-04-09 Thread David Nalesnik
On Thu, Apr 9, 2015 at 3:02 PM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > you could just as easily write the following: > > > > \header { > > myTitle = #"myOtherTitle" > > title = \markup { > >from \italic #(string-upcase myTitle) > > } > > } > > Yes, but at

Re: Staff Spacing

2015-04-09 Thread Chris Trahan
Kieren, Thanks. I've never used GitHub. I created an account but don't see how to download the files. When I right-click and save as, I get the html code. Chris On Thu, Apr 9, 2015 at 9:54 AM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Chris, > > > Can you give me an example

Re: \uppercase function

2015-04-09 Thread Kieren MacMillan
Hi David, > you could just as easily write the following: > > \header { > myTitle = #"myOtherTitle" > title = \markup { >from \italic #(string-upcase myTitle) > } > } Yes, but at that point, why not just write \header { title = “MY OTHER TITLE" } ?? ;) Here’s the concrete use-cas

Re: \uppercase function

2015-04-09 Thread Kieren MacMillan
Hi David, > you could just as easily write the following: > > \header { > myTitle = #"myOtherTitle" > title = \markup { > from \italic #(string-upcase myTitle) > } > } Yes, but at that point, why not just write \header { title = “MY OTHER TITLE" } ?? ;) Here’s the concrete

Re: Scheme coding: 'number' cases vs 'string' cases

2015-04-09 Thread Pierre Perol-Schneider
Thank you all very much!! I'll keep your precious advices in my scheme-tool-box. @Harm: I'll take a deeper look in 'list' and its associations @Paul: you're wright, that's exactly what I was missing. @Abraham: I'll use your snippet! @David: I'll use 'string=?' since I never used it before, bett

Re:Problem with \break command

2015-04-09 Thread Peter Toye
Abraham, Thanks very much. That works nicely. All the best, Peter mailto:lilyp...@ptoye.com www.ptoye.com___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Scheme coding: 'number' cases vs 'string' cases

2015-04-09 Thread David Nalesnik
On Thu, Apr 9, 2015 at 12:48 PM, tisimst wrote: > Pierre, > > Following Paul's advice, here's working code (which you probably already > figured out, but just for the record). Note that you must use equal? for > comparisons since it's the only one suited for strings: > > You could also use the st

Re: Scheme coding: 'number' cases vs 'string' cases

2015-04-09 Thread tisimst
Pierre, Following Paul's advice, here's working code (which you probably already figured out, but just for the record). Note that you must use equal? for comparisons since it's the only one suited for strings: %<-- SNIP -- #(define-markup-command (smiley-string layout props smile

Re: Scheme coding: 'number' cases vs 'string' cases

2015-04-09 Thread Paul Morris
Schneidy wrote > What am I missing? Hi Pierre, case doesn't work with strings, so you'd need to use cond instead. Cheers, -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Scheme-coding-number-cases-vs-string-cases-tp174287p174294.html Sent from the User mailing li

Re: Function to add a drone staff?

2015-04-09 Thread Paul Morris
Sven Axelsson-3 wrote > Intersting. I have never tried to generate midi output for bagpipe > music. I suspect grace notes are not handled well. But in regards to > the dronification, all of the music, both melody and drone, should be > played legato. Is that also something that could be set up easi

Re: the sound of brushes

2015-04-09 Thread MarcM
if you share a sample, i can try on windows and mac -- View this message in context: http://lilypond.1069038.n5.nabble.com/the-sound-of-brushes-tp174179p174292.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list

Re: Hymns and justified lyrics

2015-04-09 Thread David Nalesnik
Hi David, On Thu, Apr 9, 2015 at 9:32 AM, David B. Stocker wrote: > Hello LilyPonders, > > I have a client who is working on a hymnal, and they would like for the > beginning of the lines of verses to be left justified. The best way I can > see to do this, from a visual standpoint, is to make th

Re: \uppercase function

2015-04-09 Thread David Nalesnik
On Thu, Apr 9, 2015 at 11:48 AM, David Nalesnik wrote: > > "HTH" Who knows what "HTHm" stands for. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: \uppercase function

2015-04-09 Thread David Nalesnik
Kieren, On Thu, Apr 9, 2015 at 10:37 AM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi David, > > > You are only using part of the code which I find here: > http://www.autoindustry536.bllog.opensubscriber.com/message/lilypond-de...@gnu.org/12807136.html > > Yes! That was it. Thank

Re: Scheme coding: 'number' cases vs 'string' cases

2015-04-09 Thread Thomas Morley
2015-04-09 18:36 GMT+02:00 Pierre Perol-Schneider : > Hi List, hi Schemers, > > I'm currently working on finding new tools to ease drawings with the 'path' > command. > I already found some nice ones that helped me to create new drawings and > enhanced old snippets. > That's what I've done here: ht

Scheme coding: 'number' cases vs 'string' cases

2015-04-09 Thread Pierre Perol-Schneider
Hi List, hi Schemers, I'm currently working on finding new tools to ease drawings with the 'path' command. I already found some nice ones that helped me to create new drawings and enhanced old snippets. That's what I've done here: http://lsr.di.unimi.it/LSR/Item?id=904 However, I'm not satisfied

Re: box around notes

2015-04-09 Thread Klaus Blum
Hi David, David Nalesnik-2 wrote > I hope that one day this will be trouble-free! I didn't know that things can get that complicated when diving deep into a lily pond... ;-) David Nalesnik-2 wrote > How did you arrive at 1? Well, I just took some insane value to get above anything else...

Re: \uppercase function

2015-04-09 Thread Kieren MacMillan
Hi David, > You are only using part of the code which I find here: > http://www.autoindustry536.bllog.opensubscriber.com/message/lilypond-de...@gnu.org/12807136.html Yes! That was it. Thanks for the link. > Note that the following will work with your simple example, though \uppercase > has to

Re: Function to add a drone staff?

2015-04-09 Thread Sven Axelsson
On 9 April 2015 at 17:27, Paul Morris wrote: > Gilles Sadowski wrote >> Is there a way (i.e. a function) to automatically add a staff for a >> bagpipe's drone note(s)? > > Hi, Here's a start, a function to change all the pitches of a melody to a > given pitch. Not tested on real music... (Since y

Re: \uppercase function

2015-04-09 Thread David Nalesnik
On Thu, Apr 9, 2015 at 10:31 AM, David Nalesnik wrote: > > Note that the following will work with your simple example, though > \uppercase has to be directly before the markup: > I meant in case you do something like: \markup \bold \italic \uppercase "Test" The \uppercase needs to be the last

Re: Problem with \break command

2015-04-09 Thread Simon Albrecht
Am 09.04.2015 um 17:30 schrieb Peter Toye: Re: Problem with \break command Simon, Thanks - it gets somewhere. The \set Timing.defaultBarType = "" command with which Abraham came up gets rid of the gaps. Yours, Simon ___ lilypond-user mailing list lil

Re: \uppercase function

2015-04-09 Thread David Nalesnik
Hi Kieren, On Thu, Apr 9, 2015 at 9:48 AM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi all, > > I’m looking for an \uppercase function to use in Lilypond — this one > (which I found somewhere, but can’t remember where now) doesn’t seem to > work: > > \version "2.19" > > #(define

Re: Problem with \break command

2015-04-09 Thread Peter Toye
Simon, Thanks - it gets somewhere. The reason for the extra braces was that it's a cut-down "tiny" version of a more complex score with polyphony. Best regards, Peter mailto:lilyp...@ptoye.com www.ptoye.com - Thursday, April 9, 2015, 4:15:26 PM, you wrote: Hello, t

Re: Function to add a drone staff?

2015-04-09 Thread Paul Morris
Gilles Sadowski wrote > Is there a way (i.e. a function) to automatically add a staff for a > bagpipe's drone note(s)? Hi, Here's a start, a function to change all the pitches of a melody to a given pitch. Not tested on real music... (Since you only want the drone notes in midi maybe you don't ne

Re: Problem with \break command

2015-04-09 Thread tisimst
Peter, Here's what I've done that works nicely, but requires a slight manual intervention (changes/additions in *BOLD*): 1. DON'T remove Bar_engraver because Clefs can only be printed after a bar line (even an invisible one, like with \bar "") 2. Set Timing.defaultBarType = "" which correctly kee

Re: Problem with \break command

2015-04-09 Thread Simon Albrecht
Hello, the problem seems to be that the Bar_engraver takes part in triggering the clef on the new line, so without it no clef is printed. I tried to come up with a workaround, omitting the bar lines, but it has a major drawback: it still leaves some space for the omitted bar lines, which I ca

Problem with \break command

2015-04-09 Thread Peter Toye
I'm trying to typeset some finger patterns for exercises and don't want bar numbers or barlines. This works fine for the first line, but after a \break command to force a new line for the next pattern the clef isn't shown. Obviously I'm doing something wrong, but as a relative Lilypond newbie wh

Re: Staff Spacing

2015-04-09 Thread Kieren MacMillan
Hi Chris, > Can you give me an example of how to use the \editionEngraver or show me > where it is in the documentation? https://github.com/openlilylib/openlilylib/tree/master/editorial-tools/edition-engraver Hope this helps! Kieren. ___ Kieren MacMillan, composer www:

\uppercase function

2015-04-09 Thread Kieren MacMillan
Hi all, I’m looking for an \uppercase function to use in Lilypond — this one (which I found somewhere, but can’t remember where now) doesn’t seem to work: \version "2.19" #(define-markup-command (uppercase paper props markup-argument) (markup?) (interpret-markup paper (prepend-alist-chain 'case

Hymns and justified lyrics

2015-04-09 Thread David B. Stocker
Hello LilyPonders, I have a client who is working on a hymnal, and they would like for the beginning of the lines of verses to be left justified. The best way I can see to do this, from a visual standpoint, is to make the longest syllable on the first note of each line centered like it normall

Re: how to prevent natural sign?

2015-04-09 Thread David Nalesnik
On Thu, Apr 9, 2015 at 9:21 AM, David Nalesnik wrote: > Hi, > > On Thu, Apr 9, 2015 at 9:10 AM, Jinsong Zhao wrote: > >> Hi there, >> >> I don't want the natural sign to be displayed. However, I don't find a >> way to do so. >> >> Many thanks! >> >> Regards, >> Jinsong >> >> \version "2.19.18" >

Re: how to prevent natural sign?

2015-04-09 Thread David Nalesnik
Hi, On Thu, Apr 9, 2015 at 9:10 AM, Jinsong Zhao wrote: > Hi there, > > I don't want the natural sign to be displayed. However, I don't find a way > to do so. > > Many thanks! > > Regards, > Jinsong > > \version "2.19.18" > \relative c'' { > \clef "treble" > % \set Staff.extraNatural = ##f >

how to prevent natural sign?

2015-04-09 Thread Jinsong Zhao
Hi there, I don't want the natural sign to be displayed. However, I don't find a way to do so. Many thanks! Regards, Jinsong \version "2.19.18" \relative c'' { \clef "treble" % \set Staff.extraNatural = ##f r4 < g bes > r < g b > } ___ lilyp

Re: Double clef when using cueDuringWithClef with a simultaneous clef change

2015-04-09 Thread Reinhold Kainhofer
Hi all, Sorry for the noise, I have now figured it out myself: The cue clef after the cue notes is actually not a CueClef grob, but a CueEndClef. Once this is clear, using \once\omit Staff.CueEndClef works perfectly fine to hide the cue end clef (example attached). Best regards, Reinhold Am

Re: Double clef when using cueDuringWithClef with a simultaneous clef change

2015-04-09 Thread Cynthia Karl
> Message: 5 > Date: Thu, 09 Apr 2015 13:45:39 +0200 > From: Reinhold Kainhofer > To: LilyPond User Mailinglist > Subject: Double clef when using cueDuringWithClef with a simultaneous > clefchange > Message-ID: <5523.7040...@kainhofer.com> > Content-Type: text/plain; charset="utf-8

Superimposing notes

2015-04-09 Thread Andrew Bernard
To superimpose two notes on top of each for a complex grace note structure, I have done the following, using multiple voices and shifts. When I use this technique inside my large complex score, the notes I am trying to superimpose push each other away as north pole to north pole magnets. What ov

Function to add a drone staff?

2015-04-09 Thread Gilles
Hi. Is there a way (i.e. a function) to automatically add a staff for a bagpipe's drone note(s)? Up to now, I was adding a staff by hand (with a tag so it would not appear on the printed score). But it is more complicated than it could be since the drone does not change, plays along the melody

Double clef when using cueDuringWithClef with a simultaneous clef change

2015-04-09 Thread Reinhold Kainhofer
Hi all, I have a piece, where the Fagotto part is written in tenor clef and after some measures rests switches to bass clef. Now, when I use \cueDuringWithClef to cue other instruments during those rests, the end of the cue notes will display two clefs: one to revert the cue clef (smaller) and

Re: Shape function

2015-04-09 Thread Mark Knoop
At 19:16 on 09 Apr 2015, Andrew Bernard wrote: >Where can I find the code for the \shape function mentioned in this >list about 2013? \shape is in Lilypond Documentation/notation/modifying-shapes.html \shapeII is in openlilylib https://github.com/openlilylib/openlilylib/tree/master/notation-sni

Shape function

2015-04-09 Thread Andrew Bernard
Where can I find the code for the \shape function mentioned in this list about 2013? Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user