Re: OOoLilyPond and LilyPond 2.8

2006-10-02 Thread Stephen Corey
Samuel,

Got around to trying your 2.8 templates and they seem to work great!  This
meets a need I had recently encountered and will be a handy tool for me at
least.  Thanks for sharing it!

On Tue, 26 Sep 2006 22:55:59 +0200, Samuel Hartmann wrote:

> Hi,
> 
> The OpenOffice.org Plugin OOoLilyPond comes with templates that only 
> work with lilypond 2.6. I have now built some templates that work with 
> 2.8. You can find the templates attached to this mail.
> 
> Unfortunately the music fragments generated with LilyPond 2.8 always 
> have some margin at the left side. Up to now I was not able to get rid 
> of it. Does anybody have an idea?
> 
> 
> regards,
> 
> Samuel
> %% Generated by lilypond-book
> %% Options: [fragment,alt=[image of music],ragged-right,indent=0\mm]
> \include "lilypond-book-preamble.ly"
> 
> 
> 
> 
> 
> 
> 
> % 
> % Start cut-&-pastable-section 
> % 
> 
> \paper {
>   #(define dump-extents #t)
>   
>   ragged-right = ##t
>   indent = 0\mm
>   line-width = 6.5\in
> }
> 
> \layout {
>   
> }
> 
> 
> {
> 
> % ly snippet contents follows:
> 
> \relative c'' {
> a4 b c d
> }
> 
> % end ly snippet
> 
> }
> %% Generated by lilypond-book
> %% Options: [indent=0\mm,fragment,staffsize=26,ragged-right,alt=[image of 
> music]]
> \include "lilypond-book-preamble.ly"
> #(set-global-staff-size 26)
> 
> 
> 
> 
> 
> 
> % 
> % Start cut-&-pastable-section 
> % 
> 
> \paper {
>   #(define dump-extents #t)
>   
>   indent = 0\mm
>   ragged-right = ##t
> }
> 
> \layout {
>   
> }
> 
> 
> {
> 
> 
> % ly snippet contents follows:
> 
> \relative c'' {
> a4 b c d
> }
> 
> % end ly snippet
> 
> }
> %% Generated by lilypond-book
> %% Options: [indent=0\mm,fragment,notime,ragged-right,alt=[image of music]]
> \include "lilypond-book-preamble.ly"
> 
> 
> 
> 
> 
> 
> 
> % 
> % Start cut-&-pastable-section 
> % 
> 
> \paper {
>   #(define dump-extents #t)
>   
>   indent = 0\mm
>   ragged-right = ##t
>   line-width = 6.5\in
> }
> 
> \layout {
>   
>  \context {
>   \Score
>   timing = ##f
>  }
>  \context {
>   \Staff
>   \remove Time_signature_engraver
>  }
> }
> 
> 
> {
> 
> % ly snippet contents follows:
> 
> \relative c'' {
> a4 b c d
> }
> 
> % end ly snippet
> 
> }
> %% Generated by lilypond-book
> %% Options: [alt=[image of music],indent=0\mm,line-width=345\pt]
> \include "lilypond-book-preamble.ly"
> 
> 
> 
> 
> 
> 
> 
> % 
> % Start cut-&-pastable-section 
> % 
> 
> \paper {
>   #(define dump-extents #t)
>   
>   indent = 0\mm
>   line-width = 6.5\in
> }
> 
> \layout {
>   
> }
> 
> 
> % ly snippet contents follows:
> 
> \relative c'' {
> a4 b c d
> }
> 
> % end ly snippet
> ___
> 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


Guitar finger instructions - Glissando for nonadjacent notes

2006-10-02 Thread Luc




Hi
 
I wonder if there is a possibility in Lilypond to 
reproduce the fingering instructions as seen in the attached measures - 
notes that are not adjacent should be connected with a glissando 
line.
 
Thanks
Luc
 


Aire de Zamba 1 meas 13 dpi100.png
Description: PNG image
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: To hide a time signature

2006-10-02 Thread Marcus Macauley

Mats,

If you search the index of the manual for "transparent objects",  
"removing objects",
"hiding objects" or "invisible objects" you will find a link to some  
more information

on the "transparent" property in the manual.


Thanks. I don't know how I missed that before.



\once \override Staff.TimeSignature #'transparent = ##t
As is explained in the manual, this will not do exactly the same thing  
as your
previous solution, since the transparent time signature will still  
occupy some

