Re: Markup and music side by side

2008-07-10 Thread Risto Vääräniemi
Hi Kieren,

On 10/07/2008, Kieren MacMillan wrote:

 Don't forget that \markup can include \score (as long as that \score
 includes a \layout):

Sounds very promising. Thank you very much, Kieren (again :-)).

I already wrote the piece using CorelDraw to place the instructions
and the choir parts but it's certainly worth a couple more hours to
make the layout work with just LP.

-Risto


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


Re: Custom noteheads and chords

2008-07-10 Thread Trevor Daniels


The example in section 4.6.5 of the Learning Manual might be a good starting 
point.


Trevor

- Original Message - 
From: Eric Knapp [EMAIL PROTECTED]

To: lilypond-user@gnu.org
Sent: Thursday, July 10, 2008 5:19 AM
Subject: Re: Custom noteheads and chords



Music functions? Ah, ha! That may be the answer. I'm embarrassed to
say it but I actually teach computer programming at a college and I
didn't know about music functions. I think I will be using them a lot
now that I have read about them. I can't believe that I haven't
stumbled on them before. I will try a bunch of experiments and post my
progress.

-Eric (the hopeless newbie)

On Wed, Jul 9, 2008 at 11:00 PM, Carl Sorensen [EMAIL PROTECTED] wrote:

Trevor Daniels t.daniels at treda.co.uk writes:



Eric

\tweak may be the command you need.  Have a look at section 4.1.4 
Tweaking
methods in the Learning Manual for release 2.11 to see why this is 
needed
and how to use it.  The explanation there applies just as well to 
release
2.10.  However, I believe it is not possible to use \tweak in a 
variable, so

this might not be quite the answer you want.


You can, however, use \tweak in a music function, can't you?

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





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


override-auto-beam-setting in safe mode

2008-07-10 Thread Peter Van Kranenburg

Hello all,

When I do

#(override-auto-beam-setting '(end * * 3 4) 1 4)

in safe mode, I get the following error:

Parsing...ERROR: Unbound variable: override-auto-beam-setting

Is there a solution for this?

thanks,
Peter van Kranenburg



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


Re: Markup and music side by side

2008-07-10 Thread Michal Seta
On Thu, Jul 10, 2008 at 2:24 AM, Risto Vääräniemi [EMAIL PROTECTED] wrote:
 I already wrote the piece using CorelDraw to place the instructions
 and the choir parts but it's certainly worth a couple more hours to
 make the layout work with just LP.

I, too, am working on a piece that includes poetry (not necessarily
synced with the score), various instructions, improvisation directives
and drawings and I found that using OOoLilyPond gives me the necessary
flexibility.  You may wish to take a look at that (you obviously need
OpenOffice as well).

-- 
./MiS
514-344-0726
http://www.creazone.ca


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


where can one find the default settings

2008-07-10 Thread Kieren MacMillan

[Lilypond 2.11.49]

Hello all!

Just wondering if there's any documentation on where to find the  
default settings for a given grob — for example, I don't know where  
to look to find the default BreathingSign #'font-size setting (which  
I need right now). [I can easily drill down to the font-interface  
page, but no specific answer can be found there, because it's an  
interface shared by so many different grobs...]


Once again, I would like to suggest that all settings for a given  
grob should be available in a single documentation page — e.g., the  
grob LayoutObject page — so that users don't have to hunt them down  
in fourteen different places, assuming they even know where to look  
to begin with. [This list of settings should be *automatically*  
generated, of course, so that no one would have to manually build it  
for each new Lilypond version...]


Thanks,
Kieren.

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


Re: dynamic spanner help

2008-07-10 Thread Patrick McCarty
On Wed, Jul 9, 2008 at 3:10 PM, James E. Bailey [EMAIL PROTECTED] wrote:

 Am 09.07.2008 um 23:34 schrieb Patrick McCarty:

 The Dynamic_engraver was recently split into the
 New_dynamic_engraver and the Dynamic_align_engraver, so if you
 include these engravers instead of Dynamic_engraver, both of your
 examples will work.  Here's the latter one (modified):

 Thanks tons, so, what does the Dynamic_engraver do then?

I don't know.  AFAIK, it is not serving any purpose, since its
functionality has been transferred to the two new engravers.

-Patrick


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


Re: where can one find the default settings

2008-07-10 Thread Patrick McCarty
On Thu, Jul 10, 2008 at 9:17 AM, Kieren MacMillan
[EMAIL PROTECTED] wrote:

 Just wondering if there's any documentation on where to find the default
 settings for a given grob — for example, I don't know where to look to find
 the default BreathingSign #'font-size setting (which I need right now). [I
 can easily drill down to the font-interface page, but no specific answer can
 be found there, because it's an interface shared by so many different
 grobs...]

This is explained in LM 4.2.2.  If the 'font-size property is not
listed on the BreathingSign page, then it uses the global default
setting for 'font-size (which is 0, according to the font-interface
page).

