Re: how to get "h" instead of "b" in notenames

2014-11-04 Thread SoundsFromSound
Stefan Thomas-5 wrote > Dear community, > in the below quoted snippet I get "b" instead of the german "h". How can I > achieve it? > > \version "2.18.2" > > \language "deutsch" > > onthelines = \relative e' { e1 g h d f } > > > \score { > > << > > \new Staff \onthelines > > \new NoteNames \

Re: how to get "h" instead of "b" in notenames

2014-11-04 Thread Martin Tarenskeen
On Tue, 4 Nov 2014, Stefan Thomas wrote: Dear community, in the below quoted snippet I get "b" instead of the german "h". How can I achieve it? \version "2.18.2" \language "deutsch" onthelines = \relative e' { e1 g h d f } \score { << \new Staff \onthelines \new NoteNames \onthelines >> }

Re: how to get "h" instead of "b" in notenames

2014-11-04 Thread Noeck
>> \version "2.18.2" >> \language "deutsch" >> >> onthelines = \relative e' { e1 g h d f } >> >> \score { >> << >> \new Staff \onthelines >> \new NoteNames \onthelines >> >> > I'm confused, I thought the German "include" was setup something like > deutsch.ly = c d e f g a b h The input is v

Re: how to get "h" instead of "b" in notenames

2014-11-04 Thread Federico Bruni
2014-11-04 9:42 GMT+01:00 Noeck : > The input is valid with \language "deutsch" and the notes in the Staff > are correct. But the NoteNames show the letter "b" below the 3rd note > which is called "h" in German. He wants the letter "h" there. > > Just to clarify what I think Stefan Thomas asked. >

Re: random notes

2014-11-04 Thread anders . vinjar
Hi Stefan S> how can I generate pitches with sharp and flats? Have a look at the docs for ly:make-pitch, esp. the last argument to the function. S> How can I change the range of input notes? You mean register or octave for the generated notes? Same thing as above, only check first argu

Re: how to get "h" instead of "b" in notenames

2014-11-04 Thread Jay Vara
Apparently, in the NoteNames context it defaults to Dutch. You can use the following code to get what you want I think. b has been redefined to h in the definition of newnames and the myNoteNames override to NoteName.stencil makes this substitution. %%% \version "2.18

Colors in alists

2014-11-04 Thread Urs Liska
I want to store colors in an alist like #(define types '(("one" . "red") ("two" . "blue"))) I can retrieve and display the values with assoc-ref but I don't know how to turn the returned string into a color to be used in an override. Any help appreciated. Urd _

Re: Colors in alists

2014-11-04 Thread Marc Hohl
Am 04.11.2014 um 11:48 schrieb Urs Liska: I want to store colors in an alist like #(define types '(("one" . "red") ("two" . "blue"))) I can retrieve and display the values with assoc-ref but I don't know how to turn the returned string into a color to be used in an override. Untested: maybe y

Re: Colors in alists

2014-11-04 Thread Urs Liska
Am 4. November 2014 12:01:22 MEZ, schrieb Marc Hohl : >Am 04.11.2014 um 11:48 schrieb Urs Liska: >> I want to store colors in an alist like >> >> #(define types >> '(("one" . "red") >> ("two" . "blue"))) >> >> I can retrieve and display the values with assoc-ref but I don't know >> how to turn th

Re: Where to Download the New Music Fonts?

2014-11-04 Thread Son_V
Shouldn't the name of the last font in the page be "SCARLATTI"? -- View this message in context: http://lilypond.1069038.n5.nabble.com/Where-to-Download-the-New-Music-Fonts-tp165035p168388.html Sent from the User mailing list archive at Nabble.com. _

Re: Text uder the score

2014-11-04 Thread Federico Bruni
2014-11-03 19:45 GMT+01:00 Son_V : > Hi, I should put some instructions at the bottom of a score; I found at > http://lilypond.org/doc/v2.18/Documentation/notation/writing-text how to > write some text, but I wasn't able to find HOW to work with the text, how > to > put it on the left or right or

