Re: Metronome marks

2008-04-10 Thread Risto Vääräniemi
On 08/04/2008, Trevor Daniels wrote:

>  It's possible (most things are in LilyPond) but it's not easy (at least I
> don't know an easy way).  Essentially you have to create a tiny score
> without a staff, etc.  Have a look at
>  http://lsr.dsi.unimi.it/LSR/Item?id=204
>  This should give you some clues, or maybe easier, you can simply copy out
> the functions and use them.

The snippet 204 doesn't work very well with 2.11 because it uses
negative padding to position the rhythm mark closer to the staff and
that's not supported by 2.11.

I fiddled with it a bit and found out that if the VerticalAxisGroup
#'Y-extent and VerticalAxisGroup #'minimum-Y-extent are set to #'(0 .
0) the output is more or less agreeable.

The mark is positioned a bit to the right from the center of the note
center, possibly because of the two \hspace #0 (they, or something
else, must be there, otherwise the layout breaks).

-Risto

%%%
\version "2.11.43"

rhythmMarkStaffReduce = #-4
rhythmMarkLabelFontSize = #-3

rhythmMark = \markup
{
\line \vcenter
{
\combine % 1st column in line
\hspace #0
\hspace #0
% This fakes a uniform baseline (ie. create common anchor for vcenter)

\score
{ % 2nd column in line
\new Staff \with
{
fontSize = #rhythmMarkStaffReduce
\override StaffSymbol #'staff-space =
#(magstep rhythmMarkStaffReduce)
\override StaffSymbol #'line-count = #0
\override VerticalAxisGroup #'Y-extent = #'(0 . 0)
\override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0)
}
\relative c'' { \stemUp b8[ b] }

\layout {
ragged-right= ##t
indent = 0
\context
{
\Staff
\remove "Clef_engraver"
\remove "Time_signature_engraver"
}
} % layout
} % 1st Score end

\hspace #0
\italic \fontsize #rhythmMarkStaffReduce \column { "=" " " }

\score { % 5th column in line

\new Staff \with
{
fontSize = #rhythmMarkStaffReduce
\override StaffSymbol #'staff-space =
#(magstep rhythmMarkStaffReduce)
\override StaffSymbol #'line-count = #0
\override VerticalAxisGroup #'Y-extent = #'(0 . 0)
\override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0)
}
\relative c'' { \stemUp \times 2/3 { b4 b8 } }
\layout
{
ragged-right= ##t
indent = 0
\context
{
\Staff
\remove "Clef_engraver"
\remove "Time_signature_engraver"
}
} % layout end
} % 2nd Score end
} % line end
} % markup end


\relative c'
{
c4^\rhythmMark
}
%%%
<>___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Learning Music

2008-04-10 Thread James E. Bailey

\midi {} in your \score {} block is probably the fastest way.
Am 10.04.2008 um 11:22 schrieb Eric Beaty:

I've recently been studying how to read music though I've played  
music by ear
for many years.  I downloaded LilyPond but I need a way to test/hear  
what I've
created to make sure I'm writing it correctly.  Unfortunately, the  
free
graphical interface programs you list are for Linux only and I used  
WindowsXP.
I would prefer a free graphical interface and thought about using  
PowerTabs, but
I want the music only without the tab so I can learn to read music  
by itself.
Is there a way to copy and paste the pdf of the LilyPond music score  
into some
time of software that would give me an accurate playback of what  
I've written is

my question.



___
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


Learning Music

2008-04-10 Thread Eric Beaty
I've recently been studying how to read music though I've played music by ear
for many years.  I downloaded LilyPond but I need a way to test/hear what I've
created to make sure I'm writing it correctly.  Unfortunately, the free
graphical interface programs you list are for Linux only and I used WindowsXP. 
I would prefer a free graphical interface and thought about using PowerTabs, but
I want the music only without the tab so I can learn to read music by itself. 
Is there a way to copy and paste the pdf of the LilyPond music score into some
time of software that would give me an accurate playback of what I've written is
my question.



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


Re: Snippet 204 for 2.11 (was Metronome marks)

2008-04-10 Thread Risto Vääräniemi
Dear Trevor and Valentin,

On 10/04/2008, Trevor Daniels wrote:

>  Attached is a version of snippet 204 that works better with 2.11.  I did
> this some time ago, but forgot to send it.  It's still not quite perfect,
> though.  I've annotated the extra statements with % td and commented out
> those that need to be removed in case anyone wishes to see the changes.  You
> may want to edit these out or even fiddle with it a little more before
> adding it to the 2.11 snippet list.

I hope you don't mind that I added the minimum-Y-extent to your
example. Now the marks are placed closer to the staff, like in the
original one that's for 2.10.