space (which is usually not desirable for this situation).


Good point. So my original solution, or Kieren's, was probably best.

Marcus


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


Re: drum notation (horizontal beams)

2006-10-02 Thread Mats Bengtsson

See also
http://lists.gnu.org/archive/html/lilypond-user/2005-10/msg3.html

 /Mats

Trevor Bača wrote:


On 10/2/06, David Johnston <[EMAIL PROTECTED]> wrote:


Hi,

Is there any functionality to notate horizontal beams? I'm notating 
drum music
and the beams are typically drawn horizontally to avoid slanted beams 
becoming

distracting.



Hi David,

Try overriding the 'positions attribute of the Beam grob with a
same-valued pair.

%%% FLAT BEAM EXAMPLE %%%

\version "2.9.18"

\new Staff {
   \override Beam #'positions = #'(4 . 4)
   c'8[ d'8 e'8 f'8]
   f'8[ e'8 d'8 c'8]
}

%%% END %%%


The Beam grob is documented here:

http://lilypond.org/doc/v2.9/Documentation/user/lilypond-internals/Beam.html#Beam 



And the complete list of attributes in the beam-interface is found here:

http://lilypond.org/doc/v2.9/Documentation/user/lilypond-internals/beam_002dinterface.html#beam_002dinterface 









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




--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: drum notation (horizontal beams)

2006-10-02 Thread Trevor Bača

On 10/2/06, David Johnston <[EMAIL PROTECTED]> wrote:

Hi,

Is there any functionality to notate horizontal beams? I'm notating drum music
and the beams are typically drawn horizontally to avoid slanted beams becoming
distracting.


Hi David,

Try overriding the 'positions attribute of the Beam grob with a
same-valued pair.

%%% FLAT BEAM EXAMPLE %%%

\version "2.9.18"

\new Staff {
   \override Beam #'positions = #'(4 . 4)
   c'8[ d'8 e'8 f'8]
   f'8[ e'8 d'8 c'8]
}

%%% END %%%


The Beam grob is documented here:

http://lilypond.org/doc/v2.9/Documentation/user/lilypond-internals/Beam.html#Beam

And the complete list of attributes in the beam-interface is found here:

http://lilypond.org/doc/v2.9/Documentation/user/lilypond-internals/beam_002dinterface.html#beam_002dinterface


--
Trevor Bača
[EMAIL PROTECTED]


flat-beams.png
Description: PNG image
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: slashed grace notes

2006-10-02 Thread Mats Bengtsson
As far as I know, that's not supported for the moment. If you search 
the mailing list archives, you will find some tricks that

people have used to work around this problem.

 /Mats

Quoting Mehmet Okonsar <[EMAIL PROTECTED]>:


the manual is not very explicit..
how can I get slashed AND beamed grace notes as 8ths, 16ths etc..
I mean: a slash through the beam
--
Mehmet Okonsar,
pianist-composer-conductor
www.okonsar.com


___
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


slashed grace notes

2006-10-02 Thread Mehmet Okonsar
the manual is not very explicit..
how can I get slashed AND beamed grace notes as 8ths, 16ths etc..
I mean: a slash through the beam
-- 
Mehmet Okonsar,
pianist-composer-conductor
www.okonsar.com


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


RE: Literature?

2006-10-02 Thread Palmer, Ralph
Greetings, Stewart -

I have a book on notation which covers a lot of ground, and which I can
highly recommend:

Music notation, a manual of modern practice.
Read, Gardner.
Boston, Crescendo Publishers, 1972.
ISBN : 087597080X.

The book is the most thorough I've seen, goes deeply into various
aspects of notation, and is quite readable. I used to do a lot of hand
notating, and I found the book valuable. LilyPond does a good job of
documenting the process of notation, but I still refer back to Read
frequently, usually either to clarify something in LilyPond or to
clarify something I come across in music I'm currently playing. I still
enjoy notating by hand, and regard it as a valuable skill for a
musician.

Ralph
+
Ralph Palmer
Energy/Administrative Coordinator
Keene State College
Keene, NH 03435-2502
Phone: 603-358-2230
Cell: 603-209-2903
Fax: 603-358-2456
[EMAIL PROTECTED]