Re: Colors in alists

2014-11-04 Thread Paul Morris
Urs Liska wrote > Unfortunately not. > Type check for `color' failed; value `(quote darkgreen)' must be of type > `color' I don't know what you've tried. Have you tried it without the quote? See the following: \version "2.18.2" #(display "red") #(newline) #(display 'red) #(newline) #(display r

Re: Colors in alists

2014-11-04 Thread Paul Morris
Here we go: \version "2.18.2" #(display (color? "red")) #(newline) #(display (color? 'red)) #(newline) #(display (color? red)) -- View this message in context: http://lilypond.1069038.n5.nabble.com/Colors-in-alists-tp168384p168391.html Sent from the User mailing list archive at Nabble.com. _

Re: Colors in alists

2014-11-04 Thread Urs Liska
Am 4. November 2014 14:52:00 MEZ, schrieb Paul Morris : >Here we go: > >\version "2.18.2" >#(display (color? "red")) >#(newline) >#(display (color? 'red)) >#(newline) >#(display (color? red)) > > Thank you. But the problem comes when retrieving the value with assoc-ref from an alist (as define

Re: Colors in alists

2014-11-04 Thread Jay Anderson
On Tue, Nov 4, 2014 at 3:48 AM, Urs Liska wrote: > I want to store colors in an alist like > > #(define types > '(("one" . "red") > ("two" . "blue"))) > > I can retrieve and display the values with assoc-ref but I don't know how to > turn the returned string into a color to be used in an override.

Re: Colors in alists

2014-11-04 Thread R. Mattes
On Tue, 04 Nov 2014 12:18:33 +0100, Urs Liska wrote > Am 4. November 2014 12:01:22 MEZ, schrieb Marc Hohl : > >Am 04.11.2014 um 11:48 schrieb Urs Liska: > >> I want to store colors in an alist like > >> > >> #(define types > >> '(("one" . "red") > >> ("two" . "blue"))) > >> > >> I can retrieve and

Lilypond 2.16 and 2.18 incompatibility for \relative without absolute note outside the score

2014-11-04 Thread Mark Veltzer
Hello all, Just moved to ubuntu 14.10 (utopic) and got lilypond 2.18.2 instead of 2.16.2 that was installed on ubuntu 14.04 (trusty). This broke all of my tunes (I have about 150 of them since I do a big lilypond project). The problem: \score { << \new Voice="foo" \relative { c d e f g } >> } pr

Re: Lilypond 2.16 and 2.18 incompatibility for \relative without absolute note outside the score