-Risto
%%% Function: rhythmMark
%%% 
%%%  Purpose: print a sophisticated rehearsal mark e.g
%%%   for rhythm directives
%%%Usage: \rhythmMark label music1 music2
%%% 
%%% Variable: label (string)
%%% 
%%% Variable: music1 (ly:music)
%%% 
%%% Variable: music2 (ly:music)
%%% 
%%%  Example: \rhythmMark #"Swing" \rhyMarkIIEighths
%%% \rhyMarkSlurredTriplets
%%% 
%%% Constants:
%%%   rhythmMarkStaffReduce = #-3
%%%   rhythmMarkLabelFontSize = #-2
%%% 
%%%  Comment: see below for predefined values for music1&2
%%% 

% \version "2.11.43"

rhythmMarkStaffReduce = #-3
rhythmMarkLabelFontSize = #-2

rhythmMark = #(define-music-function (parser location label musicI musicII ) (string? ly:music? ly:music?)
   #{
  \mark \markup {
\line \vcenter {
  \combine % 1st column in line
\italic \fontsize #rhythmMarkLabelFontSize $label
\transparent \italic \fontsize #rhythmMarkLabelFontSize f
% This fakes a uniform baseline (ie. create common anchor for vcenter)

  \score { % 2nd column in line
\new Staff \with {
  fontSize = #rhythmMarkStaffReduce
  \override StaffSymbol #'staff-space = #(magstep rhythmMarkStaffReduce)
  \override StaffSymbol #'line-count = #0
  \override VerticalAxisGroup #'Y-extent = #'(0 . 0)  % td
  \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) %RV
}

\relative { \stemUp $musicI }

\layout {
  ragged-right= ##t
  indent = 0
  \context {
\Staff
\remove "Clef_engraver"
\remove "Time_signature_engraver" }
} % layout

  } % 1st Score end

  \hspace #-0.1% 3rd column in line

   % 4th column in line
  \italic \fontsize #rhythmMarkStaffReduce "="

  \score { % 5th column in line

\new Staff \with {
  fontSize = #rhythmMarkStaffReduce
  \override StaffSymbol #'staff-space = #(magstep rhythmMarkStaffReduce)
  \override StaffSymbol #'line-count = #0
  \override VerticalAxisGroup #'Y-extent = #'(0 . 0)  % td
  \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) %RV
}

\relative { \stemUp $musicII }

\layout {
  ragged-right= ##t
  indent = 0
  \context {
\Staff
\remove "Clef_engraver"
\remove "Time_signature_engraver" }
} % layout end

  } % 2nd Score end

} % line end
  } % markup end
   #})

%%% Function: rhythmMarkC
%%% 
%%%  Purpose: print a sophisticated rehearsal mark e.g for
%%%   rhythm directives in a column (music on top)
%%%Usage: \rhythmMarkC label music1 music2
%%% 
%%% Variable: label (string)
%%% 
%%% Variable: music1 (ly:music)
%%% 
%%% Variable: music2 (ly:music)
%%% 
%%%  Example: \rhythmMarkC #"Swing" \rhyMarkIIEighths
%%% \rhyMarkSlurredTriplets
%%% 
%%% Constants:
%%%   rhythmMarkCStaffReduce = #-4
%%%   rhythmMarkCLabelFontSize = #-2
%%% 
%%%  Comment: see below for predefined values for music1&2
%%% =

Snippet 204 for 2.11 (was Metronome marks)

2008-04-10 Thread Trevor Daniels

Valentin

Attached is a version of snippet 204 that works better with 2.11.  I did 
this some time ago, but forgot to send it.  It's still not quite perfect, 
though.  I've annotated the extra statements with % td and commented out 
those that need to be removed in case anyone wishes to see the changes.  You 
may want to edit these out or even fiddle with it a little more before 
adding it to the 2.11 snippet list.


Trevor

- Original Message - 
From: "Risto Vääräniemi" <[EMAIL PROTECTED]>

To: "Trevor Daniels" <[EMAIL PROTECTED]>
Cc: "Matthias Loitsch" <[EMAIL PROTECTED]>; 


Sent: Thursday, April 10, 2008 8:29 AM
Subject: Re: Metronome marks



On 08/04/2008, Trevor Daniels wrote:

 It's possible (most things are in LilyPond) but it's not easy (at least 
I

don't know an easy way).  Essentially you have to create a tiny score
without a staff, etc.  Have a look at
 http://lsr.dsi.unimi.it/LSR/Item?id=204
 This should give you some clues, or maybe easier, you can simply copy 
out

the functions and use them.


The snippet 204 doesn't work very well with 2.11 because it uses
negative padding to position the rhythm mark closer to the staff and
that's not supported by 2.11.

I fiddled with it a bit and found out that if the VerticalAxisGroup
#'Y-extent and VerticalAxisGroup #'minimum-Y-extent are set to #'(0 .
0) the output is more or less agreeable.

