using Ramdisk

2009-01-04 Thread Thomas Fehr

Hi

I'd like to use Lilypond in an interactive music learning program where 
short response times are needed.  I think running Lilypond on a ramdisk 
could help. Does anyone know how to do that?


- Thomas


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lyrics above bars

2009-01-04 Thread Antanas Budriūnas
Hello,

2009/1/3 Hasi 

> The subject titel says it:
> Can I put lyrics above the bars/notes instead of underneath?


Easily.

1. Goto LilyPond documentation page - http://lilypond.org/web/documentation/;
2. Click 'Lilypond Snippet Repository (LSR)';
3. In the search box enter 'lyrics above', click [search];
4. Click on first snippet image and read (another approach - the second
snippet).


Antanas Budriūnas
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: stems up?

2009-01-04 Thread Trevor Daniels


Ivo Bouwmans wrote Saturday, January 03, 2009 11:54 PM

(It is strange, though, that in my original version (see below) the 
stemUp did not force the stem upwards.)


Not really, since the code below also has a \stemDown at
the same musical moment in the same Voice.  Only one of 
these can be effective.  Which of them takes precedence 
is not clearly defined, although usually it is the last

one encountered.  Here \stemDown wins.

Introducing a second voice allows both \stemUp and \stemDown
to work separately on the notes assigned to the two 
respective Voices.



=== wrong version:

{
  << { \voiceOne e''2. } { \voiceTwo a'2~a'8[ b'] } >>
  << { \stemUp e''2.\fermata } { \stemDown b'2.\fermata } >>
}




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: First Frog Task

2009-01-04 Thread John Mandereau
Hi Carl,
Le vendredi 02 janvier 2009 à 20:16 -0700, Carl D. Sorensen a écrit :
> I've attached a file README-contrib.txt, which is an attempt at what one of
> you described as "Frogging for Dummies".  It gives at least a brief
> introduction to the key issues that I remember as obstacles when I got
> started with LilyPond development.

This is an excellent introduction!  I only have one remark: the sentence

"There is no one-page listing of the entire file tree, and
there's no table of contents or index for the location of the various
files."

is misleading IMO: there are about 3000 source files, so any one-page
listing of the entire file tree would not be very usable, and ROADMAP
lists what you should expect to find in each directory.  I suggest you
replace the sentence above with something like

"Any one-page listing of the entire file tree would not be very usable,
as the tree contains about 3000 source files; however, "

You could argue that most entries in ROADMAD could be elaborated with
more explanations.


> When you're done with this task, each function for which you are responsible
> should have an internationalizable docstring.  By internationalizable, I
> mean that it will look like (_i "This is the docstring."), rather than "This
> is the docstring."  Because we are adding internationalizable docstrings,
> you'll need to check even the functions that have docstrings.

We'll probably have to replace _i with something like _doc to make sure
the strings go to lilypond-doc gettext domain and not lilypond, but this
can wait until the Frogs have completed documentation of all functions.

Cheers,
John



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: First Frog Task

2009-01-04 Thread Nicolas Sceaux

Le 4 janv. 09 à 15:15, John Mandereau a écrit :

When you're done with this task, each function for which you are  
responsible
should have an internationalizable docstring.  By  
internationalizable, I
mean that it will look like (_i "This is the docstring."), rather  
than "This
is the docstring."  Because we are adding internationalizable  
docstrings,

you'll need to check even the functions that have docstrings.


We'll probably have to replace _i with something like _doc to make  
sure
the strings go to lilypond-doc gettext domain and not lilypond, but  
this
can wait until the Frogs have completed documentation of all  
functions.


Remember to update the definition of the define-music-function macro (in
scm/music-functions.scm) when you change _i with _doc.

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Key signature change with naturals before bar line.

2009-01-04 Thread Lasse Rempe
This question concerns changing the key signature e.g. from a major to a 
flat major. Lilypond standard behavior seems to be printing the natural 
signs and the flat signs both after the bar line, but I have also come 
across the natural signss being noted _before_ the bar line, and the new 
key signature applied _after_ the bar line, see the attached image. 
(Whether this is sensible is another question.) How would I obtain this 
behavior in Lilypond?


I apologize if this is already documented somewhere; a quick search did 
not seem to reveal a solution.


Many thanks,

Lasse
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


[no subject]

2009-01-04 Thread fa070232
How to make an easy installation on vista ? I have very little it background.

Best regards 

Edmond.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fragment with broken/torn/shredded staff lines

2009-01-04 Thread MonAmiPierrot



Arne Peters wrote:
> 
> 
> 
> Why not take the .ps-file generated by Lilypond, and use Ghostview to
> convert it to an imagefile. This then can be further manipulated with
> GIMP/Photoshop etc before importing in the textfile.
> This may not be the most elegant way to do it but should work.
> 
> 

No, I'm looking for something directly in the Lilypond code: too many
excerpts to do it manually!!!

-
Piero Faustini, PhD student
Dipartimento di Scienze Storiche
Sezione musicologia
Università di Ferrara 

Software used:
- LyX 1.6.1 on WinXP; EndNote & JabRef
- MikTex
- LaTeX class: Koma book
- Lilypond and MusixTeX for example excerpts
- BibLaTeX for bibliographies 


-- 
View this message in context: 
http://www.nabble.com/Fragment-with-broken-torn-shredded-staff-lines-tp21220482p21275945.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: Multi-stave TextSpanner line

2009-01-04 Thread Neil Puttock
Hi Nick,

2009/1/4 Nick Payne :
> I have a TextSpanner where I draw a small vertical line at the end of the
> TextSpanner line. Where the line continues for more than one stave, The
> small vertical line is being drawn at the end of each stave. I'd prefer that
> it only get drawn where the spanner line actually ends. Can this be done? I
> haven't found the command to achieve it. This is the music function as I
> have it at the moment. I have a very similar function for showing barres
> (only difference being that the line is solid), and I have the same problem
> there.

Have a look at this post:
http://lists.gnu.org/archive/html/lilypond-user/2008-09/msg00635.html

Regards,
Neil


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: a "floating" markup with many \score blocks in it

2009-01-04 Thread James E. Bailey


Am 04.01.2009 um 15:43 schrieb Francois Planiol:


Hello!

I need for a kind of Summary of "Different way to harmonize a  
melodie" a
command of markup, I suppose. If it does exist, i dont find it or  
how and be

very pleased for having help

My idea would be something like

\markup \floating { % to wrap the scores ...
\score { ... } % T-S-D
\score { ... } % Cantional
\score { ... } % With secondary dominant
\score { ... } % 5-Voices
\score { ... } % melody in bass
\score { ... } % melody in alt with figured descant
\score { ... } % chromatic bass
\score { ... } % mixture-sounds
\score { ... } % Messiaen-mode-2
\score { ... } % polytonal
}

... which would fill (f.e.) a page (or more or less, and of course on
different pages if required) with the snippets, beginning up left  
on the
page, going forward line by line to right down for the last  
fragment. And of

course with the layout according to the length of the fragment. (some
examples may be 4-5 measures length, other 3-4 notes)

I suppose the decision of ragged-last-bottom to be defined in the  
paper-block.


So the result layout f.e.

T-S-D - Cantional - With secondary dominant
5-Voices - - - - - - - - - melody in bass - - - - - - -
melody in alt  - - - - - with figured descant - - -
chromatic bass - - - - - - mixture-sounds - - - - -
Messiaen-mode-2 - - - polytonal - - - - - - - - - - -

Thanks in advance from


I don't know if I completely understand what you want, but maybe  
\markuplines, or more specifically \wordwrap-lines will do what  
you're looking for?


version "2.11.65"

music = \relative c' { c d e f }
\markuplines \wordwrap-lines {
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
   \score { \music \layout {} }
}



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re:

2009-01-04 Thread James E. Bailey


Am 04.01.2009 um 11:11 schrieb fa070232:

How to make an easy installation on vista ? I have very little it  
background.


Best regards

Edmond.


I don't have any experience with windows vista, but the lilypond wiki  
may help

http://lilypondwiki.tuxfamily.org/index.php?title=Where_is_the_app%3F___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Harmonic question

2009-01-04 Thread John Mandereau
Le dimanche 04 janvier 2009 à 14:50 +, Trevor Daniels a écrit :
> I've now added a ref to Harmonics in References for for fretted strings in
> NR 2.4.1.

I guess you mean 328df0d0d386fb553062680fd3c5be6d47548218 "Docs: NR 2.4
Fretted: Add ref to Harmonics" (tagged as 2.12.1-1)?


>   Do you think this is adequate?

It certainly is, but I'm not sure people who read "Default tablatures"
node will have the idea to find this link there.  I was rather thinking
of a link directly in running text and "See also".

Cheers,
John



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re:

2009-01-04 Thread Jonathan Kulp

James E. Bailey wrote:


Am 04.01.2009 um 11:11 schrieb fa070232:

How to make an easy installation on vista ? I have very little it 
background.


Best regards

Edmond.


I don't have any experience with windows vista, but the lilypond wiki 
may help

http://lilypondwiki.tuxfamily.org/index.php?title=Where_is_the_app%3F




The Windows .exe file available at the Lilypond website works perfectly 
with Vista:


http://lilypond.org/web/install/

Jon
--
Jonathan Kulp
http://www.jonathankulp.com


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fragment with broken/torn/shredded staff lines

2009-01-04 Thread MonAmiPierrot



Mark Polesky wrote:
> 
> I've cooked up a way of "tearing" the right side of
> the staff, which you can take a look at. 
> ...
> Otherwise, is this about what you're looking for?
> 
> 

Thanks Mark, good job but I was looking for something different:
I don't want to "draw" anything, just have my staff end without a vertical
line (this is already achieved if I don't end the measure) but also without
a vertical end.

 e.g. (I'm drawing the far right end of the staff with the "_" character):


Not like this (vertical, the default given staff end):

__
__
__
__
__


But like THIS (irregular):

__

___
___
_

(even better if with random lengths for using in multiple staves systems)

or, if too difficoult, like this (diagonal):


___
__
_



Anyway, your example didn't work nice for me, I had to adjust properties
like this,:

rightTearWidth = #-1 
rightTearHeight = #4 
rightTearLineWidth = #0.1 
rightTearSerrations = #4 
rightTearPadding = #-1 

(I think it was what you tried to achieve in your example)
Thanks again Mark, I'll use your tip, but still hoping to find out my way!

Piero



-
Piero Faustini, PhD student
Dipartimento di Scienze Storiche
Sezione musicologia
Università di Ferrara 

Software used:
- LyX 1.6.1 on WinXP; EndNote & JabRef
- MikTex
- LaTeX class: Koma book
- Lilypond and MusixTeX for example excerpts
- BibLaTeX for bibliographies 


-- 
View this message in context: 
http://www.nabble.com/Fragment-with-broken-torn-shredded-staff-lines-tp21220482p21275863.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: Fragment with broken/torn/shredded staff lines

2009-01-04 Thread Mark Polesky
Piero,

This should be closer to what you want, but I need to emphasize that
it's not finished yet. It *is* possible to randomize the staff-line
tear-lengths; hopefully I'll have time to work on that a little 
later. But I figured I'd send off what I have so far. For now, only
the top 2 variables are modifiable:

rightTearWidth = #2
rightTearList = #'(1 3 2 2 0)

Hope this helps!
- Mark

_


\version "2.12.0"

rightTearWidth = #2
rightTearList = #'(1 3 2 2 0) % (any 5 numbers from 0-4)

rTW = #rightTearWidth
qRTW = #(/ rTW 4)
rTL = #rightTearList
rTyE = #'(1.5 . 2.5)

rightTear = {
  \once \override Staff.BarLine #'stencil = #ly:text-interface::print
  \once \override Staff.BarLine #'text = \markup 
\override #'(baseline-skip . 0) \with-color #white
\column {
  \filled-box #`(,(* (list-ref rTL 0) qRTW) . ,rTW) \rTyE #0
  \filled-box #`(,(* (list-ref rTL 1) qRTW) . ,rTW) \rTyE #0
  \filled-box #`(,(* (list-ref rTL 2) qRTW) . ,rTW) \rTyE #0
  \filled-box #`(,(* (list-ref rTL 3) qRTW) . ,rTW) \rTyE #0
  \filled-box #`(,(* (list-ref rTL 4) qRTW) . ,rTW) \rTyE #0
}
  \once \override Staff.BarLine #'X-extent = #`(0 . ,(- rTW 0.1))
  \break
}

\score {
  \relative {
\repeat unfold 4 { g'4 d' b d } \break \rightTear
\repeat unfold 4 { g,4 d' b d } \break \rightTear
  }
  \layout {
ragged-right = ##t
  }
}


  


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Missing petrucci-f clef (and other missing clefs)

2009-01-04 Thread Neil Puttock
Hi Stefan,

2009/1/3 Stefan Waler :
> Hi,
>
> lilypond provides one petrucci style f clef (called "petrucci-f").

It's not documented yet, but petrucci-f3 is also available.

You can also use petrucci-f4, but that's identical to petrucci-f.

It would be straightforward to add any other variants, assuming
there's no need for changes to the glyph.

Regards,
Neil


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Staccato in brackets

2009-01-04 Thread Hasi
I need to make staccato signs in brackets. Does anyone know how?



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: using Ramdisk

2009-01-04 Thread Anthony W. Youngman
In message <4960746d.2040...@floetenbau.ch>, Thomas Fehr 
 writes

Hi

I'd like to use Lilypond in an interactive music learning program where 
short response times are needed.  I think running Lilypond on a ramdisk 
could help. Does anyone know how to do that?



Which OS.

If you're running linux, read up on tmpfs (and/or unionfs).

Basically, you'll need to set all your lilypond stuff up in one 
directory. Then (if you're using tmpfs) copy that stuff into your tmpfs 
mount and run it from there.


If you use unionfs (which I don't actually know anything about) you may 
be able to declare that as ram and just mount it over your lily 
directory.


The difference between the two is that tmpfs simply creates a 
file-system in ram (masking the directory it's mounted over, hence you 
having to copy the lily stuff into that directory), while unionfs will 
create a "see through" filesystem over the mountpoint - any writes will 
go to the unionfs, while any reads, if they can't be found in the 
unionfs will look in the directory under the mount. So if you can mount 
the unionfs in ram, that's probably your best bet.


Cheers,
Wol
--
Anthony W. Youngman - anth...@thewolery.demon.co.uk



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


frescobaldi automatic indentation

2009-01-04 Thread Martin Tarenskeen
Hi,

I have frescobaldi now running nicely on my Fedora 10 desktop.
I think frescobaldi is brilliant! Just what I was looking for. 

I have two questions left: Should indentation work automatically?
On my system it doesn't. When I go to the tools->indentation->lilypond 
menu, I see it is grayed out. Something missing on my system ?

My second question is a feature request. (Or maybe it is a feature I 
haven't found yet ?)  : It would be nice to have midi-playback 
intergrated in Frescobaldi for test-hearing. Or an easy way to call a 
softsynth-midi-player like for example fluidsynth or timidity.

Frescobaldi is close to perfect, thank you !

-- 


Martin Tarenskeen


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Harmonic question

2009-01-04 Thread Trevor Daniels

John

I've now added a ref to Harmonics in References for for fretted strings in
NR 2.4.1.  Do you think this is adequate?

Trevor

- Original Message - 
From: "Trevor Daniels" 

To: "John Mandereau" 
Cc: 
Sent: Monday, December 29, 2008 11:23 PM
Subject: Re: Harmonic question




John Mandereau wrote Monday, December 29, 2008 11:01 PM



Le lundi 29 décembre 2008 à 22:53 +, Trevor Daniels a écrit :
Yes.  The warning under Harmonics in 2.3.1 in the Notation Reference 
says:


"Note: Harmonics must be defined inside a chord construct even if there 
is

only a single note."


Should we add copy this warning into "Common notation for fretted
strings" or add there a "See also" reference to 2.3.1?


Good point.  I'll add a pointer for harmonics to the "References for 
fretted

strings section


I know about the "no duplicate information" rule but I feel like a "See
also" might not be enough.


I think a clear annotated reference for harmonics will be adequate.


John


Trevor



___
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


Adding lyrics to a "piano" score.

2009-01-04 Thread Alberto Simões
Hello.

I have a Piano score (three voices) organized in the following way:

upperA = { ... melody ... }
upperB = { ... melody ... }
upper = { ... << \upperA \\ \upperB >> }
lower = { ... melody ... }

and

\score {
  <<
\new PianoStaff <<
  \new Staff = "upper" \upper
  \new Staff = "lower" \lower
>>
  >>
...
}

Now, I added a variable named "song":

song = \lyricmode { Song to be re- ad. }

But I can't find a suitable way to associate this lyrics to the upperA
melody (and if possible above the staff).

Can anybody give me a hint?

TIA,
Alberto

-- 
Alberto Simões - Departamento de Informática - Universidade do Minho
 Campus de Gualtar - 4710-057 Braga - Portugal


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Staccato in brackets

2009-01-04 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Sonntag, 4. Januar 2009 18:56:46 schrieb Hasi:
> I need to make staccato signs in brackets. Does anyone know how?

Yes, the documentation knows a lot ;-) It even has this very example 
with parenthesized staccato-dots:
http://kainhofer.com/~lilypond/Documentation/user/lilypond/Inside-the-staff.html#Parentheses

Cheers,
Reinhold
- -- 
- --
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJYPzGTqjEwhXvPN0RAn62AKDGDq9Le9xk0LF1cxqfU6Ar8kNjdwCfUvnQ
/44OIfdFGbI/g8xNtx4YJoM=
=8u45
-END PGP SIGNATURE-


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


a "floating" markup with many \score blocks in it

2009-01-04 Thread Francois Planiol
Hello!

I need for a kind of Summary of "Different way to harmonize a melodie" a 
command of markup, I suppose. If it does exist, i dont find it or how and be 
very pleased for having help

My idea would be something like

\markup \floating { % to wrap the scores ...
\score { ... } % T-S-D
\score { ... } % Cantional
\score { ... } % With secondary dominant
\score { ... } % 5-Voices
\score { ... } % melody in bass
\score { ... } % melody in alt with figured descant
\score { ... } % chromatic bass
\score { ... } % mixture-sounds
\score { ... } % Messiaen-mode-2
\score { ... } % polytonal
}

... which would fill (f.e.) a page (or more or less, and of course on 
different pages if required) with the snippets, beginning up left on the 
page, going forward line by line to right down for the last fragment. And of 
course with the layout according to the length of the fragment. (some 
examples may be 4-5 measures length, other 3-4 notes)

I suppose the decision of ragged-last-bottom to be defined in the paper-block.

So the result layout f.e.

T-S-D - Cantional - With secondary dominant
5-Voices - - - - - - - - - melody in bass - - - - - - -
melody in alt  - - - - - with figured descant - - -
chromatic bass - - - - - - mixture-sounds - - - - -
Messiaen-mode-2 - - - polytonal - - - - - - - - - - -

Thanks in advance from

Francois Planiol


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: using Ramdisk

2009-01-04 Thread Martin Tarenskeen
On Sun, Jan 04, 2009 at 10:58:13AM +, Anthony W. Youngman wrote:
> In message <4960746d.2040...@floetenbau.ch>, Thomas Fehr  
>  writes
>> Hi
>>
>> I'd like to use Lilypond in an interactive music learning program where 
>> short response times are needed.  I think running Lilypond on a ramdisk 
>> could help. Does anyone know how to do that?
>>

I don't know if you need all the power Lilypond offers for your program. 
If not, you might want to give abcm2ps ( http://moinejf.free.fr ) a try. 
It is not as powerful as lilypond, but much faster. It might even be 
fast enough for your purpose without needing to set up a ramdisk. But if 
you really want to use a ramdisk: abcm2ps is much easier to install - it 
is just one simple binary that you can copy to your ramdisk and it will 
be ready to use. It does not have the complex modular design that makes 
Lilypond more difficult to install by hand.

Martin Tarenskeen



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Key signature change with naturals before bar line.

2009-01-04 Thread Antanas Budriūnas
2009/1/4 Lasse Rempe 
>
> This question concerns changing the key signature e.g. from a major to a flat 
> major. Lilypond standard behavior seems to be printing the natural signs and 
> the flat signs both after the bar line, but I have also come across the 
> natural signss being noted _before_ the bar line, and the new key signature 
> applied _after_ the bar line, see the attached image. (Whether this is 
> sensible is another question.) How would I obtain this behavior in Lilypond?
>
> I apologize if this is already documented somewhere; a quick search did not 
> seem to reveal a solution.
>

Search list archive for - Naturals' position when key changes - about
10 days ago.

Antanas Budriūnas
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Umlaute

2009-01-04 Thread Hasi
Do any of you know how I can use Umlaute?
I'd like to do the following:

_\markup { \italic hartnäckig }

it just comes out as "hartnckig"



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Missing petrucci-f clef (and other missing clefs)

2009-01-04 Thread Stefan Waler

Neil Puttock wrote:


It's not documented yet, but petrucci-f3 is also available.



I should have tried :-)


It would be straightforward to add any other variants, assuming
there's no need for changes to the glyph.



Great! Could you add petrucci-f5 at the next opportunity?

Thanks,

Stefan



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: KDE and platforms

2009-01-04 Thread Wilbert Berendsen
Op zaterdag 3 januari 2009, schreef 胡海鹏 Hu Haipeng:
>   I'm about to download Frescobaldi, but I don't know whether Kde is for
> all platforms or Linux only. I want to speed up my structure construction
> (to say, a large orchestral score's stave structure--Orchestrallily has
> many limitations), but LilyPondTool uses Java, which can't be accessed by
> my screen reader and braille display. Could someone tell me?

KDE4 should  be (or is already) available for Windows, but I have only tested 
Frescobaldi on Linux. Frescobaldi is written in Python and heavily uses much 
KDE functionality (including the text editor and PDF viewer component).

When KDE4 becomes easily available on Windows, it should not be difficult to 
get Frescobaldi up and running in Windows.

best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Frescobaldi on Fedora

2009-01-04 Thread Wilbert Berendsen
Op zaterdag 3 januari 2009, schreef Martin Tarenskeen:
> Building and installing went OK. I can see the Frescobaldi message
> windows and edit a lilypond file. But PDF preview fails: "Could not load
> okularpart". What is "okularpart" ? It seems that I don't have it ? What
> am I missing ?

Thats the PDF viewer of KDE. Install Okular and it should work.


best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: frescobaldi automatic indentation

2009-01-04 Thread Wilbert Berendsen
Op zondag 4 januari 2009, schreef Martin Tarenskeen:
> I have two questions left: Should indentation work automatically?
> On my system it doesn't. When I go to the tools->indentation->lilypond
> menu, I see it is grayed out. Something missing on my system ?

Yes: I'm sorry I didn't notice earlier: You should update the syntax 
highlighting of LilyPond. Go inside Frescobaldi (or KWrite or Kate) to 
Settings/Editor/Save and Load/File types/ and click Download Highlighting 
definitions. Update the LilyPond syntaxis highlighting to 3.01. Then the 
LilyPond indenter should not be grayed out anymore.

If you always want the LilyPond indenter, select in the same settings dialog 
the filetype: Other/LilyPond and place the exact following text in the text 
entry "Variables:" :

kate: indent-mode lilypond;

You can also place a comment line like:
% kate: indent-mode lilypond;
in the lilypond file.

best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Umlaute

2009-01-04 Thread Antanas Budriūnas
2009/1/4 Hasi :
> Do any of you know how I can use Umlaute?
> I'd like to do the following:
>
> _\markup { \italic hartnäckig }
>
> it just comes out as "hartnckig"

On Linux with java version "1.6.0_07", jEdit, LilyPond 2.12.1 and
LilypondTool 2.11-r1 there is no problem – Umlaut in place.

It depends on the system software, the editor, the font in use,
Lilypond version etc.
Next time please add information about your OS, editor, Lilypond
version. It could help to track a problem.
General advice: get latest version of all software.

Antanas Budriūnas
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Harmonic question

2009-01-04 Thread Graham Percival
On Sun, Jan 04, 2009 at 04:43:55PM +0100, John Mandereau wrote:
> Le dimanche 04 janvier 2009 à 14:50 +, Trevor Daniels a écrit :
> > I've now added a ref to Harmonics in References for for fretted strings in
> > NR 2.4.1.
> >
> >   Do you think this is adequate?
> 
> It certainly is, but I'm not sure people who read "Default tablatures"
> node will have the idea to find this link there.  I was rather thinking
> of a link directly in running text and "See also".

No; references is the correct place.  If people skip over the
references to previous docs, then it's their own fault.  We simply
/cannot/ add links to everything in all places in the docs; the
best we can do is have a consistent format/policy and stick to it.
Even if the policy doesn't make sense to everybody at first, if
it's used consistently they'll get accustomed to it.

Cheers,
- Graham


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Umlaute

2009-01-04 Thread Arjan Bos


On 4 jan 2009, at 19:31, Hasi wrote:


Do any of you know how I can use Umlaute?
I'd like to do the following:

_\markup { \italic hartnäckig }

it just comes out as "hartnckig"


Hasi,

Please save the file with UTF-8 encoding. Most editors offer this  
option on the save (as) menu.
If you need more help, please inform us of your OS, editor and  
lilypond version.


HTH,
Arjan

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Umlaute

2009-01-04 Thread Ole Schmidt

doesn't it have to do with the encoding which should be UTF-8 ?

ole



Am 04.01.2009 um 20:15 schrieb Antanas Budriūnas:


2009/1/4 Hasi :

Do any of you know how I can use Umlaute?
I'd like to do the following:

_\markup { \italic hartnäckig }

it just comes out as "hartnckig"


On Linux with java version "1.6.0_07", jEdit, LilyPond 2.12.1 and
LilypondTool 2.11-r1 there is no problem – Umlaut in place.

It depends on the system software, the editor, the font in use,
Lilypond version etc.
Next time please add information about your OS, editor, Lilypond
version. It could help to track a problem.
General advice: get latest version of all software.

Antanas Budriūnas
___
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: [ANN] Frescobaldi 0.7 released, a new LilyPond music editor

2009-01-04 Thread Wilbert Berendsen
Op donderdag 1 januari 2009, schreef Wilbert Berendsen:
> Op woensdag 31 december 2008, schreef Grammostola Rosea:
> > Is there also a possibility to play midi in a quick way? Like it was
> > possible in lilykde in the log?
> Will be added Very Soon Now (TM).

It is added now in SVN. Install Subversion if not already there and:

svn co http://lilykde.googlecode.com/svn/trunk/frescobaldi
cd frescobaldi
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$(kde4-config --exec-prefix)
make
sudo make install # or: su -c "make install"

please try: open in Frescobaldi a file with a \midi {} line inside \score { } 
block, click the Run LilyPond button and watch the log. There is also a menu 
entry LilyPond->Generated Files that has useful actions on the updated files 
(PDF, MIDI).

best regards,
Wilbert Berendsen

-- 
Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Adding lyrics to a "piano" score.

2009-01-04 Thread Tao Cumplido
Hi,

you can define a named voice context here:
upper = { << \new Voice = "melody" \upperA \\ \upper B >> }

for whatever reason the \voiceOne property gets lost though, so you have to 
assign it explicitly to upperA like this:
upperA = { \voiceOne ..music.. }

to place the lyrics above the staff you have to define the lyrics in score 
block after the PianoStaff like this:

\new Lyrics \with { alignAboveContext = "upper" }
{
   \lyricsto "melody"
   \song
}

the alignAboveContext hast to be a named Staff in this case because lyrics are 
attached to a Staff.

I hope it's clear.

Regards,

Tao

 Original-Nachricht 
> Datum: Sun, 04 Jan 2009 18:08:47 +
> Von: "Alberto Simões" 
> An: lilypond 
> Betreff: Adding lyrics to a "piano" score.

> Hello.
> 
> I have a Piano score (three voices) organized in the following way:
> 
> upperA = { ... melody ... }
> upperB = { ... melody ... }
> upper = { ... << \upperA \\ \upperB >> }
> lower = { ... melody ... }
> 
> and
> 
> \score {
>   <<
> \new PianoStaff <<
>   \new Staff = "upper" \upper
>   \new Staff = "lower" \lower
> >>
>   >>
> ...
> }
> 
> Now, I added a variable named "song":
> 
> song = \lyricmode { Song to be re- ad. }
> 
> But I can't find a suitable way to associate this lyrics to the upperA
> melody (and if possible above the staff).
> 
> Can anybody give me a hint?
> 
> TIA,
> Alberto
> 
> -- 
> Alberto Simões - Departamento de Informática - Universidade do Minho
>  Campus de Gualtar - 4710-057 Braga - Portugal
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Adding lyrics to a "piano" score.

2009-01-04 Thread Alberto Simões
Hello, Tao

Tao Cumplido wrote:
> you can define a named voice context here:
> upper = { << \new Voice = "melody" \upperA \\ \upper B >> }
> 
> for whatever reason the \voiceOne property gets lost though, so you have to 
> assign it explicitly to upperA like this:
> upperA = { \voiceOne ..music.. }
> 
> to place the lyrics above the staff you have to define the lyrics in score 
> block after the PianoStaff like this:
> 
> \new Lyrics \with { alignAboveContext = "upper" }
> {
>\lyricsto "melody"
>\song
> }
> 
> the alignAboveContext hast to be a named Staff in this case because lyrics 
> are attached to a Staff.
> 
> I hope it's clear.

Well, I am not yet sure how it works, but it works!!

Thank you :)
My best regards,
Alberto

> 
> Regards,
> 
> Tao
> 
>  Original-Nachricht 
>> Datum: Sun, 04 Jan 2009 18:08:47 +
>> Von: "Alberto Simões" 
>> An: lilypond 
>> Betreff: Adding lyrics to a "piano" score.
> 
>> Hello.
>>
>> I have a Piano score (three voices) organized in the following way:
>>
>> upperA = { ... melody ... }
>> upperB = { ... melody ... }
>> upper = { ... << \upperA \\ \upperB >> }
>> lower = { ... melody ... }
>>
>> and
>>
>> \score {
>>   <<
>> \new PianoStaff <<
>>   \new Staff = "upper" \upper
>>   \new Staff = "lower" \lower
>> >>
>>   >>
>> ...
>> }
>>
>> Now, I added a variable named "song":
>>
>> song = \lyricmode { Song to be re- ad. }
>>
>> But I can't find a suitable way to associate this lyrics to the upperA
>> melody (and if possible above the staff).
>>
>> Can anybody give me a hint?
>>
>> TIA,
>> Alberto
>>
>> -- 
>> Alberto Simões - Departamento de Informática - Universidade do Minho
>>  Campus de Gualtar - 4710-057 Braga - Portugal
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 

-- 
Alberto Simões - Departamento de Informática - Universidade do Minho
 Campus de Gualtar - 4710-057 Braga - Portugal


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fragment with broken/torn/shredded staff lines

2009-01-04 Thread MonAmiPierrot



Mark Polesky wrote:
> 
> This should be closer to what you want, but I need to emphasize that
> it's not finished yet. It *is* possible to randomize the staff-line
> tear-lengths; 
> 

Mark,
That's GREAT!!! Exactly what I need!!!
The randomization is not important, it's just that when we have many staves
with the exact same "broken" end, it's not so elegant, but I repeat it: this
is a small detail.
Nicer would be to obtain the same thing in the left side, but this, as you
can imagine, is not as simple to use in a "nice" way: you can't (of course)
let a clef (or metro mark) stay just at the beginning of a "broken" staff,
but you can't  just get rid of it! At least you have to put a clef in
"parenthesis" or in a previous separate broken fragment, as produced with
your code with this:

\score {
\relative {
s1 \rightTear
}

BUT - as it is, it's very good. 
Thanks a lot
Piero


-
Piero Faustini, PhD student
Dipartimento di Scienze Storiche
Sezione musicologia
Università di Ferrara 

Software used:
- LyX 1.6.1 on WinXP; EndNote & JabRef
- MikTex
- LaTeX class: Koma book
- Lilypond and MusixTeX for example excerpts
- BibLaTeX for bibliographies 


-- 
View this message in context: 
http://www.nabble.com/Fragment-with-broken-torn-shredded-staff-lines-tp21220482p21280494.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


How to not display string numbers in chords

2009-01-04 Thread Grateful Frog
Hello again!

I'm once again posting with a newbie question.

I'm trying to make a score with both music and tab staffs, as well as chord
names a fret diagrams. But NOT string numbers in circles.

Can anyone suggest the proper thing to set? Is it an override?

My Score section looks like this:
\score {
  <<
\new ChordNames {
  \mychords
}
\new FretBoards {
  \mychords
}
\new Staff  {
  \myTempo
  \myKey
  \override Staff.TimeSignature #'style = #'()
  \myTime
  \mynotes
}
\new TabStaff  {
  \override Staff.TimeSignature #'style = #'()
  \myTime
  \stemDown
  \override Beam #'damping = #+inf.0
  \mytabs
}
  >>

Thanks for any help!
Cheers,
GF

-- 
50°48'39.85"N  4°25'20.29"E
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Harmonic question

2009-01-04 Thread John Mandereau
Le dimanche 04 janvier 2009 à 11:19 -0800, Graham Percival a écrit :
> No; references is the correct place.  If people skip over the
> references to previous docs, then it's their own fault.  We simply
> /cannot/ add links to everything in all places in the docs; the
> best we can do is have a consistent format/policy and stick to it.
> Even if the policy doesn't make sense to everybody at first, if
> it's used consistently they'll get accustomed to it.

Thanks, my memory wasn't up to date with the policies, I'll reread them.

Best,
John



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Missing petrucci-f clef (and other missing clefs)

2009-01-04 Thread Michael Lauer
Stefan Waler  waler.at> writes:

> 
> Great! Could you add petrucci-f5 at the next opportunity?
> 
> Thanks,
> 
> Stefan
> 

You can do it yourself, by putting this line in your .ly file:

#(append! supported-clefs '(("petrucci-f5" . ("clefs.petrucci.f" 4 0

I don't think the glyph is really quite right, though; it looks
balanced for f-4. But I don't know what Petrucci actually used.

Michael







___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fragment with broken/torn/shredded staff lines

2009-01-04 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Sonntag, 4. Januar 2009 18:13:04 schrieb Mark Polesky:
> This should be closer to what you want, but I need to emphasize that
> it's not finished yet. It *is* possible to randomize the staff-line
> tear-lengths; hopefully I'll have time to work on that a little
> later.

Cool, both your versions (those with the zig-zag line and this one) look 
absolutely fantastic! Can you plase add both of them to the LSR so they will 
be preserved for future users, too?

Cheers,
Reinhold

- -- 
- --
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJYRoNTqjEwhXvPN0RAuYbAKDeOTIV3FXWuQx8D709WhAsqz78tQCfX2AR
JkSSwaz8QfXO87PL9ZPKlTE=
=HtbS
-END PGP SIGNATURE-


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rearrange music flow

2009-01-04 Thread Antanas Budriūnas
2009/1/3 Carl D. Sorensen :
> Antanas,
>
>
> On 1/3/09 9:21 AM, "Antanas Budri?nas"  wrote:
>
>>
>>> parallelStaffs = #(define-music-function (parser location firstStaff
>>> firstLyrics
>>> secondStaff secondLyrics)
>>>   (ly:music? ly:xxx? ly:music? ly:xxx?)
>>> #{ <<
>>>  \context Staff = "StaffOne"  {
>>>\context Voice = "VoiceOne" {
>>>  $firstStaff
>>>}
>>   \context Lyrics = "LyricsOne" \lyricmode {
>>   \set associatedVoice = #"VoiceOne"
>>  $firstLyrics
>>  }
>>>  }
>>>  \context Staff = "StaffTwo" {
>>>\context Voice = "VoiceTwo" {
>>>  $secondStaff
>>>}
>>   \context Lyrics = "LyricsTwo" \lyricmode {
>>   \set associatedVoice = #"VoiceTwo"
>>  $secondLyrics
>>  }
>>>  }
>>>
>>> #})
>>>
>>> intro = \parallelStaffs
>>>   {c''4 c''}
>> { ala ala }
>
> You need to put \lyricsmode { ala ala }, because the content is lyrics,
> not notes.
>
>>>
>>>   {c'4 c'}
>> { alb alb }
>>>
>>>
>>> verse = \parallelStaffs
>>>   {d''4 d''}
>> { bla bla }
>>>
>>>   {d'4 d'}
>> { blb blb }
>>>
>>>
>>> \score {
>>>   {
>>> \intro
>>> \verse
>>>   }
>>> }

This idea (lyrics in parallelStaffs) seems not easy to implement and
it would be rarely handy. For example: by rests in particural voice I
can avoid "sylable has no note attached" error only using \skip
function.
I decided not to fead lyrics to parallelStaffs function, but
anotherway (in \score) lyrics goes above or below Grandstaff only. I
can't imagine how to place lyrics directly by staff they belongs, when
in Lily code the lyrics are not in direct sequence to this staff or
voice.

Any hints?

Antanas Budriūnas
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Umlaute

2009-01-04 Thread James E. Bailey


Am 04.01.2009 um 20:22 schrieb Arjan Bos:



On 4 jan 2009, at 19:31, Hasi wrote:


Do any of you know how I can use Umlaute?
I'd like to do the following:

_\markup { \italic hartnäckig }

it just comes out as "hartnckig"


Hasi,

Please save the file with UTF-8 encoding. Most editors offer this  
option on the save (as) menu.
If you need more help, please inform us of your OS, editor and  
lilypond version.


HTH,


Or if you absolutely cannot use utf-8 file encoding, you can directly  
insert the unicode. See LM 3.3.3 Text Encoding.


\version "2.11.65"
\markup \concat {hartkn \char ##x00E4 ckig }



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to not display string numbers in chords

2009-01-04 Thread Jonathan Kulp

Grateful Frog wrote:

Hello again!

I'm once again posting with a newbie question.

I'm trying to make a score with both music and tab staffs, as well as chord
names a fret diagrams. But NOT string numbers in circles.

Can anyone suggest the proper thing to set? Is it an override?

My Score section looks like this:
\score {
  <<
\new ChordNames {
  \mychords
}
\new FretBoards {
  \mychords
}
\new Staff  {
  \myTempo
  \myKey
  \override Staff.TimeSignature #'style = #'()
  \myTime
  \mynotes
}
\new TabStaff  {
  \override Staff.TimeSignature #'style = #'()
  \myTime
  \stemDown
  \override Beam #'damping = #+inf.0
  \mytabs
}
  >>



You can make them transparent by doing an override in the regular staff:

\override Voice.StringNumber #'transparent = ##t

HTH,

Jon

--
Jonathan Kulp
http://www.jonathankulp.com


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to not display string numbers in chords

2009-01-04 Thread Grateful Frog
Thanks! That did it perfectly!
GF

On Sun, Jan 4, 2009 at 10:05 PM, Jonathan Kulp wrote:

> Grateful Frog wrote:
>
>> Hello again!
>> I'm trying to make a score with both music and tab staffs, as well as
>> chord
>> names a fret diagrams. But NOT string numbers in circles.
>>
>
> You can make them transparent by doing an override in the regular staff:
>
> \override Voice.StringNumber #'transparent = ##t
>
> HTH,
>
> Jon
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to not display string numbers in chords

2009-01-04 Thread Jonathan Kulp

Grateful Frog wrote:

Thanks! That did it perfectly!
GF



Glad to help, but beware that transparent objects still take up space so 
if later you have layout problems with respect to fingerings and other 
things, it could have to do with the transparent string numbers.  Best,


Jon

--
Jonathan Kulp
http://www.jonathankulp.com


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to not display string numbers in chords

2009-01-04 Thread Carl Sorensen
Jonathan Kulp  gmail.com> writes:

> 
> Grateful Frog wrote:
> > Thanks! That did it perfectly!
> > GF
> > 
> 
> Glad to help, but beware that transparent objects still take up space so 
> if later you have layout problems with respect to fingerings and other 
> things, it could have to do with the transparent string numbers.  Best,
> 
> Jon
> 


A better override would be to 

\override StringNumber #'stencil = ##f

which eliminates the printing of StringNumbers in the music staff.

Carl






___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: a "floating" markup with many \score blocks in it

2009-01-04 Thread Francois Planiol
Hello Mr Bailey and thanks.

By me, the result is: see the first 1/2-page of file.
I need to have: see the 2nd 1/2-page (done with oodraw, not with lilypond of
course)

Thanks again, in advance

Francois

Am Sonntag, 4. Januar 2009 16:39 schrieben Sie:
> music = \relative c' { c d e f }
> \markuplines \wordwrap-lines {
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
>     \score { \music \layout {} }
> }

---


scoreBlocksInOneLine.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: using Ramdisk

2009-01-04 Thread M Watts

Thomas Fehr wrote:

Hi

I'd like to use Lilypond in an interactive music learning program 
where short response times are needed.  I think running Lilypond on a 
ramdisk could help. Does anyone know how to do that?


- Thomas
Working on Lilypond files in a ramdisk (which is not exactly what you 
asked for) sure saves a lot of disk thrashing -- helpful when you make a 
lot of mistakes, and have to run and rerun and rerun Lilypond on the 
same file, like me.


Assuming you run Linux, you already have around 16 ramdisks, though 
they're not activated by default.  See them with:


ls -lh /dev/ram*

Create a 16 MB ramdisk with

mkfs -t ext3 -q /dev/ram1 16384

Mount it with

mkdir -p /home/user/desktop/ramdisk
mount /dev/ram1 /home/user/desktop/ramdisk -o defaults,rw

modifying "/home/user/desktop" to suit your system/preferences.

To do this automatically when you power up your machine, add these lines 
to /etc/rc.local:


/sbin/mkfs mkfs -t ext3 -q /dev/ram1 16384
/bin/mount mount /dev/ram1 /home/user/desktop/ramdisk -o defaults,rw
/bin/chown user:root /home/user/desktop/ramdisk
/bin/chmod 0750 /home/user/desktop/ramdisk


Whether you use ramdisks or not, you can increase harddisk performance 
by enabling the 'noatime' option in /etc/fstab.  Whenever you read a 
file, you system also performs a writing operation, to store the time of 
last access.  Disable this by opening /etc/fstab, look for you root 
filesystem, and change where it says 'defaults' to 'defaults,noatime', 
then reboot and enjoy faster computing.





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: a "floating" markup with many \score blocks in it

2009-01-04 Thread Trevor Daniels


Francois

The suggestion works as you want it in 2.12.1.  What version are you using?

You may need to set ragged-right = ##t in 2.10 or early versions of 2.11:

\layout {
 ragged-right = ##t
}

in every \score block.

Trevor

- Original Message - 
From: "Francois Planiol" 

To: 
Sent: Sunday, January 04, 2009 9:31 PM
Subject: Re: a "floating" markup with many \score blocks in it


Hello Mr Bailey and thanks.

By me, the result is: see the first 1/2-page of file.
I need to have: see the 2nd 1/2-page (done with oodraw, not with lilypond of
course)

Thanks again, in advance

Francois

Am Sonntag, 4. Januar 2009 16:39 schrieben Sie:

music = \relative c' { c d e f }
\markuplines \wordwrap-lines {
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
\score { \music \layout {} }
}


---







___
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: Frescobaldi on Fedora

2009-01-04 Thread Martin Tarenskeen
On Sun, Jan 04, 2009 at 07:35:20PM +0100, Wilbert Berendsen wrote:
> Op zaterdag 3 januari 2009, schreef Martin Tarenskeen:
> > Building and installing went OK. I can see the Frescobaldi message
> > windows and edit a lilypond file. But PDF preview fails: "Could not load
> > okularpart". What is "okularpart" ? It seems that I don't have it ? What
> > am I missing ?
> 
> Thats the PDF viewer of KDE. Install Okular and it should work.

On Fedora okular is part of the kdegraphics rpm package. Yum install 
kedgraphics did the trick.

-- 

Martin Tarenskeen



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Missing petrucci-f clef (and other missing clefs)

2009-01-04 Thread M Watts

Michael Lauer wrote:

I don't know what Petrucci actually used.
  


Obviously, he used the latest stable release of Lilypond...;)


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: rearrange music flow

2009-01-04 Thread Carl D. Sorensen



On 1/4/09 1:27 PM, "Antanas Budri?nas"  wrote:

> 2009/1/3 Carl D. Sorensen :
>> Antanas,
>> 
>> 
>> On 1/3/09 9:21 AM, "Antanas Budri?nas"  wrote:
>> 
>>> 
 parallelStaffs = #(define-music-function (parser location firstStaff
>> 
>> You need to put \lyricsmode { ala ala }, because the content is lyrics,
>> not notes.
>> 
 
   {c'4 c'}
>>> { alb alb }
 
 
 verse = \parallelStaffs
   {d''4 d''}
>>> { bla bla }
 
   {d'4 d'}
>>> { blb blb }
 
 
 \score {
   {
 \intro
 \verse
   }
 }
> 
> This idea (lyrics in parallelStaffs) seems not easy to implement and
> it would be rarely handy. For example: by rests in particural voice I
> can avoid "sylable has no note attached" error only using \skip
> function.

Putting lyrics in a score is easy, as long as you don't want to generate a
bunch of segments with lyrics to put together.

AssociatedVoice works best (maybe only) with lyrics that have durations
added.

There needs to be some development work to really make this idea work
properly.  It's on my todo list, but will be a while before I get to it.

> I decided not to fead lyrics to parallelStaffs function, but
> anotherway (in \score) lyrics goes above or below Grandstaff only. I
> can't imagine how to place lyrics directly by staff they belongs, when
> in Lily code the lyrics are not in direct sequence to this staff or
> voice.
> 
> Any hints?

See  http://article.gmane.org/gmane.comp.gnu.lilypond.general/37493
for a template that shows how to place lyrics in a lead sheet,
and see the templates section of the Learning Manual for several examples of
mixing lyrics and staffs.

HTH,

Carl

> 
> Antanas Budri?nas



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: using Ramdisk

2009-01-04 Thread M Watts

Thomas Fehr wrote:

Hi

I'd like to use Lilypond in an interactive music learning program 
where short response times are needed.  I think running Lilypond on a 
ramdisk could help. Does anyone know how to do that?


- Thomas



I mucked up part of my previous mail -- it should read:

To do this automatically when you power up your machine, add these lines 
to /etc/rc.local:


/sbin/mkfs -t ext3 -q /dev/ram1 16384
/bin/mount /dev/ram1 /home/user/desktop/ramdisk -o defaults,rw
/bin/chown user:root /home/user/desktop/ramdisk
/bin/chmod 0750 /home/user/desktop/ramdisk

Oops.



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: a "floating" markup with many \score blocks in it

2009-01-04 Thread Kieren MacMillan

Hi Francois,


By me, the result is: see the first 1/2-page of file.
I need to have: see the 2nd 1/2-page (done with oodraw, not with  
lilypond of

course)


Look for \startStaff and \stopStaff in the documentation and list  
archive.


HTH!
Kieren.


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


collision between glissando and sharp

2009-01-04 Thread chip
In the following code sample how would I prevent the glissando and sharp 
sign collision?

--
Thanks,
Chip


\version "2.12.1"
\header {}
staffNotes = \new Staff  {
   \time 4/4
   \key c \major
   \clef treble
   \relative c'' {
 \override Glissando #'thickness = #3
 \override Glissando #'style = #'zigzag
 \override Glissando #'minimum-length = #6
 \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
 c2 a\glissando cis d }}
\score { << \staffNotes >>
   \midi {}
   \layout  {}}
\paper {}


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: using Ramdisk

2009-01-04 Thread Anthony W. Youngman
In message <49613875.9020...@gmail.com>, M Watts  
writes
Whether you use ramdisks or not, you can increase harddisk performance 
by enabling the 'noatime' option in /etc/fstab.  Whenever you read a 
file, you system also performs a writing operation, to store the time 
of last access.  Disable this by opening /etc/fstab, look for you root 
filesystem, and change where it says 'defaults' to 'defaults,noatime', 
then reboot and enjoy faster computing.


WARNING!

I think some things (notably source control) depend on atime so be 
careful.


Cheers,
Wol
--
Anthony W. Youngman - anth...@thewolery.demon.co.uk



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: using Ramdisk

2009-01-04 Thread John Mandereau
Le dimanche 04 janvier 2009 à 23:23 +, Anthony W. Youngman a écrit :
> WARNING!
> 
> I think some things (notably source control) depend on atime so be 
> careful.

I have used noatime for years without noticeable inconsistency with Git
and CVS.

Cheers,
John



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: using Ramdisk

2009-01-04 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Montag, 5. Januar 2009 00:23:06 schrieb Anthony W. Youngman:
> In message <49613875.9020...@gmail.com>, M Watts 
> writes
>
> >Whether you use ramdisks or not, you can increase harddisk performance
> >by enabling the 'noatime' option in /etc/fstab.  Whenever you read a
> >file, you system also performs a writing operation, to store the time
> >of last access.  Disable this by opening /etc/fstab, look for you root
> >filesystem, and change where it says 'defaults' to 'defaults,noatime',
> >then reboot and enjoy faster computing.
>
> WARNING!
>
> I think some things (notably source control) depend on atime so be
> careful.

No, atime is the time the file was las **accessed**. I don' t know anything 
that depends on this. Source code control depends heavily on the time a file 
was last modified, which will of course still work.

Cheers,
Reinhold
- -- 
- --
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJYUylTqjEwhXvPN0RAouXAJ4t286hCzYa6Ls21TsgEmPLuSjyngCfbs5W
Ha/IeZPeTTfvbfXHlRZ4nFI=
=2OuP
-END PGP SIGNATURE-


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: First Frog Task

2009-01-04 Thread Carl D. Sorensen



On 1/4/09 7:24 AM, "Nicolas Sceaux"  wrote:

> Le 4 janv. 09 à 15:15, John Mandereau a écrit :
> 
>>> When you're done with this task, each function for which you are
>>> responsible
>>> should have an internationalizable docstring.  By
>>> internationalizable, I
>>> mean that it will look like (_i "This is the docstring."), rather
>>> than "This
>>> is the docstring."  Because we are adding internationalizable
>>> docstrings,
>>> you'll need to check even the functions that have docstrings.
>> 
>> We'll probably have to replace _i with something like _doc to make
>> sure
>> the strings go to lilypond-doc gettext domain and not lilypond, but
>> this
>> can wait until the Frogs have completed documentation of all
>> functions.
> 
> Remember to update the definition of the define-music-function macro (in
> scm/music-functions.scm) when you change _i with _doc.

I don't understand the significance of the change from _i to _idoc (which I
would recommend instead of _doc).  What is the difference between the
"lilypond gettext domain" and the "lilypond-doc gettext domain".  How would
I know that things are working properly after I changed all the docstrings
and the define-music-function macro?

Thanks,

Carl 



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: using Ramdisk

2009-01-04 Thread John Mandereau
Le dimanche 04 janvier 2009 à 09:33 +0100, Thomas Fehr a écrit :
> I'd like to use Lilypond in an interactive music learning program where 
> short response times are needed.  I think running Lilypond on a ramdisk 
> could help. Does anyone know how to do that?

I'm not sure a ramdisk will increase performance much, but it is surely
much work.  If you want short response times, use a machine with enough
RAM, so that even if first invocation is a bit slow, further invocations
will use disk cache in RAM.  512 MB of RAM is the bare minimum on a
modern GNU/Linux with a fat desktop like Gnome or KDE, but several
gigabytes are not too much if you run big or many ly files, or if you
use a lot of programs simulatneously.

HTH,
John



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: First Frog Task

2009-01-04 Thread John Mandereau
Le dimanche 04 janvier 2009 à 17:02 -0700, Carl D. Sorensen a écrit :
> I don't understand the significance of the change from _i to _idoc (which I
> would recommend instead of _doc).  What is the difference between the
> "lilypond gettext domain" and the "lilypond-doc gettext domain".

The difference is about which domain each string is translated in:
po/{lilypond.pot,*.po} for domain lilypond, and
Documentation/{lilypond-doc.po,*.po} for domain.  PO files are loaded,
installed and managed in radically different ways depending on the
domain: lilypond domain is to be installed and is loaded at each
lilypond execution, and it is managed by translation, whereas
lilypond-doc is not installed (it might be in the future), not loaded by
lilypond binary and managed directly on Git by translators and
maintainers.


>   How would
> I know that things are working properly after I changed all the docstrings
> and the define-music-function macro?

Just compile the docs and check that music functions docstrings still
appear in the docs.

Cheers,
John



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: First Frog Task

2009-01-04 Thread Carl D. Sorensen



On 1/4/09 5:33 PM, "John Mandereau"  wrote:

> Le dimanche 04 janvier 2009 à 17:02 -0700, Carl D. Sorensen a écrit :
>> I don't understand the significance of the change from _i to _idoc (which I
>> would recommend instead of _doc).  What is the difference between the
>> "lilypond gettext domain" and the "lilypond-doc gettext domain".
> 

Anybody have complaints about using "_idoc"?

> The difference is about which domain each string is translated in:
> po/{lilypond.pot,*.po} for domain lilypond, and
> Documentation/{lilypond-doc.po,*.po} for domain.  PO files are loaded,
> installed and managed in radically different ways depending on the
> domain: lilypond domain is to be installed and is loaded at each
> lilypond execution, and it is managed by translation, whereas
> lilypond-doc is not installed (it might be in the future), not loaded by
> lilypond binary and managed directly on Git by translators and
> maintainers.

Thanks for the explanation.  This makes lots of sense.

> 
> 
>>   How would
>> I know that things are working properly after I changed all the docstrings
>> and the define-music-function macro?
> 
> Just compile the docs and check that music functions docstrings still
> appear in the docs.
> 

I don't need to check the translations, right?  As long as the english
docstrings appear we're good, right?

Carl



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: First Frog Task

2009-01-04 Thread Carl D. Sorensen



On 1/4/09 7:15 AM, "John Mandereau"  wrote:

> Hi Carl,
> Le vendredi 02 janvier 2009 à 20:16 -0700, Carl D. Sorensen a écrit :
>> I've attached a file README-contrib.txt, which is an attempt at what one of
>> you described as "Frogging for Dummies".  It gives at least a brief
>> introduction to the key issues that I remember as obstacles when I got
>> started with LilyPond development.
> 
> This is an excellent introduction!  I only have one remark: the sentence
> 
> "There is no one-page listing of the entire file tree, and
> there's no table of contents or index for the location of the various
> files."
> 
> is misleading IMO: there are about 3000 source files, so any one-page
> listing of the entire file tree would not be very usable, and ROADMAP
> lists what you should expect to find in each directory.  I suggest you
> replace the sentence above with something like
> 
> "Any one-page listing of the entire file tree would not be very usable,
> as the tree contains about 3000 source files; however, "
> 
> You could argue that most entries in ROADMAD could be elaborated with
> more explanations.

Thanks for the feedback.  I've changed it and attached an updated copy of
the file.

The relevant paragraph has become:

One of the real challenges when getting started on extending or
patching LilyPond is trying to find where the relevant program lines
are found. With nearly 3000 files in the source distribution, a listing
of the entire file tree would take more than 50 pages.  There is a file
ROADMAP that lists the directory structure and the kind of files that
are in each folder.  However, it's difficult to know exactly where the
program lines you want are.


I hope this is better.

Thanks,

Carl



README-contrib.txt
Description: README-contrib.txt
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user