Re: issues making lilypond

2008-08-22 Thread Joe Neeman
On Sat, 2008-08-23 at 05:12 +, Kevin Sapp wrote: > Hi, > I've been having trouble making lilypond due to a very strange error. The > make > claims that a file in $[LILYPOND]/flower, called file-name.cc, has some > undeclared variables (specifically: PATH_MAX and cwd in the function 'string >

issues making lilypond

2008-08-22 Thread Kevin Sapp
Hi, I've been having trouble making lilypond due to a very strange error. The make claims that a file in $[LILYPOND]/flower, called file-name.cc, has some undeclared variables (specifically: PATH_MAX and cwd in the function 'string get_working_directory'). I would dig into this and just declare t

Changing alignment of lyrics at the beginning of a new system

2008-08-22 Thread Eduardo Vieira da Silva
Hello, list! I has been a long time since I posted to this list and since I actually coded with Lilypond. But I read the mailing list almost every day :) I like to typeset songs using this typesetting style for lyrics: syllables are left aligned when they are the beginning of a new verse of a po

Re: convert from absolute to relative

2008-08-22 Thread Eluze
That *is* a real beauty now - thanks a lot! i must confess that i never believed i would - by throwing in a vague idea - get such a fast solution! Gilles THIBAULT wrote: > > NB > If we go on with this discussion i think we have to open a new topic > because we are far from the original one ...

Re: convert from absolute to relative

2008-08-22 Thread Gilles THIBAULT
notes = { a2-"hello" b4 r b2 a-"bye" < c e g c'>1-"oho" } { \displayLilyMusic \skipMusic \notes } results in { s2-"hello" s4 s s2 s-"bye" s s s s -"oho" } note the 4 "s" where it should be s1! You 're right. So it's a bit longer that i thought : %%% sk

Re: repeat with irregular alternatives

2008-08-22 Thread fiëé visuëlle
Am 2008-08-22 um 14:22 schrieb Dmytro O. Redchuk: 2008/8/22 Ralph Palmer <[EMAIL PROTECTED]>: By the way, Dmytro and fiëé visuëlle, check the docs for 2.11 (the GDP) 1.4.1 Long repeats > manual repeat marks. Look for "multiple repeat commands", and you'll find a simple example that fits the pri

Re: live cd-with lilypond

2008-08-22 Thread Valentin Villenave
2008/8/22 Stefan Thomas <[EMAIL PROTECTED]>: > I'm searching for a live Cd with lilypond. I know, there is Musix, but it > has a very old version. And UBUNTU Studio, as far as I know, is not a live > CD, or is it? I'm afraid the best way is to build it yourself... I built a Lilypond live-CD in J

live cd-with lilypond

2008-08-22 Thread Stefan Thomas
Hi, I'm searching for a live Cd with lilypond. I know, there is Musix, but it has a very old version. And UBUNTU Studio, as far as I know, is not a live CD, or is it? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listin

Re: Lyrics independent of notes

2008-08-22 Thread Trevor Daniels
Trevor Daniels wrote Thursday, August 21, 2008 9:46 PM Andrew Hawryluk wrote Thursday, August 21, 2008 2:10 AM On Tue, Aug 19, 2008 at 4:03 AM, Valentin Villenave <[EMAIL PROTECTED]> wrote: 2008/8/12 Martin Klejch <[EMAIL PROTECTED]>: %% the "Lyrics independent of notes" example (chapter 7

Re: convert from absolute to relative

2008-08-22 Thread Yota
Johan Vromans wrote: I have a small tool (yes, me too) that transforms a section of notes from absolute into relative. Well, I worked for nothing then :) could you share the code for the absolute to relative stuff, quick quick quick :) thank yo Yota ___

Re: Using one identifier or another

