Re: eps, markup and adding hammer-on/pull-off to tablature

2009-07-23 Thread Marc Hohl

Federico Bruni schrieb:

Marc Hohl wrote:

Federico Bruni schrieb:

Hi all,

I'm trying to add hammer-on and pull-off to a tablature.
These are not supported by tablature.ly, so I was told to use an 
.eps file and \markup to get what I want.



Hi Federico,

as long as you need simple slurs to indicate hammer-on and pull-off,
you'll have to add

\revert TabVoice.Slur #'stencil

in the TabVoice you want the slurs to be displayed.



Hi Marc,

thanks for your reply.

It could be a solution for now: I mean, the slurs displayed on tab are 
the same I have in the staff. So while the slope is normal in the 
staff, it looks weird in the tab. (looks attached file to see what I 
mean)


But this could be a first step..
.. as long as I manage to tie the slurs to the tab numbers (as you can 
see in the .pdf, they are too up).
The big distance is true to the fact that the stems in tablature are 
still there, but invisible.
You can try to use \slurDown or \stemDown, or alternatively move the 
slurs by


\override Slur  #'control-points = #'(  )

but since I didn't ever played around with control points, I can't help 
you with that.


Marc


Can I control the position of these slurs?





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


Re: Best name for function to create cross-style noteheads

2009-07-23 Thread Carl Sorensen



On 7/22/09 8:29 AM, "Kieren MacMillan" 
wrote:

> Hi all,
> 
> Just adding my 2¢...
> 
>>> I might disagree. I'm big on semantics, and I would rather have a
>>> lot of commands that create the same look but mean different
>>> things, than have one command that creates a look which could mean
>>> a lot of different things. I don't know how people will be using
>>> LilyPond in the future, but I'd like for the program not to get
>>> stuck in ambiguous semantics.
>> 
>> I agree with your concern with semantics.
> 
> -1: I would much rather see one WISIWYG (What It Says Is What You
> Get) function rather than multiple WIMGRITSCDF (What It Means Gets
> Resolved Internally To Some Completely Different Function) functions.
> First of all, it minimizes namespace crowding; secondly, it reduces
> confusion and complexity in the docs (no need for crossrefs, etc.).
> 
>> The user semantic would be worse.
> 
> -1: The *composer-user* semantic might [!] be worse, but the
> *engraver-user* semantic would be better.
> 
>> There are two different kinds of semantics that apply.  One is the
>> semantic
>> that the composer sees.  The other is the semantic that the
>> engraver sees.
> 
> If by "engraver" you mean "person who is using Lilypond to engrave",
> then +1.  =)
> 
> The main problem I see in this thread is that we're trying to turn
> Lilypond into a *composing* application rather than thinking of it as
> purely an *engraving* application: when I *compose* for strings (I
> use pen and paper) I create/use/think "harmonics", but when I
> *engrave* the score (I use Lilypond) I code/use/think "diamond".
> 

I think I have a better definition now.  Instead of "user" and "engraver", I
want "music" and "engraving".  The key objective of LilyPond is to have the
author of a LilyPond input file specify only the musical semantics (i.e. the
intended musical meaning).  Then a perfect LilyPond would know exactly what
to do with that musical meaning to make a perfectly-engraved score.

"harmonics" is a muscial semantic; "diamond" is an engraving semantic.  I
think that the closer we get to musical semantics, the better LilyPond input
is.

As an example of this point, I cringe every time I have to tweak something
to make it work, because I'm working in engraving semantics, not musical
semantics.  Moving slur control points is an example of this; there's no
musical content at all in the location of slur control points; it's all
engraving content.   While I want to have access to the engraving content,
I'd prefer never to have to touch it, because a perfect LilyPond would do
all the engraving automatically.  I'd tell it what I want musically; it
would give me perfect output sheet music.

For me, I think the "correct musical semantics" argument overrides the
"don't expand the namespace" argument.

Thanks,

Carl



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


ANN: LilyPondTool 2.12.869 Final Released

2009-07-23 Thread Bertalan Fodor (LilyPondTool)

Dear LilyPonders,

after some weeks of beta testing (thanks goes to those who tested and 
reported problems), I've released the latest version of LilyPondTool to 
the jEdit plugin central. Hopefully it will be soon available for 
download from the plugin manager.