2014-11-04 Thread Matthias Böhringer
Hello Mark, you do know about convert-ly? HTH, Matthias Am 04.11.2014 um 16:15 schrieb Mark Veltzer: Hello all, Just moved to ubuntu 14.10 (utopic) and got lilypond 2.18.2 instead of 2.16.2 that was installed on ubuntu 14.04 (trusty). This broke all of my tunes (I have about 150 of them since

Re: Lilypond 2.16 and 2.18 incompatibility for \relative without absolute note outside the score

2014-11-04 Thread Joram
> I really don't care what the default of lilypond behavior as far as > \relative without a note outside the score is as long as it stays the same > across versions of lilypond. I now have to manually edit 150 files...:( Do you know convert-ly? That is exactly to automate such syntax changes. No n

Re: Lilypond 2.16 and 2.18 incompatibility for \relative without absolute note outside the score

2014-11-04 Thread Shane Brandes
from command line in a folder you want your lilies changed issue: convert-ly *.ly very easy. No muddling around. regards Shane On Tue, Nov 4, 2014 at 10:26 AM, Joram wrote: >> I really don't care what the default of lilypond behavior as far as >> \relative without a note outside the score is a

Re: Lilypond 2.16 and 2.18 incompatibility for \relative without absolute note outside the score

2014-11-04 Thread Mark Veltzer
Unfortunately I cannot use convert-ly, since on a large project such as I am working on I am using an extra pre-processor before handing out the output to lilypond. This means that my "source" files are not in lilypond format but only contain snipplets of lilypond code. I actually imagine that ever

Re: Lilypond 2.16 and 2.18 incompatibility for \relative without absolutenote outside the score

2014-11-04 Thread Trevor Daniels
Mark Veltzer wrote Tuesday, November 04, 2014 3:15 PM > Just moved to ubuntu 14.10 (utopic) and got lilypond 2.18.2 instead of > 2.16.2 that was installed on ubuntu 14.04 (trusty). This broke all of my > tunes (I have about 150 of them since I do a big lilypond project). > > The problem: \score

Re: Lilypond 2.16 and 2.18 incompatibility for \relative withoutabsolute note outside the score

2014-11-04 Thread Trevor Daniels
Mark Veltzer wrote Tuesday, November 04, 2014 4:02 PM > Unfortunately I cannot use convert-ly, since on a large project such as I am > working on I am using an extra pre-processor before handing out the output > to lilypond. > This means that my "source" files are not in lilypond format but only

Re: Colors in alists

2014-11-04 Thread Urs Liska
Am 04.11.2014 15:47, schrieb Jay Anderson: On Tue, Nov 4, 2014 at 3:48 AM, Urs Liska wrote: I want to store colors in an alist like #(define types '(("one" . "red") ("two" . "blue"))) I can retrieve and display the values with assoc-ref but I don't know how to turn the returned string into a

Re: barnumber | post-event in music function

2014-11-04 Thread Urs Liska
Hi David, thank you very much, actually it *did* help me a lot. First to understand why my previous approaches just *could* not work. Then (hopefully) to understand how it can work. I had a hard time to incorporate it into my real function because I didn't realize that LilyPond can't disting

Re: Colors in alists

2014-11-04 Thread Paul Morris
Jay Anderson wrote > Try quasiquote + unquote: > > #(define types > `(("one" . ,red) > ("two" . ,blue))) > > #(display types) => ((one 1.0 0.0 0.0) (two 0.0 0.0 1.0)) > > -Jay That does it, or you can use "list" and "cons". Allow me to provide a tiny example: % \

Re: Colors in alists

2014-11-04 Thread Paul Morris
Urs Liska wrote > I would be extremely happy if someone could take the time and write a > slow-paced tutorial about this on Scores of Beauty! Meanwhile here's a slow-paced video tutorial on quoting in scheme (although it doesn't get to quasi-quoting-and-un-quoting): https://www.youtube.com/watch?

Re: Lilypond 2.16 and 2.18 incompatibility for \relative without absolute note outside the score

2014-11-04 Thread Mark Veltzer
Unfortunately I cannot use convert-ly, since on a large project such as I am working on I am using an extra pre-processor before handing out the output to lilypond. This means that my "source" files are not in lilypond format but only contain snipplets of lilypond code. I actually imagine that ever

Re: Lilypond 2.16 and 2.18 incompatibility for \relative without absolute note outside the score

2014-11-04 Thread Jim Long
If you need to make lots of edits to instances of \relative in your source code, then: 1) sed(1) is your friend; 2) that's what DEFINE's are for. On Tue, Nov 04, 2014 at 04:02:21PM +, Mark Veltzer wrote: > Unfortunately I cannot use convert-ly, since on a large project such as I am > workin

LilyPond PPA for Ubuntu/other related OS?

2014-11-04 Thread Ryan McClure
I'm about to switch to Elementary OS soon as my default OS...I'm not enjoying my Arch Linux experience as of late. On Arch, I have access to the AUR for Arch that allows me to have access to the most recent build of LilyPond. I would like this for Elementary OS. However, I would prefer a package th

Re: LilyPond PPA for Ubuntu/other related OS?

2014-11-04 Thread David Bellows
I'm using Kubuntu (Ubuntu with KDE) and have just helped a friend, a Linux newbie, transition his Lilypond approach on his Linux box. My sincere advice is to just download the software from the website and use that. The installation is super easy and even easier to upgrade (once you've installed it