The mark is positioned a bit to the right from the center of the note
center, possibly because of the two \hspace #0 (they, or something
else, must be there, otherwise the layout breaks).

-Risto

%%%
\version "2.11.43"

rhythmMarkStaffReduce = #-4
rhythmMarkLabelFontSize = #-3

rhythmMark = \markup
{
   \line \vcenter
   {
   \combine % 1st column in line
   \hspace #0
   \hspace #0
   % This fakes a uniform baseline (ie. create common anchor for 
vcenter)


   \score
   { % 2nd column in line
   \new Staff \with
   {
   fontSize = #rhythmMarkStaffReduce
   \override StaffSymbol #'staff-space =
   #(magstep rhythmMarkStaffReduce)
   \override StaffSymbol #'line-count = #0
   \override VerticalAxisGroup #'Y-extent = #'(0 . 0)
   \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0)
   }
   \relative c'' { \stemUp b8[ b] }

   \layout {
   ragged-right= ##t
   indent = 0
   \context
   {
   \Staff
   \remove "Clef_engraver"
   \remove "Time_signature_engraver"
   }
   } % layout
   } % 1st Score end

   \hspace #0
   \italic \fontsize #rhythmMarkStaffReduce \column { "=" " " }

   \score { % 5th column in line

   \new Staff \with
   {
   fontSize = #rhythmMarkStaffReduce
   \override StaffSymbol #'staff-space =
   #(magstep rhythmMarkStaffReduce)
   \override StaffSymbol #'line-count = #0
   \override VerticalAxisGroup #'Y-extent = #'(0 . 0)
   \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0)
   }
   \relative c'' { \stemUp \times 2/3 { b4 b8 } }
   \layout
   {
   ragged-right= ##t
   indent = 0
   \context
   {
   \Staff
   \remove "Clef_engraver"
   \remove "Time_signature_engraver"
   }
   } % layout end
   } % 2nd Score end
   } % line end
} % markup end


\relative c'
{
   c4^\rhythmMark
}
%%%

%%% Function: rhythmMark
%%% 
%%%  Purpose: print a sophisticated rehearsal mark e.g
%%%   for rhythm directives
%%%Usage: \rhythmMark label music1 music2
%%% 
%%% Variable: label (string)
%%% 
%%% Variable: music1 (ly:music)
%%% 
%%% Variable: music2 (ly:music)
%%% 
%%%  Example: \rhythmMark #"Swing" \rhyMarkIIEighths
%%% \rhyMarkSlurredTriplets
%%% 
%%% Constants:
%%%   rhythmMarkStaffReduce = #-3
%%%   rhythmMarkLabelFontSize = #-2
%%% 
%%%  Comment: see below for predefined values for music1&2
%%% 

% \version "2.11.43"

rhythmMarkStaffReduce = #-3
rhythmMarkLabelFontSize = #-2