But they, who can't wait until that, can download the latest version from:

https://sourceforge.net/projects/lily4jedit/files/lily4jedit/LilyPondTool-2.12.869/lily4jedit-2.12.869.zip/download

After it is available from the Plugin Manager, I will send a 
notification. That notification could go to the LilyPond News page and 
other interested lists.


One more: in the future more frequent plugin manager releases are 
coming, as the build/release procedure is much simpler now, than before.


Cheers,

Bert



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


Re: 2.13.3 docs emacs mode documentation AU 2.2.1 out of date?

2009-07-23 Thread David Stocker

Paul,

Are you using Linux or Windows XP?

After you install LilyPond, you'll have all the files you need for 
lilypond-mode to work right there in your installation directory. You'll 
just need to tell Emacs where to locate them.


In your .emacs.d directory you'll need a file called "init.el" It may 
already be present. If it's not, create it.


In that file, past the following lines:

(setq load-path (append (list (expand-file-name 
"*//home/david/lilypond/usr/share/emacs/site-lisp/*")) load-path))


(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t)
(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
(add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode))
(add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))

I've bolded and italicized the path to my lilypond-mode files. Change 
them to in your init.el to point to the location of yours and you should 
be all set.


Hope that helps,

David


Paul Scott wrote:

James E. Bailey wrote:


On 23.07.2009, at 04:20, Paul Scott wrote:


Hi,

I'm resurrecting a laptop whose hard drive died.  I'm trying to set 
up Emacs lilypond-mode.


AU 2.2.1 tells me to do a 'make install' in the elisp directory.  I 
don't see a makefile and 'make install' doesn't find an install 
target rule.  Am I missing something or are the docs behind?


Thanks,

Paul Scott



That only applies if lilypond-mode isn't installed on your platform 
(first paragraph, last sentence).


I believe that lilypond isn't installed.  This is a fresh install of 
everything since the hard drive died.


Even so why would the makefile be gone if I had done the lilypond-mode 
install.


Usually you can just move the files to where they need to go and 
ammend your ~/.emacs appropriately


I do see where the lilypond-mode file is so I can probably install it 
manually but I still wonder about the documentation.


Thanks,

Paul



James E. Bailey





___
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: 2.13.3 docs emacs mode documentation AU 2.2.1 out of date?

2009-07-23 Thread David Stocker
To clarify, replace everything between the " " with the exact syntax and 
spelling of your site-lisp directory. I just realized that bold and 
italic may show up on some people's system as * * and extra / /


David

David Stocker wrote:

Paul,

Are you using Linux or Windows XP?

After you install LilyPond, you'll have all the files you need for 
lilypond-mode to work right there in your installation directory. 
You'll just need to tell Emacs where to locate them.


In your .emacs.d directory you'll need a file called "init.el" It may 
already be present. If it's not, create it.


In that file, past the following lines:

(setq load-path (append (list (expand-file-name 
"*//home/david/lilypond/usr/share/emacs/site-lisp/*")) load-path))


(autoload 'LilyPond-mode "lilypond-mode" "LilyPond Editing Mode" t)
(add-to-list 'auto-mode-alist '("\\.ly$" . LilyPond-mode))
(add-to-list 'auto-mode-alist '("\\.ily$" . LilyPond-mode))
(add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock)))

I've bolded and italicized the path to my lilypond-mode files. Change 
them to in your init.el to point to the location of yours and you 
should be all set.


Hope that helps,

David


Paul Scott wrote:

James E. Bailey wrote:


On 23.07.2009, at 04:20, Paul Scott wrote:


Hi,

I'm resurrecting a laptop whose hard drive died.  I'm trying to set 
up Emacs lilypond-mode.


AU 2.2.1 tells me to do a 'make install' in the elisp directory.  I 
don't see a makefile and 'make install' doesn't find an install 
target rule.  Am I missing something or are the docs behind?


Thanks,

Paul Scott



That only applies if lilypond-mode isn't installed on your platform 
(first paragraph, last sentence).


I believe that lilypond isn't installed.  This is a fresh install of 
everything since the hard drive died.