On the other hand, there are many grob properties with unlisted
default values.  Does this imply that they are undocumented, or that
their values are grob-dependent?  I'm not sure if this is documented
anywhere.

 Once again, I would like to suggest that all settings for a given grob
 should be available in a single documentation page — e.g., the grob
 LayoutObject page — so that users don't have to hunt them down in fourteen
 different places, assuming they even know where to look to begin with. [This
 list of settings should be *automatically* generated, of course, so that no
 one would have to manually build it for each new Lilypond version...]

Since new users are expected to read the Learning Manual, the method
to *hunt down* the grob settings is documented.  I agree that the
process to *find* the correct page can be difficult though.

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


Re: Some Midi Output Problems

2008-07-10 Thread grick

 You can reduce the volume of the default piano in the same way, by
 setting 
 midiMinimumVolume and midiMaximumVolume in the piano staff. Note,
 though, 
 that these controls only take effect on encountering a dynamic mark,
 so be 
 sure you have a mark at the beginning of the piano notes.

There is no piano staff, only a chordmode section (something like this):
--
Accordi = \chordmode 
{
  \repeat unfold 60 {
f2:9+ bes2:7
  }

  \repeat unfold 2 {
f1
f1
ees1
ees1
  }
}
--
Nor \set Staff.midiXVolume nor \ppp on chords (like f1\ppp) works.

Just to know this chordmode section is included in the staff this way:
--
\score {
  \new StaffGroup 
  
\new ChordNames {
  \set chordChanges = ##t
  \Accordi
}
\new Staff  \WithChords \global \Tromba 
\new Staff  \WithChords \global \Alto 
\new Staff  \WithChords \global \Tenore 
\new Staff  \WithChords \global \Baritono 
  
  \layout { }
}
--   

 
 BTW, an easier way may be to simply use quieter dynamic marks on the
 music 
 of the instruments you want to reduce - these also affect the MIDI
 volume.

The Control MIDI dynamic marks are printed in the sheet (and, by the
way, i have to replace the real dynamics). I want to avoid this.

 
  To do this i use often staccato notes (a4-. a4-. a4-. a4-.).
 
  I expect my midi output sound like (a8 r8 a8 r8 a8 r8 a8 r8) but
 sadly it 
  does not interpret them at all and sound like a simple (a4 a4 a4
 a4).
 
  I can simple write (a8 r8) version everywhere but the sheet become
 really 
  difficult to read for the performers.
 
  Is there a way to avoid to mantain a double version of the sheets?
 (one 
  for the performers with a4-. version and one for the midi output
 with a8 
  r8 one?)
 
 Sorry, apart from using separate versions I don't know how to do this
 other 
 than by writing a Scheme procedure to add the staccato marks in the
 midi 
 \score block.

Can you point me to some docs about this Scheme procedures? Something
specific for lilypond i found a general intro on the guile site.

 
 Trevor
 
Thank you Trevor for the answers!



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


GDP: NR 2.2 Keyboard instruments first public draft

2008-07-10 Thread Graham Percival
I'm happy to announce that NR 2.2 Keyboard instruments  is ready
for the first public review!  Thanks to Andrew for writing and
Carl for reviewing this section.

Please proofread it carefully; let us know about any mistakes or
omissions.  As always, GDP website is here:
http://web.uvic.ca/~gperciva/

Cheers,
- Graham


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


Y-coordinates don't work in offset function

2008-07-10 Thread Jonathan Kulp

Dear Lilyponders,

I'm working on a snippet of guitar music for use as Inspirational 
Headword of the fretted strings section of GDP.  The default placement 
of fingerings is not very good, so I'm placing them manually but have 
tried to create a function to help me.  The function is supposed to 
allow me to specify X and Y offset for each fingering.  The problem is 
that the Y offset doesn't work.  The X offset works just fine, and it's 
very close to what I want, but it would really help to get vertical 
fine-tuning as well.


I've been searching the documentation and experimenting for two hours 
with no luck.  A minimal example appears below, including my function 
(probably where the problem lies).  I've commented out a tweak that does 
what I want using extra-offset adjustment, but I couldn't figure out how 
to use extra-offset in the function (I'm very new at this, clearly...).


If anyone can point out my error and a solution I'd be most grateful.  Best,

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



\version 2.11.51

fingerOffset =
#(define-music-function (parser location offsetX offsetY) (number? number?)
  #{
\once \override Fingering #'X-offset = $offsetX
\once \override Fingering #'Y-offset = $offsetY
  #})

% \fingerOffset #'-0.2 #'-0.3 % moves fingering .2 spaces left and .3 down

\relative c''' {
   \override Fingering #'staff-padding = #'()
   \set fingeringOrientations = #'(down)
\fingerOffset #0.7 #-3.5
%\once \override Fingering
%  #'extra-offset = #'(0.7 . -0.6)
  c-44
\fingerOffset #'0.7 #'0.0
  g-3
\fingerOffset #'0.7 #'3.0
  d-22
}



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