Re: \set vs \override

2009-11-23 Thread David Kastrup
Mats Bengtsson mats.bengts...@ee.kth.se writes: Joe Neeman wrote: On Sat, 2009-11-21 at 22:45 +, Graham Percival wrote: On Sat, Nov 21, 2009 at 11:31:40PM +0100, David Kastrup wrote: I don't see a good rationale why \set, \override, \revert, \tweak should not work on the same

Re: output size

2009-11-23 Thread Mats Bengtsson
Please take a look at lilypond-book, http://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/LilyPond_002dbook#LilyPond_002dbook, which solves exactly this problem in a very convenient way. /Mats Yohann Martineau wrote: Hello, I'm writing a manual for music beginners. I'm using

Re: \set vs \override

2009-11-23 Thread Mats Bengtsson
David Kastrup wrote: We used to have the same command for setting both context and object properties, see http://lilypond.org/doc/v2.2/Documentation/topdocs/out-www/NEWS.html I read The syntax for setting properties has been simplified: the following table lists the

Re: \set vs \override

2009-11-23 Thread David Kastrup
Mats Bengtsson mats.bengts...@ee.kth.se writes: David Kastrup wrote: We used to have the same command for setting both context and object properties, see http://lilypond.org/doc/v2.2/Documentation/topdocs/out-www/NEWS.html I read The syntax for setting properties has been

Re: rhythm makro for tremolo

2009-11-23 Thread Stefan Thomas
Dear Gilles, thanks very much! It is great and works well now! 2009/11/22 Gilles THIBAULT gilles.thiba...@free.fr Dear community, is there a possibilitie to use the great macro for rhythms ( see: http://lsr.dsi.unimi.it/LSR/Snippet?id=390http://lsr.dsi.unimi.it/LSR/Snippet?id=390 ) also

hack spacing of triplet against swung 8.+16

2009-11-23 Thread Kieren MacMillan
Hi all, I'm engraving a song for voice and piano — the voice is swung (dotted eighth plus sixteenth) while the piano is playing triplets. I would like to [at least see what it looks like if I] set it so that the dotted sixteenth in the voice lines up visually/vertically with the third

Re: \set vs \override

2009-11-23 Thread Han-Wen Nienhuys
On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup d...@gnu.org wrote: And I am arrogant enough to believe that if I don't understand a design decision after a few days of trying, it is likely that ultimately a lot of people other than myself will be better off if the distinction gets abolished.

Re: \set vs \override

2009-11-23 Thread David Kastrup
Han-Wen Nienhuys hanw...@gmail.com writes: On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup d...@gnu.org wrote: Right now I don't have the necessary clue level.  Merely a gut hunch. Why dont you invest some time to find out how it really works, What do you think I am doing? Reading

Re: hack spacing of triplet against swung 8.+16

2009-11-23 Thread Alexander Kobel
Kieren MacMillan wrote: Hi all, I'm engraving a song for voice and piano — the voice is swung (dotted eighth plus sixteenth) while the piano is playing triplets. I would like to [at least see what it looks like if I] set it so that the dotted sixteenth in the voice lines up

Re: rhythm makro for tremolo

2009-11-23 Thread Stefan Thomas
Dear community, I guess the file changePitch.ly is a great tool which can be very useful for e.g. writing parts with the same rhythm, articulation, etc. It should be part of the next documentation. I would like to write something about it, or are there other plans? 2009/11/23 Stefan Thomas

problem with addquote

2009-11-23 Thread Stefan Thomas
Dear community, I have a problem with the addquote-command. In the below quoted snippet it doesn't work and I don't know why. Here is the example \version 2.12.2 oben = \new Staff \relative { c4 d e f g2 c g1 } \addQuote oben { \oben } unten = \new Staff { \quoteDuring oben {s1 } e'1 e'1 }

Re: warning not understood

2009-11-23 Thread Hugh Myers
Thanks Mats--- sorry I hit reply and not reply all. The suggested code works just as desired and it is always nice to rid myself of warning messages!! Thanks again. --hsm On Mon, Nov 23, 2009 at 3:42 AM, Mats Bengtsson mats.bengts...@ee.kth.se wrote: Please always keep the discussion on the

Re: problem with addquote

2009-11-23 Thread Alexander Kobel
Stefan Thomas wrote: Dear community, I have a problem with the addquote-command. In the below quoted snippet it doesn't work and I don't know why. Here is the example \version 2.12.2 oben = \new Staff \relative { c4 d e f g2 c g1 } \addQuote oben { \oben } unten = \new Staff { \quoteDuring oben

Re: \set vs \override

2009-11-23 Thread Ian Hulin
Hi David, David Kastrup wrote: Han-Wen Nienhuys hanw...@gmail.com writes: On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup d...@gnu.org wrote: Right now I don't have the necessary clue level. Merely a gut hunch. Why dont you invest some time to find out how it really works, What do you

variables

2009-11-23 Thread Hugh Myers
Given: eMinor = e b gis e b e, I'd like to be able to do something like \eMinor' since I'm working in relative mode. Is this possible. Same thing for chord length, i.e. \eMinor2. etc. --hsm ___ lilypond-user mailing list lilypond-user@gnu.org

Re: hack spacing of triplet against swung 8.+16

2009-11-23 Thread Kieren MacMillan
Hi Alexander, I just took your question as a motivation to finally add the functionality for *num/den suffixes in the following rhythm snippet. This is fabulous… and *way* more than I was expecting. ;) @ all: The string-duration routine certainly is not production-stage or well tested

Re: hack spacing of triplet against swung 8.+16

2009-11-23 Thread Kieren MacMillan
p.s. I meant applyRhythm = #(define-music-function (parser location rhythmA rhythmB music) … On 2009-Nov-23, at 13:58, Kieren MacMillan wrote: Hi Alexander, I just took your question as a motivation to finally add the functionality for *num/den suffixes in the following rhythm

Re: problem with addquote

2009-11-23 Thread Stefan Thomas
Dear Alexander, thanks for Your help. I understand it now! 2009/11/23 Alexander Kobel n...@a-kobel.de Stefan Thomas wrote: Dear community, I have a problem with the addquote-command. In the below quoted snippet it doesn't work and I don't know why. Here is the example \version 2.12.2

Re: \set vs \override

2009-11-23 Thread David Kastrup
Ian Hulin i...@hulin.org.uk writes: David Kastrup wrote: I will not doctor the documentation before I consider myself having a clue. And I am nowhere near that yet. From the bread-crumb trail of your posts on the various lists, it looks like you're exploring a similar set of avenues I was

Re: hack spacing of triplet against swung 8.+16

2009-11-23 Thread Alexander Kobel
Kieren MacMillan wrote: Hi Alexander, I just took your question as a motivation to finally add the functionality for *num/den suffixes in the following rhythm snippet. This is fabulous… and *way* more than I was expecting. ;) Well, that's not my fault... :-) Really, everything but the