Even so why would the makefile be gone if I had done the 
lilypond-mode install.


Usually you can just move the files to where they need to go and 
ammend your ~/.emacs appropriately


I do see where the lilypond-mode file is so I can probably install it 
manually but I still wonder about the documentation.


Thanks,

Paul



James E. Bailey



 



___
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





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


Staff change in a chord

2009-07-23 Thread Oscar van Eijk
Hi all,

I wrote a piece for piano that I'm now typesetting in Lilypond. However,
there's a construction in which I run into problems.
I've attached an snippet that shows a bit what I need (it's the same bar
twice); the triplets in the left hand are connected to a chord, but the
highest notes are played by the right hand.
Adding a staff change in the triplets is no problem (see the second
bar), but that won't work in a chord: I tried:
 \times 2/3 { cis,8~ d~ \change Staff=up a~ } \change Staff=down 4
but that gives me an "unexpected \change".

Is there any way to achieve this?
Below is the code for the attached snippet.

Thanks in advance,
Oscar

\new PianoStaff <<
 \new Staff = "up" {
  \clef treble
s4 fis'8 e'16 d' s4 a'8 g'16 fis'
s4 fis'8 e'16 d' s4 a'8 g'16 fis'
   \bar "||"
  }
 \new Staff = "down" {
   \clef bass
   \set tieWaitForNote = ##t
   \times 2/3 { cis,8~ d~ a~ } 4
   \times 2/3 { d,8~ fis~ d'~ } 4

   \times 2/3 { cis,8~ d~ \change Staff=up a~ } \change Staff=down 4
   \times 2/3 { d,8~ fis~ \change Staff=up d'~ } \change Staff=down 4

   \bar "||"
}
>>


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


Re: Best name for function to create cross-style noteheads

2009-07-23 Thread Mark Polesky

Carl Sorensen wrote:

> For me, I think the "correct musical semantics" argument overrides the
> "don't expand the namespace" argument.

Pardon my ignorance, but is there a legitimate downside to expanding
the namespace? Does it affect performance speed? Eat up memory? Or is
it just that it makes the program look more "clogged" with commands or
something? I'm thinking of the comparison between LISP and Scheme.
They say the entire Scheme standard is smaller than the index of the
LISP standard, so it's more compact. I guess Scheme users might say "I
don't want a whole bunch of features I'm never going to use". But I
imagine LISP users might say "I wouldn't want to have to keep defining
basic operators that Scheme removed from LISP". Is it a personal thing
or is there a clear advantage to having a smaller namespace?

Thanks.
- Mark



  


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


volta repeats with alternatives

2009-07-23 Thread Felix Krause

Hi all,

I have two problems with endings of volta repeats:

1) I have a volta repeat with an alternative ending, like this:

\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
\repeat volta 2 { r4 f r f }
\alternative { { r f r f } {  r f r a, } }
d a d a

The two endings should have the same bar (=measure) number. But  
lilypond increments the bar number of the second ending by 1. This is  
pretty annoying, as I need to manually set the bar number, like this:


\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
\repeat volta 2 { r4 f r f }
\alternative { { r f r f } {
\set Score.currentBarNumber = #2
r f r a, } }
d a d a

Is there a setting or something to do this automatically? Why isn't it  
done by default anyway? (btw: the override command is just used to  
demonstrate the problem, I only need the measure numbers at the  
beginning of each line.)



2) I want to place a mark over the bar right after the second ending:

\repeat volta 2 { r4 f r f }
\alternative { { r f r f } {  r f r a, } }
\bar "||" \mark "A"
d a d a

The "A" is printed above the bar of the second ending - it would be  
prettier to have it right above the bar. I found this in the language  
reference to shorten the bars:


\repeat volta 2 { r4 f r f }
\alternative { { r f r f } {
\set Score.voltaSpannerDuration = #(ly:make-moment 3 4)
  r f r a, } }
\bar "||" \mark "A"
d a d a

Unfortunately, this closes the second bar with a vertical line for  
some reason. How do I make it stay open? (or how do I print the "A" to  
the same height as the bar without shortening it?)



Cheers,
Felix


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


Re: volta repeats with alternatives

2009-07-23 Thread Paul Scott

