new version and syntax changes, ghostscript crash
Hi, I downloaded 2.11.51, and there are two problems: 1) some syntaxes are changed such as \sustainOn and \sustainOff. I have no time to re-read the manuals, but the news page has no indication of it at the top. So \setTextCresc and \setHairpinCresc are also obsolete. Could someone provide a list of the syntax changes? 2 the compilation is successful, but a dialog box comes up: gs.exe encounters a problem and needs to be closed. I don't know whether the PDF is ok. But why gs.exe has this error? REGARDS Haipeng ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: new version and syntax changes, ghostscript crash
1) convert-ly -s --from=2.11.50 2) Sorry, I don't know. Cheers, - Graham On Wed, 9 Jul 2008 15:00:27 +0800 (CST) hhpmusic [EMAIL PROTECTED] wrote: Hi, I downloaded 2.11.51, and there are two problems: 1) some syntaxes are changed such as \sustainOn and \sustainOff. I have no time to re-read the manuals, but the news page has no indication of it at the top. So \setTextCresc and \setHairpinCresc are also obsolete. Could someone provide a list of the syntax changes? 2 the compilation is successful, but a dialog box comes up: gs.exe encounters a problem and needs to be closed. I don't know whether the PDF is ok. But why gs.exe has this error? REGARDS Haipeng ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Arbitrary changes?
Am 09.07.2008 um 09:00 schrieb hhpmusic: Hi, I downloaded 2.11.51, and there are two problems: 1) some syntaxes are changed such as \sustainOn and \sustainOff. I have no time to re-read the manuals, but the news page has no indication of it at the top. So \setTextCresc and \setHairpinCresc are also obsolete. Could someone provide a list of the syntax changes? I was really upset by all of the changes to predefined commands, but then I thought about it and realised, okay, convert-ly works the files I have, and maybe one day there will be a changelog with the changes to the predefined commands, until then, I can use the search function in my browser to find out how to write something, but ultimately, I don't really have a say in the matter. I'm not developing the software, and it's still amazingly better than any of the other options. So, we can move on, or not upgrade. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Arbitrary changes?
I spoke too soon, I think. Would this work as an acceptable changelog? http://lists.gnu.org/archive/html/lilypond-devel/2008-06/msg00266.html ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: suggestion about web page examples and essay
Hi Graham, I'll start that in september, so let's speak about the subject after the GDP things. Ciao Libero On Tue, Jul 8, 2008 at 7:46 AM, Graham Percival [EMAIL PROTECTED] wrote: On Wed, 2 Jul 2008 18:55:10 +0200 Libero Mureddu [EMAIL PROTECTED] wrote: Of course I'm not just trowing a stone here and hiding my hand here (italian motto... :-), that means that I'm ready to take the time and effort to work on the points I suggested (clearly with the help of others), if there's an interest! Time and effort are the big issues. If you're willing to undertake this by yourself, I'll supervise you and help with some technical details. We'll need to change a few things in the way we build lilypond, but I think it would be worth it. However, I would like a firm committment from you (and any other interested users) that you'd handle all the lilypond code. Since you've just started unfretted-strings.itely, I'd prefer to wait until you've finished that task first -- it shouldn't take too long. (sorry for the delay; this email got hidden in an unused email folder) Cheers, - Graham -- Libero Mureddu Vanha Viertotie, 21 as 417 00350 Helsinki Finland http://webusers.siba.fi/~limuredd/ http://www.myspace.com/liberomureddu ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: suggestion about web page examples and essay
Ok. I'll be gone by that time, but I'm sure that we can find somebody else to supervise this. Cheers, - Graham On Wed, 9 Jul 2008 11:40:51 +0200 Libero Mureddu [EMAIL PROTECTED] wrote: Hi Graham, I'll start that in september, so let's speak about the subject after the GDP things. Ciao Libero On Tue, Jul 8, 2008 at 7:46 AM, Graham Percival [EMAIL PROTECTED] wrote: On Wed, 2 Jul 2008 18:55:10 +0200 Libero Mureddu [EMAIL PROTECTED] wrote: Of course I'm not just trowing a stone here and hiding my hand here (italian motto... :-), that means that I'm ready to take the time and effort to work on the points I suggested (clearly with the help of others), if there's an interest! Time and effort are the big issues. If you're willing to undertake this by yourself, I'll supervise you and help with some technical details. We'll need to change a few things in the way we build lilypond, but I think it would be worth it. However, I would like a firm committment from you (and any other interested users) that you'd handle all the lilypond code. Since you've just started unfretted-strings.itely, I'd prefer to wait until you've finished that task first -- it shouldn't take too long. (sorry for the delay; this email got hidden in an unused email folder) Cheers, - Graham -- Libero Mureddu Vanha Viertotie, 21 as 417 00350 Helsinki Finland http://webusers.siba.fi/~limuredd/ http://www.myspace.com/liberomureddu ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Slur ending repeated
Hi, Is there a way that i can create slur ending in repeat volta, without using cadenza or hidind notes? Can i create a broken slur or phasing? Thanks -- View this message in context: http://www.nabble.com/Slur-ending-repeated-tp18311942p18311942.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Slur ending repeated
Hi, Luc I tried using de \laissez but it works only with tie notes, i need for sluring or phasing... It's dificult to find... i saw in foruns people using a hide notes a cadenza, to make slur ending... Luc wrote: PortugalG wrote: Is there a way that i can create slur ending in repeat volta, without using cadenza or hidind notes? Can i create a broken slur or phasing? does one of these fit? { \repeat volta 2 { e 1 ~ } \alternative { { e 2 f 4 e \laissezVibrer | } { e 2 \repeatTie f 4 f ~ | } } f 1 } -- View this message in context: http://www.nabble.com/Slur-ending-repeated-tp18311942p18315308.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: need a slur in a alternative repeat
Hi I have a same problem i made a post.. with no luck \version 2.11.49 \relative c' { c4 c c c e e e e f f f f g' f \(e d \break \repeat volta 2 { c4\) c c c e e e e f f f f g g g g } \alternative { { f e d b } { c c c c } } } The idea was creating a slur or phasing between \alternative { { f e (d b ???} to the repeat volta 2 wich already have a ending phasing.. i made this by my own use cadenza and unhide notes... \version 2.11.49 \relative c' { c4 c c c e e e e f f f f g' f \(e d \break \repeat volta 2 { c4\) c c c e e e e f f f f g g g g } \alternative { { \cadenzaOn f e (d b \hideNotes c ) } { \cadenzaOff \unHideNotes c c c c } } } But i still have a problem i have a big hole space after the B note... is there a way to move to the right the barline? or is there a better way? Is there any version of lilypond that have a tutorial about these issue? THANKS, for supporting. gerard stouten wrote: hi there, i need a slur in a repeat. i can not figure out how to do it, maybe you can help me. (a8) r8 f4 \bar || \mark \default f2 f8(g8) bes8 c8 d2 bes4 f4 c'2 a4 f4 f2( } \alternative {{f8) r8 f4} { f8 r4.}} The last f2 has a slur to the f8 in alternative ending 1. but it should also have a slur to the f8 in the second alternative ending, soort of a backwards slur. Is there a solution for this? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- View this message in context: http://www.nabble.com/need-a-slur-in-a-alternative-repeat-tp11275018p18326178.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
need help
Need Help i try forum, etc with no luck I want to create a slur or phasing in the alternative ending like the example: version 2.11.49 \relative c' { c4 c c c e e e e f f f f g' f \(e d \break \repeat volta 2 { c4\) c c c e e e e f f f f g g g g } \alternative { { f e d b } { c c c c } } } The idea it is creating a *slur* or phasing between \alternative { { f e (d b ???} to the repeat volta 2 wich already have a *ending* phasing.. i made this by my own use cadenza and unhide notes... \version 2.11.49 \relative c' { c4 c c c e e e e f f f f g' f \(e d \break \repeat volta 2 { c4\) c c c e e e e f f f f g g g g } \alternative { { \cadenzaOn f e (d b \hideNotes c ) } { \cadenzaOff \unHideNotes c c c c } } } But i still have a problem i have a big hole space after the B note... Is there any version of lilypond that have a tutorial about these issue? THANKS, for supporting. Great program... ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR search is broken (was: \repeat with upbeat )
On Jul 7, 2008, at 10:30 AM, Valentin Villenave wrote: Am 07.07.2008 um 00:44 schrieb Eluze Weehaeli: http://lsr.dsi.unimi.it/LSR/Item?u=1id=490 Using http://lsr.dsi.unimi.it/ you can search - e.g. for upbeat or repeat - the snippet repository but you will not find this snippet Using Browse you can find it after scrolling through several pages... What's the problem here? 2008/7/7 James E. Bailey [EMAIL PROTECTED]: I've wondered this for a long time. I've stopped using the lsr because of it. There are people here, kieren, for example who can find anything on the lsr. I can't. I search the lsr by asking here and waiting until someone posts a link. This is a known problem, and we're all aware of it : there are many issues with the LSR architecture, its database, its search function, Guys, please post this kind of problems. There was simply a wrong update so that the index wasn't rebuilt since days. So new snippets were showing up in the browsing list (because they are picked from the database in that case) but not in a search. I know I should check that things are fine more frequently, but please post in case of problems. The architecture works flawlessly, and I don't know of any problem with the search function. The problem is the physical system. It is a machine that is sometimes updated aggressively (e.g., to experiment new software). And there was of course the DB connection bug--but that has been fixed (the fix caused this problem, BTW). Ciao, seba ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR search is broken (was: \repeat with upbeat )
On Jul 9, 2008, at 1:05 AM, Valentin Villenave wrote: Oh, I was just trying to avoid spamming you with reports... :-) It's OK. over the past few weeks, here are the few problems I can remember having (randomly) encountered: - several problems with the database/Java/Velocity engine/whatever (errors 505, IIRC) - sometimes, impossible to get a preview from snippets using the ERW interface (the preview page is blank) - search function bugs: for instance, -- the name of the tags appeared in the snippets descriptions on the result page -- impossible to locate some snippet by searching terms in their .ly source code -- similarly, the search function doesn't allow for some characters such as # -- the problem you've just dealt with. It's OK, but I need replicatable test cases. Like the last you mentioned. Something like this snippet, this keyword. To search for # we need to index it. Presently this is not done. Then you just need to escape it with \. Can you give me a list of the symbols you want to be indexed? Note that at that point #UP is a single token, so searching for UP won't find UP. Ciao, seba ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Arbitrary changes?
Why don't you simply look at the convert-ly source code, http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blob;f=python/convertrules.py;hb=HEAD (this URL should be on 1 line) On Wed, Jul 9, 2008 at 6:02 AM, James E. Bailey [EMAIL PROTECTED] wrote: I spoke too soon, I think. Would this work as an acceptable changelog? http://lists.gnu.org/archive/html/lilypond-devel/2008-06/msg00266.html -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
dynamic spanner help
I've not understood this for a while, and I figure I should probably ask about it. When I have dynamics in a variable, the text spanner shows up and I can't get rid of it. \version 2.11.51 \layout { \context { \type Engraver_group \name VocalDynamics \alias Voice \consists Text_engraver \consists Dynamic_engraver \consists Text_engraver \override TextScript #'font-shape = #'italic } \context {\Staff \accepts VocalDynamics} } Voice = \relative { e1 f g e a g f d } VoiceDynamics = \new VocalDynamics { \override DynamicTextSpanner #'dash-period = #-1.0 \dimTextDim s1*3\ s1\! \crescTextCresc s1*3\ s1\! \setHairpinDim } \score { \new Staff \VoiceDynamics \Voice \layout {} } \relative c'' { \override DynamicTextSpanner #'dash-period = #-1.0 \crescTextCresc c1\ | d | b | c\! } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR search is broken (was: \repeat with upbeat )
Hi Sebastiano, I don't know of any problem with the search function. I still find it odd -- and a bit disconcerting -- that the page says (e.g.) 0-13 of 14 results... ;-) Of course, many thanks for your work on the LSR! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Analysis Brackets with dashed lines
Thanks all who helped me. This is the example of a Bach Invention analysed by Kent Kennan. For the brackets I used: \startGroup \endGroup as normal brackets. \[ \] as dashed lines in the up part of the staff \startTextSpan \stopTextSpan as dashed lines in the bottom of the staff I also copied the arrows from the Flamenco template and used as a markup in the lyrics context and in some notes. I am attaching because it may be of some use for someone in the future... Hugo cap10ex13.ly Description: application/extension-ly ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Frech trills and slurs. A bug?
I have a problem which was also reported by Franz-Rudolf Kuhnen some times ago. Lilypond places by default articulation symbols below the slurs. So, if I try to mark a trill by a + (like in ancient French music), and above the note with trill there's a slur, the agrement is placed below the slur, instead of being above, as trills should be. \version 2.11.51 \score { \relative c'' \new Staff { \time 2/4 b4( ais8._+) b16 } Is it possible to deplace the + above the slur? I tried the command \once \override Script #'padding - #*.* but nothing has changed. Thank you F. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
dynamic spanner help
Also, the \crescTextCresc and \dimTextDim work like there's a \once in front of them when they're in the variable. \version 2.11.51 \layout { \context { \type Engraver_group \name VocalDynamics \alias Voice \consists Text_engraver \consists Dynamic_engraver \consists Text_engraver \override TextScript #'font-shape = #'italic } \context {\Staff \accepts VocalDynamics} } Voice = \relative { e1 f g e a g f d } VoiceDynamics = \new VocalDynamics { \override DynamicTextSpanner #'dash-period = #-1.0 \dimTextDim s1*3\ s1\! \crescTextCresc s1*3\ s1\! \setHairpinDim } AlternateDynamics = \new VocalDynamics { \dimTextDim s1 s\ s s\! s1 s\ s s\! } \score { \new Staff \VoiceDynamics \Voice \layout {} } \score { \new Staff \AlternateDynamics \Voice \layout {} } \relative c'' { \override DynamicTextSpanner #'dash-period = #-1.0 \crescTextCresc c1\ | d | b | c\! c\ d b c\! } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Some Midi Output Problems
grick wrote Monday, July 07, 2008 3:47 PM In this way the trumpet sound is audible. But it's not enough. Now the chords played by the acoustic piano(default) in the background is too loud and cover the instrument armony in most passages. The question is: how i can decrease the chords volume? (or the opposite, how can i increase the trumpet volume instead of lower all the others instrument?) You can reduce the volume of the default piano in the same way, by setting midiMinimumVolume and midiMaximumVolume in the piano staff. Note, though, that these controls only take effect on encountering a dynamic mark, so be sure you have a mark at the beginning of the piano notes. BTW, an easier way may be to simply use quieter dynamic marks on the music of the instruments you want to reduce - these also affect the MIDI volume. To do this i use often staccato notes (a4-. a4-. a4-. a4-.). I expect my midi output sound like (a8 r8 a8 r8 a8 r8 a8 r8) but sadly it does not interpret them at all and sound like a simple (a4 a4 a4 a4). I can simple write (a8 r8) version everywhere but the sheet become really difficult to read for the performers. Is there a way to avoid to mantain a double version of the sheets? (one for the performers with a4-. version and one for the midi output with a8 r8 one?) Sorry, apart from using separate versions I don't know how to do this other than by writing a Scheme procedure to add the staccato marks in the midi \score block. Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Very Shorter Rhythmic Durations
I'm working on an algorithmic composition program, and I'm using Lilypond to generate the scores. There is the very real possibility of getting very short rhythmic durations (such as 128ths, 256ths, 512ths, etc). It appears that lilypond cannot handle these; I get an error saying warning: flag `u7' not found. I know that scores that include rhythmic durations such as these won't be particularly playable, but I'd like to still be able to generate something for the score; after all, something is better than nothing. My first thought is to replace these extremely short notes with grace notes, since that's essentially what they are anyway. However, the grace note Lilypond documentation[1] states that grace notes take up no logical time, and I want these notes to still take up the appropriate duration, so that the bar lines are places correctly. Looking through the documentation, I'm seeing a couple possibilities for how to accomplish this: - Scaling Durations[2]. This looks promising, although the grace notes take up no space, and scaling zero times some factor is still zero. So maybe not so promising :(. - Time Administration[3]. It looks like I could just update the measure position after each grace note. However, the documentation on this is pretty sparse and I don't fully understand how to use it. Has anyone dealt with this issue before? Any recommendations? Thanks, Myron [1] http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Grace-notes#Grace-notes [2] http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Scaling-durations#Scaling-durations [3] http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Time-administration#Time-administration ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR search is broken (was: \repeat with upbeat )
On Jul 9, 2008, at 3:22 PM, Kieren MacMillan wrote: Hi Sebastiano, I don't know of any problem with the search function. I still find it odd -- and a bit disconcerting -- that the page says (e.g.) 0-13 of 14 results... ;-) I know. I'm trying to fight with a prejudice that dates back to the Romans. It's difficult :). Ciao, seba ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR search is broken (was: \repeat with upbeat )
Sebastiano, I know. I'm trying to fight with a prejudice that dates back to the Romans. It's difficult :). Ha!! Seriously... is one-indexing the LSR code (which is clearly zero- indexed) difficult for some reason? In all the programming I've done — including Java, etc. — I've found reindexing to be fairly easy, in general... Cheers, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changelog (was: Arbitrary changes?)
It took me a couple of minutes to scan through the source code (of convert-ly.py) as Han-Wen suggested and find the changes in 2.11.51, so as a convenience to others, here they are: \\octave changed to \\octaveCheck arpeggioUp changed to arpeggioArrowUp arpeggioDown changed to arpeggioArrowDown arpeggioNeutral changed to arpeggioNormal setTextCresc changed to crescTextCresc setTextDecresc changed to dimTextDecresc setTextDecr changed to dimTextDecr setTextDim changed to dimTextDim setHairpinCresc changed to crescHairpin setHairpinDecresc changed to dimHairpin sustainUp changed to sustainOff sustainDown changed to sustainOn sostenutoDown changed to sostenutoOn sostenutoUp changed to sostenutoOff Funny thing is, the only ones I use are the cresc and dim ones, and I don't see what was gained by those changes, but no big deal - I'd have to look them up the next time used them anyway most likely. Tim Reeves ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR search is broken (was: \repeat with upbeat )
On Jul 9, 2008, at 7:11 PM, Kieren MacMillan wrote: Sebastiano, I know. I'm trying to fight with a prejudice that dates back to the Romans. It's difficult :). Ha!! Seriously... is one-indexing the LSR code (which is clearly zero- indexed) difficult for some reason? In all the programming I've done — including Java, etc. — I've found reindexing to be fairly easy, in general... One-indexing is brain damaged. See EWD831: http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html Ciao, seba ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frech trills and slurs. A bug?
Am 09.07.2008 um 12:46 schrieb Francesco Spiga: I have a problem which was also reported by Franz-Rudolf Kuhnen some times ago. Lilypond places by default articulation symbols below the slurs. So, if I try to mark a trill by a + (like in ancient French music), and above the note with trill there's a slur, the agrement is placed below the slur, instead of being above, as trills should be. \version 2.11.51 \score { \relative c'' \new Staff { \time 2/4 b4( ais8._+) b16 } Is it possible to deplace the + above the slur? I tried the command \once \override Script #'padding - #*.* but nothing has changed. Thank you F. Hopefully this gets you closer. You can specify whether scripts are inside or outside slurs \version 2.11.51 \relative c'' { \override Script #'avoid-slur = #'outside \time 2/4 \stemDown b4_( ais8._+) b16 } \relative c'' { \time 2/4 \stemDown b4_( ais8._+) b16 } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR search is broken
Seriously... is one-indexing the LSR code (which is clearly zero-indexed) difficult for some reason? In all the programming I've done — including Java, etc. — I've found reindexing to be fairly easy, in general... One-indexing is brain damaged. See EWD831: http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html This might be true for Mathematics, but not for `real' life: If there are four items lying on the table, and you have to enumerate them, most people will call them item 1 to item 4, and *not* item 0 to item 3. Please change this. Werner ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: different rhythmic units for tuplet's numerator and denominator
urisala wrote: Would it be possible to make a generic function that works for the tuplet in red and also in green? I was curious to puzzle this one out and learn something about scheme. A partial answer, building on some snippets already out there, follows. The numerical logic is easy, but I've not been able to see how to use scheme to count the notes in the music expression (though entering the number by hand isn't that hard) and somehow can't combine the production of a bracket within scheme with an expression to set the TupletNumber to show the note length as well as the ratio. What this does do is calculate the tuplet durations, the ratios, and draw the music. Of course, depending what you're writing, it might be easier to set up some re-usable patterns. Hope this helps. Peter %%% \version 2.11.49 %% Applies duration number to each note #(define (transformEachNote chordElt d) (begin (if (or (eq? 'NoteEvent (ly:music-property chordElt 'name)) (eq? 'RestEvent (ly:music-property chordElt 'name))) (set! (ly:music-property chordElt 'duration) d) ) chordElt )) %% Deals with chords #(define (getChords musicElt d) (begin (if (eq? 'EventChord (ly:music-property musicElt 'name)) (map (lambda (x) (transformEachNote x d)) (ly:music-property musicElt 'elements) ) ) musicElt )) %% Converts duration into ly form - here dnl is one of 1, 2, 4, 8... with no .s attached #(define (string-duration dnl num dnm) ( let*( (dur (ly:intlog2 dnl)) ;; dur = 0 1 2 3 ... (need for ly:make-duration) ) (ly:make-duration dur 0 num dnm) )) %% Calculates the durations and constructs the tuplet %% Inputs: span = number of baseunit notes to fill; baseunit = note unit you're filling; count = number of new notes to input; notes = music expression, pitches and articulations only makeTuplet = #(define-music-function (parser location span baseunit count notes) (number? number? number? ly:music?) ( let*( (udf (expt 2 (truncate (/ span count ;; unit duration factor (dnl (/ baseunit udf )) ;; displayed note length of tuplet (den (* count udf)) ;; denominator of tuplet ratio ) (music-map (lambda (x) (getChords x (string-duration dnl span den))) notes ) (make-music 'TimeScaledMusic 'denominator span 'numerator count 'element notes ) )) \relative { \time 4/4 \autoBeamOff \override TupletNumber #'text = #tuplet-number::calc-fraction-text c16 \makeTuplet #11 #16 #5 {d^\p( e f\ g a-.) } b4\! c1 } %%% EOF -- View this message in context: http://www.nabble.com/different-rhythmic-units-for-tuplet%27s-numerator-and-denominator-tp18321046p18367973.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: indexing (was LSR search is broken)
I agree with Kieren and Werner. Programming and Mathematics aside, if I'm standing in line, the first person to be served will be the first person in line, not the zeroth person in line. I don't think zeroth person in line has ever been uttered. And I'm not just being anti-pedantic. Believe me, I can be quite pedantic. ;-) Tim Reeves___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changelog (was: Arbitrary changes?)
Or you could have done what I suggested to Haipeng, and ran convert-ly -s --from=2.11.50 to see a list of all these changes. No looking at source code required. Cheers, - Graham On Wed, 9 Jul 2008 10:58:30 -0700 Tim Reeves [EMAIL PROTECTED] wrote: It took me a couple of minutes to scan through the source code (of convert-ly.py) as Han-Wen suggested and find the changes in 2.11.51, so as a convenience to others, here they are: \\octave changed to \\octaveCheck arpeggioUp changed to arpeggioArrowUp arpeggioDown changed to arpeggioArrowDown arpeggioNeutral changed to arpeggioNormal setTextCresc changed to crescTextCresc setTextDecresc changed to dimTextDecresc setTextDecr changed to dimTextDecr setTextDim changed to dimTextDim setHairpinCresc changed to crescHairpin setHairpinDecresc changed to dimHairpin sustainUp changed to sustainOff sustainDown changed to sustainOn sostenutoDown changed to sostenutoOn sostenutoUp changed to sostenutoOff Funny thing is, the only ones I use are the cresc and dim ones, and I don't see what was gained by those changes, but no big deal - I'd have to look them up the next time used them anyway most likely. Tim Reeves ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR search is broken (was: \repeat with upbeat )
2008/7/9 Kieren MacMillan [EMAIL PROTECTED]: I still find it odd -- and a bit disconcerting -- that the page says (e.g.) 0-13 of 14 results... ;-) I mentioned it a while back: http://valentin.villenave.info/The-LilyPond-Report-5#outil_sommaire_3 Cheers, Valentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Markup and music side by side
Hi, I was wondering if there's a way to put a markup block, e.g., on the left side of the paper and the music on the right side of the page? I am wrestling with quite a peculiar piece that consists of snippets of music and performing instructions and I'd like to put the text next to the music. I guess it's possible in lilypond-book. However if that's the only option I'll probably use some other software to place the LP-generated systems and the text. -Risto ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changelog (was: Arbitrary changes?)
True, but I usually avoid command line stuff. I'm on Windows XP. Also, I learned a little bit by looking at the code. Not enough to do anything with it, mind you. Tim Reeves Graham Percival [EMAIL PROTECTED] 07/09/2008 12:49 PM To Tim Reeves [EMAIL PROTECTED], Han-Wen Nienhuys [EMAIL PROTECTED] cc lilypond-user@gnu.org Subject Re: changelog (was: Arbitrary changes?) Or you could have done what I suggested to Haipeng, and ran convert-ly -s --from=2.11.50 to see a list of all these changes. No looking at source code required. Cheers, - Graham On Wed, 9 Jul 2008 10:58:30 -0700 Tim Reeves [EMAIL PROTECTED] wrote: It took me a couple of minutes to scan through the source code (of convert-ly.py) as Han-Wen suggested and find the changes in 2.11.51, so as a convenience to others, here they are: \\octave changed to \\octaveCheck arpeggioUp changed to arpeggioArrowUp arpeggioDown changed to arpeggioArrowDown arpeggioNeutral changed to arpeggioNormal setTextCresc changed to crescTextCresc setTextDecresc changed to dimTextDecresc setTextDecr changed to dimTextDecr setTextDim changed to dimTextDim setHairpinCresc changed to crescHairpin setHairpinDecresc changed to dimHairpin sustainUp changed to sustainOff sustainDown changed to sustainOn sostenutoDown changed to sostenutoOn sostenutoUp changed to sostenutoOff Funny thing is, the only ones I use are the cresc and dim ones, and I don't see what was gained by those changes, but no big deal - I'd have to look them up the next time used them anyway most likely. Tim Reeves ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Custom noteheads and chords
Hello, With the help of a recent thread I have custom noteheads working just the way I want them except for one detail. I would like to have chords where each note in the chord has a different custom notehead. Here's an example. This works and each note has its own custom notehead. { \noteheadOne c \noteheadTwo d } This is a syntax error: { \noteheadOne c \noteheadTwo d 2 } This is not a syntax error but each note has noteheadTwo { \noteheadOne c2 \noteheadTwo e2 } Thanks for the help. -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: dynamic spanner help
Hi James, On Wed, Jul 9, 2008 at 9:35 AM, James E. Bailey [EMAIL PROTECTED] wrote: On Wed, Jul 9, 2008 at 8:25 AM, James E. Bailey [EMAIL PROTECTED] wrote: I've not understood this for a while, and I figure I should probably ask about it. When I have dynamics in a variable, the text spanner shows up and I can't get rid of it. Also, the \crescTextCresc and \dimTextDim work like there's a \once in front of them when they're in the variable. The Dynamic_engraver was recently split into the New_dynamic_engraver and the Dynamic_align_engraver, so if you include these engravers instead of Dynamic_engraver, both of your examples will work. Here's the latter one (modified): \version 2.11.51 \layout { \context { \type Engraver_group \name VocalDynamics \alias Voice \consists Text_engraver \consists New_dynamic_engraver \consists Dynamic_align_engraver \consists Text_engraver \override TextScript #'font-shape = #'italic } \context {\Staff \accepts VocalDynamics} } Voice = \relative { e1 f g e a g f d } VoiceDynamics = \new VocalDynamics { \override DynamicTextSpanner #'dash-period = #-1.0 \dimTextDim s1*3\ s1\! \crescTextCresc s1*3\ s1\! \setHairpinDim } AlternateDynamics = \new VocalDynamics { \dimTextDim s1 s\ s s\! s1 s\ s s\! } \score { \new Staff \VoiceDynamics \Voice \layout {} } \score { \new Staff \AlternateDynamics \Voice \layout {} } \relative c'' { \override DynamicTextSpanner #'dash-period = #-1.0 \crescTextCresc c1\ | d | b | c\! c\ d b c\! } HTH, Patrick ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR search is broken
It's not a matter even of using 0 or 1 indexing, it's the user interface that's in question. In computer software most things are 0 indexed, but reported to users as if they are counted by ones. People count, computers index. Thanks Patrick ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Custom noteheads and chords
Eric \tweak may be the command you need. Have a look at section 4.1.4 Tweaking methods in the Learning Manual for release 2.11 to see why this is needed and how to use it. The explanation there applies just as well to release 2.10. However, I believe it is not possible to use \tweak in a variable, so this might not be quite the answer you want. Trevor - Original Message - From: Eric Knapp [EMAIL PROTECTED] To: List lilypond-user lilypond-user@gnu.org Sent: Wednesday, July 09, 2008 10:27 PM Subject: Custom noteheads and chords Hello, With the help of a recent thread I have custom noteheads working just the way I want them except for one detail. I would like to have chords where each note in the chord has a different custom notehead. Here's an example. This works and each note has its own custom notehead. { \noteheadOne c \noteheadTwo d } This is a syntax error: { \noteheadOne c \noteheadTwo d 2 } This is not a syntax error but each note has noteheadTwo { \noteheadOne c2 \noteheadTwo e2 } Thanks for the help. -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: LSR search is broken
Sebastiano Vigna wrote: One-indexing is brain damaged. See EWD831: http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html Ciao, I've read it, and while interesting, it doesn't bear much on the issue. It's obfuscatory rather than explicative. I've also done the counting starting with 0, but only tongue-in-cheek--you can look around and see who the other geeks are by who's grinning instead of looking puzzled, annoyed, or angry. Counting counts how many there are, and the first one is 1. Indexing denotes a displacement into a list and starts with 0. Both are quite natural, but it doesn't make sense to say that counting should start from 0 because 0 is a more natural first index. And that's what the article says. I love Dijkstra, but after all, he is one of us geeks, so of course he would have fun whipping this out and posting it. grin;. That doesn't make counting from 0 a good communication skill:) Patrick ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: changelog
True, but I usually avoid command line stuff. I'm on Windows XP. Poor guy :-) There's nothing more powerful than a good shell and small scripts written for it. Just for fun I suggest to install, say, bash or zsh... Werner ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Special Markup Within Staff?
Hello, I'm trying to use lilypond to do the full notation of my instrument, the Chapman Stick. The one feature that I'm really struggling with are String Markers. The Chapman Stick has lots of strings, 8, 10, or 12, and its notation uses special markers on the staff lines to indicate strings. This is essentially the combination of Staff notation and Tab notation and it is called StaffTab. I have attached a small image that shows the markers. The string markers are the small rectangles above or below the notes. The marker doesn't have to be a rectangle, it could be a short thick line, too. I have tried to implement them with a new Voice with custom noteheads and no stems. This runs into some collision issues with eighth and sixteenth and the barlines. I have spent a few days working on custom noteheads and these string markers. I just can't find a way to add these to a staff. Does anyone have any ideas? Was I on the right track treating them as notes in a voice? Many thanks to the list for all your help. -Eric attachment: StringMarkers.jpg___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Markup and music side by side
Hi Risto, I was wondering if there's a way to put a markup block, e.g., on the left side of the paper and the music on the right side of the page? Don't forget that \markup can include \score (as long as that \score includes a \layout): \markup { \fill-line { \line { words go here } \score { { a b c d e } \layout {} } } } Hope this helps! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Special Markup Within Staff?
Hi Eric, I have tried to implement them with a new Voice with custom noteheads and no stems. [...] Was I on the right track treating them as notes in a voice? If they're always played at the same time -- i.e., as chords -- then why not just write them as chords, and \tweak the notehead shape of the appropriate element? Hope this helps! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: dynamic spanner help
Am 09.07.2008 um 23:34 schrieb Patrick McCarty: Hi James, On Wed, Jul 9, 2008 at 9:35 AM, James E. Bailey [EMAIL PROTECTED] wrote: On Wed, Jul 9, 2008 at 8:25 AM, James E. Bailey [EMAIL PROTECTED] wrote: I've not understood this for a while, and I figure I should probably ask about it. When I have dynamics in a variable, the text spanner shows up and I can't get rid of it. Also, the \crescTextCresc and \dimTextDim work like there's a \once in front of them when they're in the variable. The Dynamic_engraver was recently split into the New_dynamic_engraver and the Dynamic_align_engraver, so if you include these engravers instead of Dynamic_engraver, both of your examples will work. Here's the latter one (modified): HTH, Patrick Thanks tons, so, what does the Dynamic_engraver do then? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Custom noteheads and chords
Trevor Daniels t.daniels at treda.co.uk writes: Eric \tweak may be the command you need. Have a look at section 4.1.4 Tweaking methods in the Learning Manual for release 2.11 to see why this is needed and how to use it. The explanation there applies just as well to release 2.10. However, I believe it is not possible to use \tweak in a variable, so this might not be quite the answer you want. You can, however, use \tweak in a music function, can't you? Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Custom noteheads and chords
Music functions? Ah, ha! That may be the answer. I'm embarrassed to say it but I actually teach computer programming at a college and I didn't know about music functions. I think I will be using them a lot now that I have read about them. I can't believe that I haven't stumbled on them before. I will try a bunch of experiments and post my progress. -Eric (the hopeless newbie) On Wed, Jul 9, 2008 at 11:00 PM, Carl Sorensen [EMAIL PROTECTED] wrote: Trevor Daniels t.daniels at treda.co.uk writes: Eric \tweak may be the command you need. Have a look at section 4.1.4 Tweaking methods in the Learning Manual for release 2.11 to see why this is needed and how to use it. The explanation there applies just as well to release 2.10. However, I believe it is not possible to use \tweak in a variable, so this might not be quite the answer you want. You can, however, use \tweak in a music function, can't you? Carl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user