Re: hack spacing of triplet against swung 8.+16

2009-11-23 Thread Kieren MacMillan
Hi Alexander, It's certainly easier for this special case, but the applyRhythm as is gives far more freedom than your example. If you have a rhythm like 4 4 8 8 4 in several voices, you can just say rhythmA = 4 4 8 8 4 sop = \applyRhythm #rhythmA { c d e f g | g f e d c } alt =

Disable point and click for part of files in batch

2009-11-23 Thread Andreas Stenberg
Hi! I'm working on a projekt more or less basede on the struktures and models in the LSR snippet on anglican chant. My projekt is to create a set of linked source- files and template- files to set texts for Orthodox services (in Finish) to the fourpart melodic formulas (eight tones with

Re: hack spacing of triplet against swung 8.+16

2009-11-23 Thread Alexander Kobel
Kieren MacMillan wrote: Hi Alexander, It's certainly easier for this special case, but the applyRhythm as is gives far more freedom than your example. If you have a rhythm like 4 4 8 8 4 in several voices, you can just say rhythmA = 4 4 8 8 4 sop = \applyRhythm #rhythmA { c d e f g | g f

Re: hack spacing of triplet against swung 8.+16

2009-11-23 Thread Alexander Kobel
Correction: Murphy's law. Still looks okay to me, but (sigh!) just the error message for ill-formed duration strings missed the not in not a valid duration. Cheers, Alexander %% applyRhythm %% %% 2009, Alexander Kobel

repeated music

2009-11-23 Thread Francesco Petrogalli
Hello, is there a simple way to make a function that generate a repetead pattern having just a note as input? I'm writing a Brahms' piano score, and the left hand is doing the same rhythm, just changing the notes: %bar 1 {f8( f'4 f8)} \\ {f,2} %bar 2 {g8( g'4 g8)} \\

Re: \set vs \override

2009-11-23 Thread Han-Wen Nienhuys
On Mon, Nov 23, 2009 at 12:55 PM, David Kastrup d...@gnu.org wrote: Han-Wen Nienhuys hanw...@gmail.com writes: On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup d...@gnu.org wrote: Right now I don't have the necessary clue level.  Merely a gut hunch. Why dont you invest some time to find out