++
Date: Sun, 1 Oct 2006 19:17:27 +0100
From: [EMAIL PROTECTED]
Subject: Literature?
To: lilypond-user@gnu.org
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="US-ASCII"

Hello everyone,

Does anyone know of any good books on the subject of music engraving? A
book containing rules/tips/do/don'ts would be quite a useful investment
I think.

Thanks,
Stewart




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


drum notation (horizontal beams)

2006-10-02 Thread David Johnston
Hi, 

Is there any functionality to notate horizontal beams? I'm notating drum music
and the beams are typically drawn horizontally to avoid slanted beams becoming
distracting. 

regards, 




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


Re: To hide a time signature

2006-10-02 Thread Mats Bengtsson



Marcus Macauley wrote:


If you had followed the link at the bottom of that page to 
"item-interface", you
would have found the solution much quicker. Always remember that the 
information
presented for each graphical object is just a subset of the full 
documentation of all
the available properties. To see it all, you need to browse through 
all the links to the

interfaces.


Indeed, I discovered those links soon after I posted. But the 
particular link you mention, "item-interface", doesn't seem to offer 
much help here. It mentions the "break-visibility" setting, but so 
does the TimeSignature page itself, and it didn't take me long to find 
it on the TimeSignature page. True, the "item-interface" page explains 
it at greater length, though.
For example, it tells you that there is a predefined macro all-invisible 
that can

be used.

What I still don't understand is the "stencil" setting (which Kieren 
suggested as an alternative), which I now see is listed on the 
"grob-interface" page (linked from the bottom of the TimeSignature 
page), but there it appears under "Internal properties" and not under 
"User settable properties". That seems to imply that "stencil" is not 
"user settable", though Kieren's example suggests that it is. Also, 
whether or not "stencil" is "user settable", the "grob-interface" page 
offers no clue as to what values/syntax it might take. The entry reads:



Yes, I already reported that problem to lilypond-bug in my previous email.
BUT, now I notice something I didn't see before. At the bottom of the 
list of "user settable properties" is:


transparent (boolean)
   This makes the grob invisible.

"transparent": That sounds awfully familiar! It's wonder I couldn't 
see it before -- it's like I was looking right through it.
If you search the index of the manual for "transparent objects", 
"removing objects",
"hiding objects" or "invisible objects" you will find a link to some 
more information

on the "transparent" property in the manual.

Sure enough, the following line works like a charm:

\once \override Staff.TimeSignature #'transparent = ##t
As is explained in the manual, this will not do exactly the same thing 
as your
previous solution, since the transparent time signature will still 
occupy some

space (which is usually not desirable for this situation).

  /Mats



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


Re: To hide a time signature

2006-10-02 Thread Marcus Macauley

Mats,

I wrote:
I'm trying to hide the first time signature, but display any which come  
later. So here's a snippet:


\version "2.9.17"
{
\once \override Staff.TimeSignature #'break-visibility = ##(#f #f #f)
\time 4/4 c'1 \time 3/4 c'2.
}

The tweak is based on this page:
http://lilypond.org/doc/v2.9/Documentation/user/lilypond-internals/TimeSignature.html


You replied:
If you had followed the link at the bottom of that page to  
"item-interface", you
would have found the solution much quicker. Always remember that the  
information
presented for each graphical object is just a subset of the full  
documentation of all
the available properties. To see it all, you need to browse through all  
the links to the

interfaces.


Indeed, I discovered those links soon after I posted. But the particular  
link you mention, "item-interface", doesn't seem to offer much help here.  
It mentions the "break-visibility" setting, but so does the TimeSignature  
page itself, and it didn't take me long to find it on the TimeSignature  
page. True, the "item-interface" page explains it at greater length,  
though.


What I still don't understand is the "stencil" setting (which Kieren  
suggested as an alternative), which I now see is listed on the  
"grob-interface" page (linked from the bottom of the TimeSignature page),  
but there it appears under "Internal properties" and not under "User  
settable properties". That seems to imply that "stencil" is not "user  
settable", though Kieren's example suggests that it is. Also, whether or  
not "stencil" is "user settable", the "grob-interface" page offers no clue  
as to what values/syntax it might take. The entry reads:


stencil (unknown)
   The symbol to print.

BUT, now I notice something I didn't see before. At the bottom of the list  
of "user settable properties" is:


transparent (boolean)
   This makes the grob invisible.

"transparent": That sounds awfully familiar! It's wonder I couldn't see it  
before -- it's like I was looking right through it.