Felix Krause wrote:

Hi all,

I have two problems with endings of volta repeats:

1) I have a volta repeat with an alternative ending, like this:

\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
\repeat volta 2 { r4 f r f }
\alternative { { r f r f } {  r f r a, } }
d a d a

The two endings should have the same bar (=measure) number. But 
lilypond increments the bar number of the second ending by 1. This is 
pretty annoying, as I need to manually set the bar number, like this:


\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
\repeat volta 2 { r4 f r f }
\alternative { { r f r f } {
\set Score.currentBarNumber = #2
r f r a, } }
d a d a

Is there a setting or something to do this automatically? Why isn't it 
done by default anyway? (btw: the override command is just used to 
demonstrate the problem, I only need the measure numbers at the 
beginning of each line.)


This has been discussed here before.  This is the way LilyPond works.  
Lily's way is consistent with many printed scores even though your way 
is sometimes done.


Paul Scott





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


Re: 2.13.3 docs emacs mode documentation AU 2.2.1 out of date?

2009-07-23 Thread Paul Scott

David Stocker wrote:
To clarify, replace everything between the " " with the exact syntax 
and spelling of your site-lisp directory. I just realized that bold 
and italic may show up on some people's system as * * and extra / /


Thanks!

I'll try this later today on my laptop.  (running Debian sid).

If you feel qualified to suggest an improvement for AU 2.2.1 please do.

Paul






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


Re: 2.13.3 docs emacs mode documentation AU 2.2.1 out of date?

2009-07-23 Thread James E. Bailey


On 23.07.2009, at 07:16, Paul Scott wrote:


James E. Bailey wrote:


On 23.07.2009, at 04:20, Paul Scott wrote:


Hi,

I'm resurrecting a laptop whose hard drive died.  I'm trying to  
set up Emacs lilypond-mode.


AU 2.2.1 tells me to do a 'make install' in the elisp directory.   
I don't see a makefile and 'make install' doesn't find an install  
target rule.  Am I missing something or are the docs behind?


Thanks,

Paul Scott



That only applies if lilypond-mode isn't installed on your  
platform (first paragraph, last sentence).


I believe that lilypond isn't installed.  This is a fresh install  
of everything since the hard drive died.


This is a question you should be able to answer, is lilypond  
installed or not. If it is, and you've installed from a binary, i.e.,  
not built it yourself, you should have everything you need. If you've  
installed from source, then depending on what you've installed, you  
may or may not need to build and install lilypond-mode.


Even so why would the makefile be gone if I had done the lilypond- 
mode install.


Because makefiles are often not provided when the files they create are.



Usually you can just move the files to where they need to go and  
ammend your ~/.emacs appropriately


I do see where the lilypond-mode file is so I can probably install  
it manually but I still wonder about the documentation.


Thanks,

Paul


The documentation is written from the point of view of a bare bones  
install. If you have the files the documentation refers to, then  
you're a couple of steps ahead.




James E. Bailey



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


Re: Staff change in a chord

2009-07-23 Thread Mark Polesky

Oscar van Eijk wrote:
> Hi all,
>
> I wrote a piece for piano that I'm now typesetting in Lilypond.
> However, there's a construction in which I run into problems. I've
> attached an snippet that shows a bit what I need (it's the same bar
> twice); the triplets in the left hand are connected to a chord, but
> the highest notes are played by the right hand. Adding a staff change
> in the triplets is no problem (see the second bar), but that won't
> work in a chord: I tried:
>
> Is there any way to achieve this?
> Below is the code for the attached snippet.

Often music engravers will use an L-shaped bracket to indicate
hand-distributions that contradict the note-placement within the
staves. Off the top of my head, I can't think of an easy way to
do this in LilyPond without abusing commands, but visually, that's
the engraving approach I would recommend in this case. Perhaps I
can look into a way of doing this. Does anyone have a suggestion?

- Mark


  


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


Re: 2.13.3 docs emacs mode documentation AU 2.2.1 out of date?

2009-07-23 Thread Paul Scott

James E. Bailey wrote:


On 23.07.2009, at 07:16, Paul Scott wrote:


James E. Bailey wrote:


On 23.07.2009, at 04:20, Paul Scott wrote:


Hi,

I'm resurrecting a laptop whose hard drive died.  I'm trying to set 
up Emacs lilypond-mode.


AU 2.2.1 tells me to do a 'make install' in the elisp directory.  I 
don't see a makefile and 'make install' doesn't find an install 
target rule.  Am I missing something or are the docs behind?


Thanks,

Paul Scott



That only applies if lilypond-mode isn't installed on your platform 
(first paragraph, last sentence).


I believe that lilypond isn't installed.  This is a fresh install of 
everything since the hard drive died.


This is a question you should be able to answer, is lilypond installed 
or not.


That should have said lilypond-mode.
If it is, and you've installed from a binary, i.e., not built it 
yourself, you should have everything you need. If you've installed 
from source, then depending on what you've installed, you may or may 
not need to build and install lilypond-mode.


Even so why would the makefile be gone if I had done the 
lilypond-mode install.


Because makefiles are often not provided when the files they create are.


See below.




Usually you can just move the files to where they need to go and 
ammend your ~/.emacs appropriately


I do see where the lilypond-mode file is so I can probably install it 
manually but I still wonder about the documentation.


Thanks,

Paul


The documentation is written from the point of view of a bare bones 
install. If you have the files the documentation refers to, then 
you're a couple of steps ahead.


What do you believe was not bare bones about my install?  I did a 
standard GUB install from the website.  It is the only version I have 
installed.


Paul





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


Moving metronome markings

2009-07-23 Thread Josh Nichols
How can I raise or lower the metronome marking in the following example:

\version "2.12.2"
c'' {
  \clef treble
  \time 2/4
  \tempo 4 = 120
 c e
}

Any guidance?  Thanks for your help!

-
Josh Nichols

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


Re: Staff change in a chord

2009-07-23 Thread Alexander Kobel

Mark Polesky wrote:

Oscar van Eijk wrote:

Hi all,

I wrote a piece for piano that I'm now typesetting in Lilypond.
However, there's a construction in which I run into problems. I've
attached an snippet that shows a bit what I need (it's the same bar
twice); the triplets in the left hand are connected to a chord, but
the highest notes are played by the right hand. Adding a staff change
in the triplets is no problem (see the second bar), but that won't
work in a chord: I tried:

Is there any way to achieve this?
Below is the code for the attached snippet.


Often music engravers will use an L-shaped bracket to indicate
hand-distributions that contradict the note-placement within the
staves. Off the top of my head, I can't think of an easy way to
do this in LilyPond without abusing commands, but visually, that's
the engraving approach I would recommend in this case. Perhaps I
can look into a way of doing this. Does anyone have a suggestion?


Ah, I think you mean something like this? 
http://lilypond.org/doc/v2.13/input/lsr/lilypond-snippets/Keyboards#Indicating-cross_002dstaff-chords-with-arpeggio-bracket 



I know the L-shaped form, too; probably one can adapt the solution from 
the snippet above and cut out a piece of the bracket... But yeah, sounds 
like work...



Cheers,
Alexander


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


Re: Best name for function to create cross-style noteheads

2009-07-23 Thread Kieren MacMillan

Hi Mark,


is there a clear advantage to having a smaller namespace?