Re: variables

2009-11-23 Thread Frank Steinmetzger
Am Montag, 23. November 2009 schrieb Hugh Myers: Given: eMinor = e b gis e b e, I'd like to be able to do something like \eMinor' since I'm working in relative mode. Is this possible. Same thing for chord length, i.e. \eMinor2. etc. AFAIK: eMinor=\relative c { e b gis e b e, }

Re: repeated music

2009-11-23 Thread Alexander Kobel
Francesco Petrogalli wrote: Hello, is there a simple way to make a function that generate a repetead pattern having just a note as input? Hi, Francesco, you mean like this: \include applyRhythm-1.1.ily brahmsify = #(define-music-function (parser location note) (ly:music?) #{

Re: repeated music

2009-11-23 Thread Frank Steinmetzger
Am Dienstag, 24. November 2009 schrieb Francesco Petrogalli: Hello, is there a simple way to make a function that generate a repetead pattern having just a note as input? I'm writing a Brahms' piano score, and the left hand is doing the same rhythm, just changing the notes: %bar 1

Re: \set vs \override

2009-11-23 Thread David Kastrup
Han-Wen Nienhuys hanw...@gmail.com writes: On Mon, Nov 23, 2009 at 12:55 PM, David Kastrup d...@gnu.org wrote: Han-Wen Nienhuys hanw...@gmail.com writes: On Mon, Nov 23, 2009 at 3:56 AM, David Kastrup d...@gnu.org wrote: Right now I don't have the necessary clue level.  Merely a gut hunch.

Re: repeated music

2009-11-23 Thread Alexander Kobel
Frank Steinmetzger wrote: You could try something like basis=\relative c { { f8( f'4 f8) } \\ { f,2 } } \basis \transpose c d { \basis } \transpose c e { \basis } Oh, damn. Now how clever is this?! I suggest you use Frank's solution... Kudos. :-) A more complex, yet

Re: \set vs \override

2009-11-23 Thread Han-Wen Nienhuys
On Mon, Nov 23, 2009 at 11:10 PM, David Kastrup d...@gnu.org wrote: * \override and \revert manipulate the defaults stored in said context property, pushing and popping values off the alist. This concise hint is wagonloads clearer than what is in the \set vs \override documentation node.  

Re: variables

2009-11-23 Thread Hugh Myers
eMinor=\relative c { ... } does not allow either eMinor' or eMinor, etc. --hsm On Mon, Nov 23, 2009 at 6:02 PM, Frank Steinmetzger war...@gmx.de wrote: Am Montag, 23. November 2009 schrieb Hugh Myers: Given: eMinor = e   b  gis  e b e, I'd like to be able to do something like \eMinor'

Re: \set vs \override

2009-11-23 Thread Nick Payne
On this subject of set vs override, if I want rehearsal marks to be boxed letters and also want to use the letter I as a rehearsal mark, how can I do that. Each set command overwrites the previous value of the context property, so if I use: \set Score.markFormatter =

Re: \set vs \override

2009-11-23 Thread James Worlton
Hi! On Nov 23, 2009, at 9:26 PM, Nick Payne wrote: On this subject of set vs override, if I want rehearsal marks to be boxed letters and also want to use the letter I as a rehearsal mark, how can I do that. Each set command overwrites the previous value of the context property, so if I

Re: No string for pitch #Pitch (SOLVED)

2009-11-23 Thread Carl Sorensen
On 11/20/09 8:58 PM, Jesús Guillermo Andrade gandr...@usermail.com wrote: Got the prick little b... It was as Carl initially suggested. I made a minimal example and found that there was a problem with the model for the string tuning function. Thanks a lot... There was also a bug in the code

Re: \set vs \override

2009-11-23 Thread David Kastrup
Han-Wen Nienhuys hanw...@gmail.com writes: On Mon, Nov 23, 2009 at 11:10 PM, David Kastrup d...@gnu.org wrote: * \override and \revert manipulate the defaults stored in said context property, pushing and popping values off the alist. This concise hint is wagonloads clearer than what is in

Re: variables

2009-11-23 Thread James E. Bailey
On 24.11.2009, at 02:02, Frank Steinmetzger wrote: Am Montag, 23. November 2009 schrieb Hugh Myers: Given: eMinor = e b gis e b e, I'd like to be able to do something like \eMinor' since I'm working in relative mode. Is this possible. Same thing for chord length, i.e. \eMinor2.