rhythmMark = #(define-music-function (parser location label musicI musicII ) (string? ly:music? ly:music?)
   #{
  \mark \markup {
\line \vcenter {
  \comb

Re: White Baroque notation (was: lilypond-user Digest, Vol 65, Issue 34)

2008-04-10 Thread Damian leGassick

i think you need:

\override  NoteHead #'duration-log = #1

d

On 10 Apr 2008, at 05:47, Kurt Kroon wrote:


On 2008/04/09 3:45 PM, "Karl Hammar" <[EMAIL PROTECTED]> wrote:


Trevor Daniels schrieb:

...

   .3 Baroque rhythmic notation (new)

Karl:

We don't have lilypond examples of this. I have seen this in a  
Novello

score for Purcells Dido. So I suggest we drop this for the moment.
(Though an ossia section might show what the editor want.)

We actually do have some in the list somewhere, I remember (was it
Nicolas) somthing about using empty note heads for quarter notes or
something like that -- that's what I am referring to.


Nice, can you find it?


Are you referring to the notation example in the attached email?

Kurtis


From: Franz-Rudolf Kuhnen <[EMAIL PROTECTED]>
Date: 26 February 2007 13:35:52 GMT
To: lilypond-user@gnu.org
Subject: White notation in french baroque


Hi,

how can I realize white notation with lilypond?

In the french baroque some composers used white noteheads in slow  
pieces,

mainly in 3/2-time.
A quater looks there like a eighth with a white notehead. Look at  
the picture.


I hope, someone could help me


Regards

Franz-Rudolf Kuhnen
http://www.kuhnen-koblenz.de


___
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


Building Lilypond for Leopard (calling Nicholas Sceaux)

2008-04-10 Thread Sven Axelsson
I just went over to Nicholas Sceaux's excellent site and found some
information on how to build Lilypond for Mac OS 10.5 Intel. It almost
works. Please, Nicholas, do you have further hints on this since you
are obviously succeeding?

I installed all the required packages from Macports and ran make. Make
fails on building the documentation, but I don't care about that right
now.

This is how make ends:
No rule to make target `out/lilypond.info', needed by `default'.  Stop.

The newly built executable does indeed work with some of my scores,
but in other cases (when I use scheme) it breaks with:
GNU LilyPond 2.11.43
/opt/local/share/guile/1.8/srfi/srfi-1.scm:223:1: In procedure
dynamic-link in expression (load-extension "libguile-srfi-srfi-1-v-3"
"scm_init_srfi_1"):
/opt/local/share/guile/1.8/srfi/srfi-1.scm:223:1: file:
"libguile-srfi-srfi-1-v-3", message:
"dlopen(libguile-srfi-srfi-1-v-3.so, 9): image not found"

Well, the Mac uses .dylib as extension so maybe that is wrong. Or
perhaps it should work by magic anyways.

I'm sure there is an easy solution to this. So close now ...

-- 
Sven Axelsson
++[>++>+++>++>++
><-]>.+..>+.>+.<<-.>>+.>.<<.
+++.>-.<<++.>>.<++.>>>++..>>.<.


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


Re: Learning Music

2008-04-10 Thread Bertalan Fodor (LilyPondTool)
For this purpose I would recommend Finale Notepad that is available for 
free download from Finale Co.-s website.


Bert

Eric Beaty wrote:

I've recently been studying how to read music though I've played music by ear
for many years.  I downloaded LilyPond but I need a way to test/hear what I've
created to make sure I'm writing it correctly.  Unfortunately, the free
graphical interface programs you list are for Linux only and I used WindowsXP. 
I would prefer a free graphical interface and thought about using PowerTabs, but
I want the music only without the tab so I can learn to read music by itself. 
Is there a way to copy and paste the pdf of the LilyPond music score into some

time of software that would give me an accurate playback of what I've written is
my question.



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

  



--
LilyPondTool is the editor for LilyPond files.
See http://lilypondtool.organum.hu



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


Re: Chord dictionary

2008-04-10 Thread René Brandenburger
Hi,

I do it the following way:

\markup \center-align {C \fret-diagram
#"s:0.75;6-x;5-3;4-2;3-o;2-1;1-o;"}

best regards

rene


Am Mittwoch, den 09.04.2008, 21:59 -0500 schrieb Shamus:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi all,
> 
> I like the fretboard diagram functionality, but I was thinking instead
> of putting them into the score that I could put them all at the
> beginning of the score as a sort of chord dictionary that I could then
> refer to in the actual score using appropriate chord names.
> 
> Right now, the only way I see of doing it is to shove them into the
> subtitle in the \header block like so:
> 
> \header
> {
>   title = "My Song"
>   subtitle = \markup { \fret-diagram #"6-3;5-x;4-2;3-o;2-3;1-3;" " - "
> \fret-diagram-terse #"3-(;6;;5;4;3-);" }
> }
> 
> It works, but I also need to be able to put the chord names above the
> diagrams. This approach seems really hackish to me--perhaps some kind
> soul could point me in the right direction?
> 
> Thanks,
> 
> - -- Shamus
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFH/YKMmE5b/O3JjkYRAqSLAKCPIw/j09+0lnU9ds5p7bVCZOA0tQCgp458
> PV6K4gJ3jeQhmoLQVl3nNX4=
> =mgy+
> -END PGP SIGNATURE-
> 
> 
> ___
> 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: shortInstrumentName help

2008-04-10 Thread Kieren MacMillan

Hi Stan (et al.):

In the spirit of separating content from presentation, you should  
also consider the \with{} construct:


\new Staff = "trumpet"
\with { shortInstrumentName = "Tpt " }
\transpose c c { \trumpet }

Hope this helps!
Kieren.


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


Re: Snippet 204 for 2.11 (was Metronome marks)

2008-04-10 Thread Trevor Daniels

Of course not!  That's fine.  Thanks Risto.

Trevor D
- Original Message - 
From: "Risto Vääräniemi" <[EMAIL PROTECTED]>

To: "Trevor Daniels" <[EMAIL PROTECTED]>
Cc: "Valentin Villenave" <[EMAIL PROTECTED]>; "Matthias Loitsch" 
<[EMAIL PROTECTED]>; 

Sent: Thursday, April 10, 2008 11:12 AM
Subject: Re: Snippet 204 for 2.11 (was Metronome marks)



Dear Trevor and Valentin,

On 10/04/2008, Trevor Daniels wrote:


 Attached is a version of snippet 204 that works better with 2.11.  I did
this some time ago, but forgot to send it.  It's still not quite perfect,
though.  I've annotated the extra statements with % td and commented out
those that need to be removed in case anyone wishes to see the changes. 
You

may want to edit these out or even fiddle with it a little more before
adding it to the 2.11 snippet list.


I hope you don't mind that I added the minimum-Y-extent to your
example. Now the marks are placed closer to the staff, like in the
original one that's for 2.10.

-Risto





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


Re: Chord dictionary

2008-04-10 Thread Mats Bengtsson

I would propose to add the chord dictionary as a separate "score"
or "Text markup" or whatever, before the main score. One way to obtain
such a dictionary is outlined in
http://lists.gnu.org/archive/html/lilypond-user/2006-06/msg00414.html
Note however that that answer was written before the FretBoards context
was available (or at least before I new
about it), so it's probably better to use that one to typeset
the fret diagrams.

   /Mats

Quoting René Brandenburger <[EMAIL PROTECTED]>:


Hi,

I do it the following way:

\markup \center-align {C \fret-diagram
#"s:0.75;6-x;5-3;4-2;3-o;2-1;1-o;"}

best regards

rene


Am Mittwoch, den 09.04.2008, 21:59 -0500 schrieb Shamus:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,

I like the fretboard diagram functionality, but I was thinking instead
of putting them into the score that I could put them all at the
beginning of the score as a sort of chord dictionary that I could then
refer to in the actual score using appropriate chord names.

Right now, the only way I see of doing it is to shove them into the
subtitle in the \header block like so:

\header
{
title = "My Song"
subtitle = \markup { \fret-diagram #"6-3;5-x;4-2;3-o;2-3;1-3;" " - "
\fret-diagram-terse #"3-(;6;;5;4;3-);" }
}

It works, but I also need to be able to put the chord names above the
diagrams. This approach seems really hackish to me--perhaps some kind
soul could point me in the right direction?

Thanks,

- -- Shamus

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH/YKMmE5b/O3JjkYRAqSLAKCPIw/j09+0lnU9ds5p7bVCZOA0tQCgp458
PV6K4gJ3jeQhmoLQVl3nNX4=
=mgy+
-END PGP SIGNATURE-


___
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







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


Re: Old LilyPond versions

2008-04-10 Thread Laura Conrad
> "Han-Wen" == Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:

Han-Wen> It's probably not in the manual, but if you want to be double-plus
Han-Wen> sure that you don't get hit by this again, I recommend to use 
explicit
Han-Wen> durations for lyrics, like

Han-Wen>   \lyricmode { to4 re8. a16 dor4 ... }

Unfortunately, this would make it impossible to use the same lyrics for
different polyphonic voices, or to google for the lyrics and just
snarf them into your .ly file.  Both of which are practices that make
it a lot faster to transcribe vocal music (for the current version of
lilypond).

-- 
Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ )
(617) 661-8097  fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139


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


vim

2008-04-10 Thread Stefan Thomas
Dear lilypond-users,
I have a question concerning vim. I've read that there is a special
vimrc available. But where can I get or find it? And I've also read
that I have to add to the file " ~/.vim/filetype.vim "
the message
 if exists("did_load_filetypes")
   finish
 endif
 augroup filetypedetect
   au! BufNewFile,BufRead *.ly   setf lilypond
 augroup END
 But unfortunately I don't find a file of the kind
~/.vim/filetype.vim. What can I do?
Thanks for Your support!
Stefan


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


Re: Building Lilypond for Leopard (calling Nicholas Sceaux)

2008-04-10 Thread Sven Axelsson
On 10/04/2008, Sven Axelsson <[EMAIL PROTECTED]> wrote:
> I just went over to Nicholas Sceaux's excellent site and found some
>  information on how to build Lilypond for Mac OS 10.5 Intel. It almost
>  works. Please, Nicholas, do you have further hints on this since you
>  are obviously succeeding?
>
>  I installed all the required packages from Macports and ran make. Make
>  fails on building the documentation, but I don't care about that right
>  now.
>
>  This is how make ends:
>  No rule to make target `out/lilypond.info', needed by `default'.  Stop.
>
>  The newly built executable does indeed work with some of my scores,
>  but in other cases (when I use scheme) it breaks with:
>  GNU LilyPond 2.11.43
>  /opt/local/share/guile/1.8/srfi/srfi-1.scm:223:1: In procedure
>  dynamic-link in expression (load-extension "libguile-srfi-srfi-1-v-3"
>  "scm_init_srfi_1"):
>  /opt/local/share/guile/1.8/srfi/srfi-1.scm:223:1: file:
>  "libguile-srfi-srfi-1-v-3", message:
>  "dlopen(libguile-srfi-srfi-1-v-3.so, 9): image not found"
>

Answering my own question - putting the DYLD_LIBRARY_PATH in
.bash_login as well as in .profile solved the problem for me. W00t!!11
I have a fast Lilypond again. Joy!

-- 
Sven Axelsson
++[>++>+++>++>++
><-]>.+..>+.>+.<<-.>>+.>.<<.
+++.>-.<<++.>>.<++.>>>++..>>.<.


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


Re:vim

2008-04-10 Thread Romel Anthony S. Bismonte
Hi Stefan.

"~" means your home directory. In a Linux shell, typing "cd ~" will take you to 
your home directory (which is something like /home/yourusername or something; I 
used Ubuntu). You can look there for the .vim folder.

In Windows XP the home directory is usually C:\Documents and 
Settings\yourusername. If you look in there, you will probably find the ".vim" 
folder. Because the name of the folder starts with a stop/period, it may or may 
not be visible in Explorer. Get a command window, go to your home directory, 
then type "cd .vim". If the folder exists you can get in.

As for finding the Lilypond .vimrc, the way I remember I got it was I did a 
Google search. Good luck in finding it; it made coding so much more convenient 
for me!

Romel

P.S. It looks like you can get the necessary files in the source package. But 
now I remember that if you installed Lilypond and do some hunting around in the 
program folder for a folder named "vim" you'd be in business. Good luck again.___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Learning Music

2008-04-10 Thread Frédéric Moinard

Hi,

Eric Beaty a écrit :

I've recently been studying how to read music though I've played music by ear
for many years.  I downloaded LilyPond but I need a way to test/hear what I've
created to make sure I'm writing it correctly.  Unfortunately, the free
graphical interface programs you list are for Linux only and I used WindowsXP. 
I would prefer a free graphical interface and thought about using PowerTabs, but
I want the music only without the tab so I can learn to read music by itself. 
Is there a way to copy and paste the pdf of the LilyPond music score into some

time of software that would give me an accurate playback of what I've written is
my question.


I'm learning lilypond since a week, so, don't trust me :)
I found that http://www.jedit.org/ and http://lilypondtool.organum.hu/ 
give a nice "Lilypond midi player"... type your music, and click "play" 
to hear it (with something like \set Staff.midiInstrument="voice oohs" 
in your staff context).. (ok, I work with linux, on a "sort of 
multimedia music oriented laptop", and it worked 'out of the box'... I 
don't know what you need for xp)


--
hth

  Frédéric Moinard



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


Re: Building Lilypond for Leopard (calling Nicholas Sceaux)

2008-04-10 Thread Sven Axelsson
On 10/04/2008, Ivo Bouwmans <[EMAIL PROTECTED]> wrote:
> Hallo Sven,
>
>
> > Answering my own question - putting the DYLD_LIBRARY_PATH in
> > .bash_login as well as in .profile solved the problem for me. W00t!!11
> > I have a fast Lilypond again. Joy!
> >
>
>  Do I get it right that you managed to compile LilyPond for Leopard on an
> Intel Mac?
>
>  Would it be possible to (a) put the binary on the LilyPond download page or
> (b) give a recipe of how to do it - for 'dummies' - so I can put it on the
> 'LilyPond on Leopard' web page?
>  (see )
>
>  That would be great!

I can't really package the binaries - this build is only for the
command line stuff, and the files are left in place in the Lilypond
source folder, so I don't know what happens (and I don't want to try)
if you move them.

But I got the information from Nicholas Sceaux, here:
http://nicolas.sceaux.free.fr/
Scroll down a bit on the page to the section Building LilyPond from
Git sources on Mac OS 10.5 Intel

There are a few minor quips in Nicholas writeup. These are the changes I made:

1. The text put in ~/.profile should also be put in ~/.bash_login
2. the command chmod +755 ~/bin/lily-configure should be chmod 755
~/bin/lily-configure.

If you don't already have XCode and Macports these can be downloaded here:

http://developer.apple.com/tools/download/ (Big file: 1.1 Gb)
http://www.macports.org/install.php

Building the required dependencies with Macports will take some time,
maybe an hour.

Lilypond itself will fail when trying to build the documentation.
Ignore that for now. The lilypond executables will be in the bin
folder in the build directory, so add that to your path or link to the
files from somewhere convenient, like ~/bin.

That's it.

I'm thinking of making a Macports package for lilypond that will
install all dependencies automatically and take care of patching and
the other things needed. That shouldn't be too hard and I guess there
are some who'd be interested in that.

-- 
Sven Axelsson
++[>++>+++>++>++
><-]>.+..>+.>+.<<-.>>+.>.<<.
+++.>-.<<++.>>.<++.>>>++..>>.<.


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


Re: Snippet 204 for 2.11 (was Metronome marks)

2008-04-10 Thread Matthias Loitsch
Thank you all! That did the job...

But I'm surprised that this is not a standard feature... Changing rhythm like 
that, is a very common request in my opinion, and should be as easy as
\tempo 120.
But I also now: It's an open source project, I shouldn't complain but do 
something about it :)


Thanks again,
matthias

On Thursday 10 April 2008 14:31:29 Trevor Daniels wrote:
> Of course not!  That's fine.  Thanks Risto.
>
> Trevor D
> - Original Message -
> From: "Risto Vääräniemi" <[EMAIL PROTECTED]>
> To: "Trevor Daniels" <[EMAIL PROTECTED]>
> Cc: "Valentin Villenave" <[EMAIL PROTECTED]>; "Matthias Loitsch"
> <[EMAIL PROTECTED]>; 
> Sent: Thursday, April 10, 2008 11:12 AM
> Subject: Re: Snippet 204 for 2.11 (was Metronome marks)
>
> > Dear Trevor and Valentin,
> >
> > On 10/04/2008, Trevor Daniels wrote:
> >>  Attached is a version of snippet 204 that works better with 2.11.  I
> >> did this some time ago, but forgot to send it.  It's still not quite
> >> perfect, though.  I've annotated the extra statements with % td and
> >> commented out those that need to be removed in case anyone wishes to see
> >> the changes. You
> >> may want to edit these out or even fiddle with it a little more before
> >> adding it to the 2.11 snippet list.
> >
> > I hope you don't mind that I added the minimum-Y-extent to your
> > example. Now the marks are placed closer to the staff, like in the
> > original one that's for 2.10.
> >
> > -Risto



-- 
Matthias Loitsch


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


Re: Building Lilypond for Leopard (calling Nicholas Sceaux)

2008-04-10 Thread Valentin Villenave
2008/4/10 Sven Axelsson <[EMAIL PROTECTED]>:

> I can't really package the binaries - this build is only for the
> command line stuff, and the files are left in place in the Lilypond
> source folder, so I don't know what happens (and I don't want to try)
> if you move them.

AFAIK There's also a way to compile the GUI app: see
http://valentin.villenave.info/spip.php?article61l#forum115

Cheers,
Valentin


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


Re: learning music

2008-04-10 Thread Tim Reeves
Eric,

I'm not sure why Bertalan is steering you away from Lilypond, though it 
may do much more than you need at this time.
As James said, if you add a   \midi {}   in your .ly file, Lilypond will 
generate a midi file that you can play back in Windows Media Player or 
whatever program you choose for midi playback.
That way you can hear the pieces you've already entered into Lilypond, and 
if later you get to where you want more advanced music notation 
capabilities, Lilypond will be there for you. 

And people on this list will help you use it, as they have done for me. 
As you use it more, if you're like me, you'll find that you can enter 
music more quickly by typing than you could with a mouse.
Finale Notepad is quite limited in its abilities.



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


Re: Building Lilypond for Leopard (calling Nicholas Sceaux)

2008-04-10 Thread Nicolas Sceaux


Le 10 avr. 08 à 19:18, Sven Axelsson a écrit :


There are a few minor quips in Nicholas writeup. These are the  
changes I made:


2. the command chmod +755 ~/bin/lily-configure should be chmod 755
~/bin/lily-configure.


oops, that was a mix of chmod +x and chmod 755.

nicolas



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


Re: shortInstrumentName help

2008-04-10 Thread Stan Mulder
I wanted to thank everybody for the help. I had it all mixed up.

The shortInstrumentName must come before the \trumpet part, etc. otherwise it
won't work. 

I forgot to group with curly braces as well. This worked like a charm though:

\book {
\score {
<<
\new StaffGroup = "horns" 
<<
\new Staff = "trumpet" \transpose c c {
\set Staff.shortInstrumentName = "Tpt "
\trumpet 
}
\new Staff = "clarinet" \transpose c c  {
\set Staff.shortInstrumentName = "Clr "
\clarinet
}
 ...



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


Problem with lilypond-book after upgrading to 2.11.43-2

2008-04-10 Thread René Brandenburger
Hi list,

after upgrading from 2.11.35 to 2.11.43-2, my call to lilypond-book does
not work anymore.

I used to call lilypond-book the following way: 

lilypond-book --pdf --include=BookIn --include=. --output=BookOut
SongBook.tex

and it always worked fine, but after the upgrade, I get the following: 

lilypond-book (GNU LilyPond) 2.11.43
lilypond-book: Fehler: Ausgabe würde Eingabedatei überschreiben;
verwenden Sie --output.

thanks in advance for any advice

rene




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


Re: Snippet 204 for 2.11 (was Metronome marks)

2008-04-10 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Donnerstag, 10. April 2008 schrieb Matthias Loitsch:
> Thank you all! That did the job...
>
> But I'm surprised that this is not a standard feature... Changing rhythm
> like that, is a very common request in my opinion, and should be as easy as
> \tempo 120.

I wholeheartedly agree. 

Just recently, I implemented this in musicxml2ly and I don't particularly like 
the markup, in particular since there is no easy way to make consistent 
changes to all tempo marks. The defaults for markup and tempo marks is quite 
different: \tempo before a note is formatted like a markup ON the note. In 
the conversion (which goes through the music content sequentially), I don't 
have the note available, so I have to resolve to \mark\markup..., which is 
aligned completely different, so mixin \tempo with more complicated tempo 
changes looks very different:
http://kainhofer.com/~lilypond/input/regression/musicxml/collated-files.html#03c-MetronomeMarks.ly

In that sample/test file, there is a tempo mark before every first and third 
note of each measure. Notice how in the first measure ("simple" \tempo 
changes) the tempo markings start at the first and third note. In the 
remaining measures, there are more complicated markings using \markup, so 
they appear centered above the bar line and centered between the second and 
third note!

> But I also now: It's an open source project, I shouldn't complain but do
> something about it :)

;-)

Cheers,
Reinhold


- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH/pQaTqjEwhXvPN0RAgVcAKC+tNqXb/PbQLUmmMpZ7WL2vCxQ1ACg0mCh
F3TSkH0eH1W3a27exL9DZ7w=
=CWWp
-END PGP SIGNATURE-


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


Re: braces in the lyrics

2008-04-10 Thread Timothy C Litwiller

Wilbert Berendsen wrote:

Op dinsdag 8 april 2008, schreef Timothy C Litwiller:
  

..
other line doesn't have a set stanza with a number in it.



Try putting the brace in the stanza number, and move the (big) brace down 
somewhat using some markup commands (fontsize, raise, or translate, etc.)

http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Overview-of-text-markup-commands

  

..
twice and then the chorus when it is laid out this way.



http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Repeats-and-MIDI


best regards,
Wilbert Berendsen

  
I guess I am not understanding - I can not seem to get a { inside of  
|\markup { } and then apply the right options to double the size and 
lower it to be in front of 2 lines of text. 

It throws the whole file from there on down off.  I'm guessing it is the 
miss matched brackets.



|


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


volta repeat challenge

2008-04-10 Thread Stan Mulder
I want to repeat a 16 bar comping section. 

I can get it to write the slash marks, but the repeat symbols won't show up. I'm
using the "comp" macro found at lilypond.org (I think) which writes the slash
marks. I can post that if necessary.

\repeat volta 2 {
<<
\comp #64
s1*16^\markup {SOLOS}
>>
}

If I insert the repeat bars manually with \bar "|:" and \bar ":|" only the
opening  repeat sign appears.

The chords are defined separately and get inserted at another place.





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


Extracting only lyrics and chords

2008-04-10 Thread Brett Duncan
I have a lily file that contains a vocal line (melody), lyrics, chords 
and piano part. My output from this file is the piano part with centred 
lyrics, and a separate lead sheet showing chords, melody and lyrics. All 
 of this is OK.


But I now have a guitarist who wants only the chords (with barlines) and 
lyrics *without* the melody. And I can't for the life of me see a simple 
way to get this from what I already have. Since the lyrics are being 
associated with the melody, the melody gets printed.


I could add the durations to the lyrics, but I'd like to know if I can 
get what I want without resorting to this.


Any ideas? Am I missing something obvious?

TIA,

Brett


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


Re: Snippet 204 for 2.11 (was Metronome marks)

2008-04-10 Thread Risto Vääräniemi
On 10/04/2008, Matthias Loitsch wrote:

>  But I'm surprised that this is not a standard feature... Changing rhythm like
>  that, is a very common request in my opinion, and should be as easy as
>  \tempo 120.

Yes. That would be nice.

However, I've now used mark & markup to specify the tempo markings
with notes, too. If I use \tempo in the beginning of the piece the
thing is aligned to the closest note and I would like to align it
either on the key signature or time signature just like I do with the
textual tempo markings.

Can you tell me if there is there a way to change the alignment of the
\tempo mark? In the similar way as break-align-symbols in
RehearsalMarks.

-Risto


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