No need to maintain crossrefs and aliases in the documentation.
[Might not be a huge thing, but it's a "clear advantage".]

Cheers,
Kieren.


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


Re: Moving metronome markings

2009-07-23 Thread Alexander Kobel

Josh Nichols wrote:

How can I raise or lower the metronome marking in the following example:

\version "2.12.2"
c'' {
  \clef treble
  \time 2/4
  \tempo 4 = 120
 c e
}

Any guidance?  Thanks for your help!



Hi, Josh,

try
\once \override Score . MetronomeMark #'padding = #42
for your favourite value of 42 just before \tempo.


Cheers,
Alexander


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


Re: Staff change in a chord

2009-07-23 Thread Mark Polesky

Alexander Kobel wrote:
> Ah, I think you mean something like this?
> http://lilypond.org/doc/v2.13/input/lsr/lilypond-snippets/Keyboards#Indicating-cross_002dstaff-chords-with-arpeggio-bracket
>
>
> I know the L-shaped form, too; probably one can adapt the
> solution from the snippet above and cut out a piece of the
> bracket... But yeah, sounds like work...

I was looking at that, but ultimately, I don't think that will be
good enough. What happens if the user wants to use a hand
distribution bracket in the middle of an actual arpeggio?

That's what I mean when I say "abusing" commands. I don't think we
should get in the habit of doing things like using \arpeggio when
we really mean \rightHandBracket (or whatever we'll end up calling
it).

I'm working on a function to try to address this.
- Mark


  


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


Re: Best name for function to create cross-style noteheads

2009-07-23 Thread Carl Sorensen



On 7/23/09 12:28 PM, "Kieren MacMillan" 
wrote:

> Hi Mark,
> 
>> is there a clear advantage to having a smaller namespace?
> 
> No need to maintain crossrefs and aliases in the documentation.
> [Might not be a huge thing, but it's a "clear advantage".]

I don't think it's necessary to maintain crossrefs.

We have instrument-specific sections of the manual.  Harmonics for string
instruments can be introduced as \harmonic in the string instrument part of
the notation.  Silent presses (natural resonance) for keyboards can be
taught in the keyboard part of the manual.  The fact that both use
diamond-shaped noteheads is irrelevant, as far as the manual is concerned, I
think.

Similarly, we can notate keySlap in woodwinds and deadNote in fretted
strings.  The fact that both use xNoteHead is irrelevant as far as the
manual is concerned, IMO.

Thanks,

Carl



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


Re: ANN: LilyPondTool 2.12.869 Final Released

2009-07-23 Thread Martial

Hi,

Thanks and thanks for your work !

Just a litle mistakes

Menu Plugins
LilyPondTool
Block
{}
done "< >"  in place of "{ }"

and

Menu Utilities
Global Option
JEdit
Shortcuts Plugin: LilyPondTool

There are no blocs "{ }'


Regards
--
Martial



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


Re: Staff change in a chord

2009-07-23 Thread Robin Bannister

Mark Polesky wrote:
Does anyone have a suggestion? 



Some time back I chose this missing bracket as a theme for a Scheme exercise. 
Nothing revolutionary, just to get some practice in Scheme. 
It has the limitations arising from misusing Arpeggio. 

I found it needed a lot of different tweaks to get it to fit each situation, 
so it ended up with the tweak options packed into a single string parameter. 

My Scheme stuff is ready for beta testing, 
but that would need an instruction manual explaining the tweaks. 
I had to interrupt this documentation work a few months back, 
and could probably resume fairly soon. 

It would be nice if something like this could have its own engraver 
and so avoid the Arpeggio-sharing limitations. 



Using my thumbBracket code in the demo file,  
Oscar's first bar would read something like 


\new Staff = "down" {
  \clef bass
  \set tieWaitForNote = ##t
  \times 2/3 { cis,8~ d~ \thBr "R4001" a~ } 4
  \times 2/3 { d,8~ fis~ \thBr "R" d'~ } 4
  \bar "||"
}


Cheers,
Robin\version "2.12.1"

%% +thumb bracket

#(define (make-thumb-bracket-props location spec-str settings-alist) 
  (define (inchar? index) (> (string-length spec-str) index))
  (define (inchar  index) (string-ref spec-str index))
  (define (char->dir ch) 
   (case (char-upcase ch) ((#\R) 1) ((#\L) -1) (else 0))) 
  (define (char->digit ch)
   (if (char-numeric? ch) (- (char->integer ch) (char->integer #\0)) 0))
  (define (inhit->1 key-str) (if (string-contains spec-str key-str) 1 0))
  (define (get key) (assq-ref settings-alist key))
  (define (warn p1 p2) (ly:warning 
   (_ " ~a bad thumb-bracket ~a ~a~a~a") location p1 "" p2 ""))
  (let* ( ;% decode spec
(vdir(if (inchar? 0) (char->dir   (inchar 0)) 0))
(vbigger  (* 0.5 (if (inchar? 1) (char->digit (inchar 1)) 0)))
(vfurther (* 0.5 (if (inchar? 2) (char->digit (inchar 2)) 0)))
(hcloser  (* 0.5 (if (inchar? 3) (char->digit (inchar 3)) 0)))
(hrear(* 0.5 (if (inchar? 4) (char->digit (inchar 4)) 0)))
(vbigger+ (* 5 (string-count spec-str #\|)))
(posdir   ((if (string-contains spec-str "*") - +) vdir))
(hcloser? (eq? (string-contains spec-str "!") #f))
(vtip=?   (string-contains spec-str "="))
(hdir-req (- (inhit->1 "]") (inhit->1 "[")))
(closed? (char-lower-case? (inchar 0
   (if (zero? vdir) (begin (warn "first char in" spec-str) '())
   (let* ( ;% collect settings
(hdir-init (get 'hdir-init))   (htip (get 'htip)) 
(vtip (get (if vtip=? 'vtip= 'vtip)))  
(vstem (get 'vstem))   (vmin (get 'vmin))   (hvernier (get 'hvernier))
(vO 0) (hO 0) (hpad-base 0.5) ;% givens
(hdir (if (zero? hdir-req) hdir-init hdir-req))
(hflip? (positive? hdir))
(h-interval 
 (if (positive? hdir) (cons hO (+ htip hrear)) (cons (- hrear) htip)))
(vsize (+ vtip (if closed? vtip vstem) vbigger vbigger+))
(vsize+ (if (and closed? (< vsize vmin)) (- vmin vsize) 0))
(vshift (+ vfurther vtip (* 0.5 vsize+)))
(bracket (lambda (grob) (let* ( ;% collect chord range from grob
  (vnote-lo-hi (ly:grob-property grob 'positions))
  (vnote ((if (eq? posdir 1) cdr car) vnote-lo-hi)))
 (grob-interpret-markup grob (markup #:translate (cons 
((if (positive? hdir) - +) hvernier) (- vnote (* vdir vshift)))
   #:combine #:draw-line (cons htip vO) #:combine 
#:translate (cons hO (if closed? (* vdir (+ vsize vsize+)) vO))
 #:draw-line (cons htip vO)
#:translate (cons (if (positive? hdir) htip hO) vO)
 #:draw-line (cons hO (* vdir (+ vsize vsize+)
;% alist of props for misusing Arpeggio as a thumb bracket
`((stencil . ,bracket) 
  (X-extent . ,h-interval) 
  (padding . ,((if hcloser? - +) hpad-base hcloser)) 
  (direction . ,hdir) 
  (thickness . ,(get 'weight)))

thumbBracketEx = #(define-music-function 
  (parser location spec settings) (string? list?)
 (let* (
   (props (make-thumb-bracket-props location spec settings)))
   (define (get key) (assq-ref props key))
  (if (null? props) (make-music 'SequentialMusic 'void #t) 
   #{
 \once \override Arpeggio #'stencil   = #($get 'stencil)
 \once \override Arpeggio #'X-extent  = #($get 'X-extent)
 \once \override Arpeggio #'padding   = #($get 'padding)
 \once \override Arpeggio #'direction = #($get 'direction) 
 \once \override Arpeggio #'thickness = #($get 'thickness)
 $(make-music 'EventChord 'elements (list (make-music 'ArpeggioEvent)))
   #})))

thumbBracket = #(define-music-function (parser location spec) (string?)
 (let ((settings thumbBracketSettings)) ;% as Defaults, or user defined
   ((ly:music-function-extract thumbBracketEx) 
  parser location spec settings)))

thumbBracketDefaults = #(quasiquote( 
  (hdir-init . ,LEFT) ;% usual placement wrt note: on RIGHT or LEFT
  (weight. 1.5  ) ;% line thickness
  (htip  . 0.8  ) ;% horizontal length of bracket tip
  (vtip  . 0.75 

Re: clip-systems png output?

2009-07-23 Thread M Watts

On 07/23/2009 01:24 PM, ian rashkin wrote:

hi, am a total newbie to lilypond, but way impressed, hope to use it a lot.
interested in outputting clips as png, so trying various combinations, all of
which are the same result.

file scale.ly:

\version "2.12.0"  % necessary for upgrading to future LilyPond versions.
#(ly:set-option 'clip-systems #t)

\header{
   %title = "A scale in LilyPond"
}
\score {

\relative c' {
  c d e f g a bes c d ees8( e) c4 b c~ c1
}

\layout {
  clip-regions
  = #(list
  (cons
   (make-rhythmic-location 3 0 4)
   (make-rhythmic-location 4 0 4)))
}
}

lilypond --png scale.ly

i get a clipped eps (or so it would appear), and a full ps and png. if i leave
out the --png, i get a clipped pdf.

am i doing this wrong, or is it not possible to get a png clip?

thanks,
ian



I couldn't get the clips in png format either, trying `lilypond 
-dclip-systems --png clips.ly'



Maybe you use the `convert' command from ImageMagic to convert the eps 
file to png?



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


attaching buzz marking in percussion

2009-07-23 Thread M@ Nichols
Instead of putting a single, double, or triple slash tremolo on a snare drum
note, how do you add the "z" as a roll?
\version "2.12.2"
\drums {
  sn4 sn8 sn sn4 sn4:32
  sn8 sn16 sn sn sn8 sn16 sn8 sn sn4
}

How would I add the "z" marking to the red snare example?
-- 
Matthew R. Nichols

 "Therefore do not worry about tomorrow, for tomorrow will worry about
itself.  Each day has enough trouble of its own" --Matthew 6:34

 "Cast all of your anxiety on Him, for He cares for you"  -- 1 Peter 5:7
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


I want to download Lilypond notation programm

2009-07-23 Thread Atie Bernet
Hello,

I am a Dutch composer who moved to Sweden to live there.
Till I lived here in Sweden, I always used Finale, which I bought in Holland 
legally...but now they sent awful blockings, so that I had to register 
again...but did not have the registration-number anymore...
And now all of my sheetmusic has been blocked...I cannot print my own legally 
made compositions any more!!!
And worse, Finale-site gave me no opportunity to email them to say thisÄ! Very 
bad...and when I installed a so-called free Finale-notepad, they blocked me 
again!

So now I reach out to Lilypond, and I hope to continue my composing and 
arranging..., I set some free to print things on internet,


Can you help me: how do I have to download, can you send me the address or 
link?
I would really appreciate it.
In the past I used my Finale also for a lot of pupils to make them smile when 
playing nice arrangements of classical music.

Please help!


With kind regards,

Atie Bernet 



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


Re: Best name for function to create cross-style noteheads

2009-07-23 Thread Marc Hohl

Carl Sorensen schrieb:


On 7/23/09 12:28 PM, "Kieren MacMillan" 
wrote:

  

Hi Mark,



is there a clear advantage to having a smaller namespace?
  

No need to maintain crossrefs and aliases in the documentation.
[Might not be a huge thing, but it's a "clear advantage".]



I don't think it's necessary to maintain crossrefs.

We have instrument-specific sections of the manual.  Harmonics for string
instruments can be introduced as \harmonic in the string instrument part of
the notation.  Silent presses (natural resonance) for keyboards can be
taught in the keyboard part of the manual.  The fact that both use
diamond-shaped noteheads is irrelevant, as far as the manual is concerned, I
think.

Similarly, we can notate keySlap in woodwinds and deadNote in fretted
strings.  The fact that both use xNoteHead is irrelevant as far as the
manual is concerned, IMO.

  

I think it would be the easiest way to define a neutral name first.
Personally, I like the idea of \xHead, \xHeadOn and \xHeadOff.

We can add the desired aliases later (maybe it will lead to a file
simply designed for this purpose, called aliases.ly?).

Perhaps there is even a possibility to create a documentation
comparable to the feta font glyphs which is generated automatically
from the contents of the file, so there are all cross references included
(I don't know if this would work).


Marc

Thanks,

Carl



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

  




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


Re: 2.13.3 docs emacs mode documentation AU 2.2.1 out of date?

2009-07-23 Thread Paul Scott

David Stocker wrote:

Paul,

Are you using Linux or Windows XP?

After you install LilyPond, you'll have all the files you need for 
lilypond-mode to work right there in your installation directory. 
You'll just need to tell Emacs where to locate them.


In your .emacs.d directory you'll need a file called "init.el" It may 
already be present. If it's not, create it.

Did you mean .emacs?  .emacs.d (in my home directory) is owned by root.

Thanks,

Paul





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