Re: Colors in alists

2014-11-04 Thread Thomas Morley
2014-11-04 19:05 GMT+01:00 Urs Liska : > > Am 04.11.2014 15:47, schrieb Jay Anderson: >> >> On Tue, Nov 4, 2014 at 3:48 AM, Urs Liska wrote: >>> >>> I want to store colors in an alist like >>> >>> #(define types >>> '(("one" . "red") >>> ("two" . "blue"))) >>> >>> I can retrieve and display the va

Changing thickness of ParenthesesItem

2014-11-04 Thread Thomas Morley
Hi all, maybe I'm too tired, though, is there no better way to change the thickness of a ParenthesesItem, than scaling their stencils? \version "2.19.13" paren-thick = #(define-music-function (parser location x music)(number? ly:music?) #{ \tweak ParenthesesItem.stencils #(lambda (grob)

Re: Changing thickness of ParenthesesItem

2014-11-04 Thread tisimst
Harm, The parentheses are static glyphs from the music font, so there's no way that I know of to simply make it bolder (i.e., there's no bold version of emmentaler). You might be able to change this by setting the font-encoding to latin1 and using another font for the parentheses that has a bo

Re: Changing thickness of ParenthesesItem

2014-11-04 Thread Thomas Morley
2014-11-05 1:03 GMT+01:00 tisimst : > Harm, > > The parentheses are static glyphs from the music font, so there's no way > that I know of to simply make it bolder (i.e., there's no bold version of > emmentaler). You might be able to change this by setting the font-encoding > to latin1 and using ano

Re: Changing thickness of ParenthesesItem

2014-11-04 Thread David Nalesnik
Hi Harm, On Tue, Nov 4, 2014 at 6:16 PM, Thomas Morley wrote: > > Hi Abraham, > > thanks for your reply, sounds logical. > OTOH, we have functions like 'make-bezier-sandwich-stencil', which is > used in 'make-parenthesis-stencil' and finally in > 'parenthesize-stencil' > They are not used here o

Re: Where to Download the New Music Fonts?

2014-11-04 Thread tisimst
Nope. By majority vote, the name changed from Amadeus to Scorlatti, in honor of the SCORE notation system, the inspiration of the font. Did you see somewhere on the website that said Scarlatti instead? -Abraham Sent from my iPhone > On Nov 4, 2014, at 6:09 AM, Son_V [via Lilypond] > wrote:

brass fingering charts

2014-11-04 Thread Paul Scott
1. Is it possible to print woodwind-diagrams horizontally? 2. Has anyone considered doing brass fingering charts/diagrams? I need to put trumpet fingerings under notes for some young players. I imagine everything I need can be derived from the .scm files. Thanks for any thoughts, Paul Scott

Re: Colors in alists

2014-11-04 Thread Urs Liska
Am 05.11.2014 00:02, schrieb Thomas Morley: 2014-11-04 19:05 GMT+01:00 Urs Liska : Am 04.11.2014 15:47, schrieb Jay Anderson: On Tue, Nov 4, 2014 at 3:48 AM, Urs Liska wrote: I want to store colors in an alist like #(define types '(("one" . "red") ("two" . "blue"))) I can retrieve and disp

Re: random notes

2014-11-04 Thread Stefan Thomas
Dear Anders, thanks for Your help. It looks complicated to me but I will try to figure it out! Hi Stefan > > S> how can I generate pitches with sharp and flats? > > Have a look at the docs for ly:make-pitch, esp. the last argument to the > function. > > S> How can I change the range of inp

Re: how to get "h" instead of "b" in notenames

2014-11-04 Thread Stefan Thomas
Dear Jay, thanks! The code does exactly what I want! > Apparently, in the NoteNames context it defaults to Dutch. You can use the > following code to get what you want I think. b has been redefined to h in > the definition of newnames and the myNoteNames override to NoteName.stencil > makes this s