2008-08-22 Thread Johan Vromans
[Quoting Gilles THIBAULT, on August 22 2008, 18:11, in "Re: Using one identi"] > Sorry i don't really understand this parser behaviour but i only > know i have to care with it ... Ah, that's something I understand... The parser compiles the first expression: aNotes = \relative c' { c1 e g } N

Re: convert from absolute to relative

2008-08-22 Thread Jonathan Kulp
Sure, I'd like to try it :) Jonathan Johan Vromans wrote: Eluze <[EMAIL PROTECTED]> writes: Talking about utilities: Has anybody ever seen one that transforms a simple voice (pitches and durations) into a "ghost voice" consisting of spacers and durations only (e.g. c2 d e ==> s2 s s). This i

Re: convert from absolute to relative

2008-08-22 Thread Johan Vromans
Eluze <[EMAIL PROTECTED]> writes: > Talking about utilities: Has anybody ever seen one that transforms a simple > voice (pitches and durations) into a "ghost voice" consisting of spacers and > durations only (e.g. c2 d e ==> s2 s s). This is very useful for writing > simultaneous voice parts wher

Re: convert from absolute to relative

2008-08-22 Thread Eluze
Gilles THIBAULT wrote: > > > In scheme, it can be quite short : > > Maybe I wasn't to clear in my formulation - you're a step ahead. I need a voice with spacers only (+durations) which I can edit and to which I attach the different attributes. I tried to use your nice little function with

Re: convert from absolute to relative

2008-08-22 Thread James E. Bailey
Am 22.08.2008 um 19:21 schrieb Gilles THIBAULT: Talking about utilities: Has anybody ever seen one that transforms a simple voice (pitches and durations) into a "ghost voice" consisting of spacers and durations only (e.g. c2 d e ==> s2 s s). In scheme, it can be quite short :

Re: convert from absolute to relative

2008-08-22 Thread Eluze
Kieren MacMillan wrote: > > > What about putting it in a custom context which doesn't have a note > engraver? > > Hope this helps! > Not really - I have no idea what you mean with a custom context: is that in Lilypond or somewhere else? I thought of using a find and replace action in a com

Re: convert from absolute to relative

2008-08-22 Thread Gilles THIBAULT
Talking about utilities: Has anybody ever seen one that transforms a simple voice (pitches and durations) into a "ghost voice" consisting of spacers and durations only (e.g. c2 d e ==> s2 s s). In scheme, it can be quite short : %%% skipMusic = #(define-

Re: convert from absolute to relative

2008-08-22 Thread Kieren MacMillan
Hi Eluze, Talking about utilities: Has anybody ever seen one that transforms a simple voice (pitches and durations) into a "ghost voice" consisting of spacers and durations only (e.g. c2 d e ==> s2 s s). What about putting it in a custom context which doesn't have a note engraver? (I'm

Re: convert from absolute to relative

2008-08-22 Thread Eluze
Neil Thornock wrote: > > The more utilities the better - we'll keep our > bases covered. > Absolutely! Talking about utilities: Has anybody ever seen one that transforms a simple voice (pitches and durations) into a "ghost voice" consisting of spacers and durations only (e.g. c2 d e ==> s2 s

Re: Using one identifier or another

2008-08-22 Thread Gilles THIBAULT
aNotes = \relative c' { c1 e g } #(define dummy #f) #(if (not (defined? 'bNotes)) (define bNotes aNotes)) \score { \bNotes } When the 'define dummy' is removed, it doesn't work anymore. The doc say it is due to "parser lookahead" : http://lilypond.org/doc/v2.11/Documentation/

Re: convert from absolute to relative

2008-08-22 Thread Neil Thornock
> Anyway - what is the benefit of transforming absolute to relative pitches? > I work much better with relative - it is much faster to input the notes and easier for me to see the line contour. At this point I rarely make octavation errors (although only after 18 months of countless mistakes!), b

Re: convert from absolute to relative