Sure enough, the following line works like a charm:

\once \override Staff.TimeSignature #'transparent = ##t

Seeing as "grobs" are ubiquitous in Lilypond (judging from, e.g., the list  
at the bottom of

http://lilypond.org/doc/v2.9/Documentation/user/lilypond-internals/grob_002dinterface.html
), I imagine I won't have too much trouble the next time I want to hide  
something.


(My "stencil" query remains unresolved, but it's not so pressing.)

Thanks, Mats and Kieren, for the help.

Marcus


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


Re: Lilypond & TeX

2006-10-02 Thread Bertalan Fodor
Well, actually as I found, the recent versions of lilypond-book just 
doesn't work on Windows. However, I didn't investigate it.


Bert



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


Re: Lilypond & TeX

2006-10-02 Thread Mats Bengtsson

You didn't read the full section on lilypond-book in the manual
(lilypond-book is a separate program to preprocess the file before
you can send it through LaTeX). However, there are several problems
with lilypond-book on Windows, so you will have to search the mailing
list archives for more information.

  /Mats

[EMAIL PROTECTED] wrote:

(I've lost your previous e-mail to reply to Mats, but thanks for pointing
me to the bibliography.)

Hi all,

I'm trying to use Lilypond in Tex; I'm using Lilypong 2.8.6.1 & MiKTeX 2.5
on Windows XP.

When I run TeX on a file with Lilypond, I get the error 'Environment Lilypond
undefined.'

Obviously I need to do something to 'install' Lilypond so that MiKTeX sees
it, but I have no idea how to; the Lilypond documentation seems to assume
that it's already working, and the MiKTeX docs don't seem to offer anything
either. I've tried various \usepackage statements, but no joy. What am I
doing wrong?

Thanks,
Stewart

___

Tiscali Broadband from 14.99 with free setup!
http://www.tiscali.co.uk/products/broadband/



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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Lilypond & TeX

2006-10-02 Thread running . tostandstill
(I've lost your previous e-mail to reply to Mats, but thanks for pointing
me to the bibliography.)

Hi all,

I'm trying to use Lilypond in Tex; I'm using Lilypong 2.8.6.1 & MiKTeX 2.5
on Windows XP.

When I run TeX on a file with Lilypond, I get the error 'Environment Lilypond
undefined.'

Obviously I need to do something to 'install' Lilypond so that MiKTeX sees
it, but I have no idea how to; the Lilypond documentation seems to assume
that it's already working, and the MiKTeX docs don't seem to offer anything
either. I've tried various \usepackage statements, but no joy. What am I
doing wrong?

Thanks,
Stewart

___

Tiscali Broadband from 14.99 with free setup!
http://www.tiscali.co.uk/products/broadband/



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


Re: To hide a time signature

2006-10-02 Thread Mats Bengtsson



Marcus Macauley wrote:
Indeed, that works too. But where is the "stencil" setting documented? 
And why isn't it mentioned on:
http://lilypond.org/doc/v2.9/Documentation/user/lilypond-internals/TimeSignature.html 


?


That's a very good question, which I forward to bug-lilypond.
If you click on "grob-interface", you will notice that stencil is listed
among the "Internal properties", which probably explains why it isn't
listed on the main page of the graphical object.
I don't think this is a good idea, since we already have a number of 
examples

in the manual, Tips&Tricks and LSR that involves redefining stencil and as
the documentation is generated now, it's for example impossible to 
figure out

what the default value of stencil is for a given object, unless you look in
scm/define-grobs.scm

  /Mats


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


Re: To hide a time signature

2006-10-02 Thread Mats Bengtsson

Marcus Macauley wrote:
I'm trying to hide the first time signature, but display any which 
come later. So here's a snippet:


\version "2.9.17"
{
\once \override Staff.TimeSignature #'break-visibility = ##(#f #f #f)
\time 4/4 c'1 \time 3/4 c'2.
}

The tweak is based on this page:
http://lilypond.org/doc/v2.9/Documentation/user/lilypond-internals/TimeSignature.html 



If you had followed the link at the bottom of that page to 
"item-interface", you
would have found the solution much quicker. Always remember that the 
information
presented for each graphical object is just a subset of the full 
documentation of all
the available properties. To see it all, you need to browse through all 
the links to the

interfaces.

  /Mats


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