2008-08-22 Thread Eluze Weehaeli
Am 22.08.2008, 16:46 Uhr, schrieb Steve Dunlop <[EMAIL PROTECTED]>: I shall eagerly await the development of a script that will work in the reverse direction. Using \displayLilyMusic should give you the wanted absolute transformation! (while writing this answer, I just saw Mats repsonse) I

Re: convert from absolute to relative

2008-08-22 Thread Mats Bengtsson
You're lucky today. Just read at http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Displaying-LilyPond-notation#Displaying-LilyPond-notation on how to use the function \displayLilyMusic. The manual doesn't point out the fact that it gives you absolute notation, but indeed it does. /M

RE: convert from absolute to relative

2008-08-22 Thread Steve Dunlop
I shall eagerly await the development of a script that will work in the reverse direction. When I edit scores prepared by others (often in relative mode) from the Mutopia Project, I often make changes that disturb the octavation, and it's time consuming to go back and fix. Typically this happens

Re: Using one identifier or another

2008-08-22 Thread Johan Vromans
Johan Vromans <[EMAIL PROTECTED]> writes: > Dan Eble <[EMAIL PROTECTED]> writes: > aNotes = \relative c' { ... } > > %%From template: > \score { > #(if (not (defined? bNotes)) > (define bNotes aNotes)) > \bNotes > } > > The intention is clear, but LilyPond/Scheme refu

Re: convert from absolute to relative

2008-08-22 Thread Jonathan Kulp
Ok I tried it after changing italiano to nederlands in the python script (btw, you also have to change it on line 85 of lilymusic.py), and I removed the head, layout, and paper blocks. This all helps considerably. Remaining problems: 1. did not handle \clef indication--it changed "bass" to "b

Re: convert from absolute to relative

2008-08-22 Thread Yota
Jonathan > thank you for the remarks and for the samples too. Neil > I corrected this small bug, indeed the script didn't care of the options you fed it with. And if you prefer nederlands default output, just change in lilymusic.py line 38 lily_out_style = "italiano" into lily_out_style = "ned

Error (?..) in documentation -- NR, music functions

2008-08-22 Thread Dmytro O. Redchuk
NR, 6.1.1 : probably, replace every "arg" with "var" (or otherwise): -- 6.1.1 Overview of music functions Making a function which substitutes a variable into LilyPond code is easy. The general form of these functions is function = #

Re: convert from absolute to relative

2008-08-22 Thread Carl Sorensen
Jonathan Kulp gmail.com> writes: > Here's the > format I tried: > > cat file.ly | python lilymusic.py --out_style="nederlands" > file-new.ly > Here's a slightly easier (IMO) method of invoking this routine: python lilymusic.py --out_style="nederlands" < file.ly > file-new.ly Instead of usi

Re: repeat with irregular alternatives

2008-08-22 Thread Dmytro O. Redchuk
2008/8/22 Ralph Palmer <[EMAIL PROTECTED]>: > By the way, Dmytro and fiëé visuëlle, check the docs for 2.11 (the > GDP) 1.4.1 Long repeats > manual repeat marks. Look for "multiple > repeat commands", and you'll find a simple example that fits the > printed output: Yes, but in initial post there wa

Bug? Vertical spacing algorithm changed? (lyrics move notes)

2008-08-22 Thread Risto Vääräniemi
Hi, I just compiled a piece of music that I created earlier this summer and I noticed that if I modify the minimum-Y-extent the lyric text sometimes moves the following notes. I wonder if this is a deliberate change or a bug? The behaviour changed between 2.11.52 and 2.11.53. I have attached two

Re: repeat with irregular alternatives

2008-08-22 Thread Ralph Palmer
By the way, Dmytro and fiëé visuëlle, check the docs for 2.11 (the GDP) 1.4.1 Long repeats > manual repeat marks. Look for "multiple repeat commands", and you'll find a simple example that fits the printed output: f4 g a b \set Score.repeatCommands = #'((volta "2, 5") end-repeat) g4 a g a c1 \set