Re: swing indicator in score

2011-09-09 Thread Marek Klein
Hello,
2011/9/9 christian 

> How can I put a visual swing indicator (2 8th = 4 8 triplet) into my score?
>

Something like this?
http://lsr.dsi.unimi.it/LSR/Item?id=204

HTH

Marek
--
Marek Klein
http://gregoriana.sk
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: swing indicator in score

2011-09-09 Thread Marc Hohl
Am 09.09.2011 08:54, schrieb christian:

How can I put a visual swing indicator (2 8th = 4 8 triplet) into my score?

Have a look at

http://lsr.dsi.unimi.it/LSR/Item?id=204

there are a lot of different options.

HTH,

Marc

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


barline in gregorian

2011-09-09 Thread Marek Klein
Hello,
how can I have barline displayed in this snippet:

\version "2.14.1"
\include "gregorian.ly"

\score {
  \new VaticanaVoice \relative c'{
c d e c \bar "|"
e d c e
}
  \layout {
  }
}

It used to work before, if I remember it correctly.

(I know I can use \divisioMaxima)

Marek
--
Marek Klein
http://gregoriana.sk
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Empty music sheet generator in LilyPond

2011-09-09 Thread Jakub Pavlík
> Dear LilyPond users,
> Every now and then you need empty music sheets to write a score or 
> arrangement 
> manually on paper, prepare some exercises for you instrumental students or 
> simply do some homework for college. Wouldn't it be great if you could create 
> empty score sheets for the exact instrumentation that intend, rather than 
> drawing all brackets manually on stock music paper that you can buy?
> 
> To automate this, I have created a small online creator for empty music 
> sheets, which uses lilypond as the backend to produce the nice sheets:
> 
>http://www.edition-kainhofer.com/en/empty-scoresheets.html
> 
> Please let me know what you think about it. 
> For example, if you feel that some score type is missing, it's really easy to 
> add more than the currently available.
> 
> If you select a combination of settings that no-one else has yet selected, 
> Lilypond takes a few seconds to create the score (and also the preview), but 
> the second time you choose that configuration there is no delay, because all 
> already-created scores are cached and re-used on the server.
> 
> Cheers,
> Reinhold

I suggest adding sheets for gregorian chant - staffs of four lines, without a 
clef (because the clefs may be placed on different lines and writing more small 
pieces like antiphons on one sheet you usually need different clef placements).

Jakub Pavlík

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


error message

2011-09-09 Thread Gerard McConnell
Hello,
I haven't seen this error message before, could someone explain it please?
I'm not sure I need to include the file, so I'll wait for info.
Thanks,
Gerard

> %lilypond %args "C:\Documents and Settings\Dad\Desktop\musicPages\adele.ly
"
Processing `C:/Documents and Settings/Dad/Desktop/musicPages/adele.ly'
Parsing...
Interpreting music... [8][16][24][32]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `adele.ps'...
Converting to `./adele.pdf'...
`(gs -q -dNOSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89
-dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite
-sOutputFile=./adele.pdf -c.setpdfwrite -fadele.ps)' failed (1)
error: failed files: "C:\\Documents and Settings\\Dad\\Desktop\\musicPages\\
adele.ly"
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: error message

2011-09-09 Thread Marek Klein
Hello,
2011/9/9 Gerard McConnell 

> Hello,
> I haven't seen this error message before, could someone explain it please?
> I'm not sure I need to include the file, so I'll wait for info.
>


You have to close your PDF viewer, thats my guess.
HTH,

Marek
--
Marek Klein
http://gregoriana.sk
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


ghoste notes

2011-09-09 Thread valerian.neisse
hi 

i don't know how i can whrite ghoste notes for other instruments than
drums . the double bass for exemple.

i saw this exemple in this liste  

c4 \cr c \cnr d \cr d \cnr | 

to put ghoste on 2 and 4  ( i m not shure if i remember right)
 
and the guy said it's works , but not for me .

my measure is :

c8 b c c \times 4/6 { e16[f g a g8] } \times 4/6 {a16  aes g f g g }

and i would like a ghoste note in place of the last g.

thank you for having read 


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


Re: ghoste notes

2011-09-09 Thread Marc Hohl
Am 09.09.2011 14:19, schrieb valerian.neisse:

hi

i don't know how i can whrite ghoste notes for other instruments than
drums . the double bass for exemple.

i saw this exemple in this liste

c4 \cr c \cnr d \cr d \cnr |

to put ghoste on 2 and 4  ( i m not shure if i remember right)

and the guy said it's works , but not for me .

my measure is :

c8 b c c \times 4/6 { e16[f g a g8] } \times 4/6 {a16  aes g f g g }

and i would like a ghoste note in place of the last g.

Try  g g g \xNote g

HTH,

Marc

thank you for having read


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




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


Re: swing indicator in score

2011-09-09 Thread Christopher R. Maden
On 09/09/2011 02:54 AM, christian wrote:
> How can I put a visual swing indicator (2 8th = 4 8 triplet) into my score?

Others have already answered the score indicator question.  If you are
making MIDI files of your music, I hacked http://crism.maden.org/swing.ly > together; it may or may not be of use
to you.  This code:

melody = \sw{ c8 c c4 c8 c c4 }

\score {
  \keepWithTag #'layout { \melody }
  \layout{}
}

\score {
  \keepWithTag #'midi { \melody }
  \midi{}
}

will print the rhythm straight, but play it swung in the MIDI file.

~Chris
-- 
Chris Maden, text nerd  http://crism.maden.org/ >
“The present tendency and drift towards the Police State gives all
 free Americans pause.” — Alabama Supreme Court, 1955
 (Pike v. Southern Bell Tel. & Telegraph, 81 So.2d 254)

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


Re: Empty music sheet generator in LilyPond

2011-09-09 Thread Tim McNamara
Reinhold, that is absolutely outstanding.  So many options with the great 
preview, a couple of which are perfect for my needs.  Thank you!

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


Re: Empty music sheet generator in LilyPond

2011-09-09 Thread Adam Spiers
On Fri, Sep 9, 2011 at 3:58 PM, Tim McNamara  wrote:
> Reinhold, that is absolutely outstanding.  So many options with the great 
> preview, a couple of which are perfect for my needs.  Thank you!

Agreed, this is wonderful work - many thanks!!

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


Re: ghoste notes

2011-09-09 Thread valerian.neisse
i have tryed that and it doesn't works





Le vendredi 09 septembre 2011 à 14:26 +0200, Marc Hohl a écrit :
> Am 09.09.2011 14:19, schrieb valerian.neisse:
> > hi
> >
> > i don't know how i can whrite ghoste notes for other instruments than
> > drums . the double bass for exemple.
> >
> > i saw this exemple in this liste
> >
> > c4 \cr c \cnr d \cr d \cnr |
> >
> > to put ghoste on 2 and 4  ( i m not shure if i remember right)
> >
> > and the guy said it's works , but not for me .
> >
> > my measure is :
> >
> > c8 b c c \times 4/6 { e16[f g a g8] } \times 4/6 {a16  aes g f g g }
> >
> > and i would like a ghoste note in place of the last g.
> Try  g g g \xNote g
> 
> HTH,
> 
> Marc
> > thank you for having read
> >
> >
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> >
> 



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


Re: ghoste notes

2011-09-09 Thread Jakub Pavlík
See section "Noteheads" in the Notation manual:
http://lilypond.org/doc/v2.14/Documentation/notation/note-heads

Jakub

>  Původní zpráva 
> Od: valerian.neisse 
> Předmět: Re: ghoste notes
> Datum: 09.9.2011 18:56:29
> 
> i have tryed that and it doesn't works
> 
> 
> 
> 
> 
> Le vendredi 09 septembre 2011 à 14:26 +0200, Marc Hohl a écrit :
> > Am 09.09.2011 14:19, schrieb valerian.neisse:
> > > hi
> > >
> > > i don't know how i can whrite ghoste notes for other instruments than
> > > drums . the double bass for exemple.
> > >
> > > i saw this exemple in this liste
> > >
> > > c4 \cr c \cnr d \cr d \cnr |
> > >
> > > to put ghoste on 2 and 4  ( i m not shure if i remember right)
> > >
> > > and the guy said it's works , but not for me .
> > >
> > > my measure is :
> > >
> > > c8 b c c \times 4/6 { e16[f g a g8] } \times 4/6 {a16  aes g f g g }
> > >
> > > and i would like a ghoste note in place of the last g.
> > Try  g g g \xNote g
> > 
> > HTH,
> > 
> > Marc
> > > thank you for having read
> > >
> > >
> > > ___
> > > lilypond-user mailing list
> > > lilypond-user@gnu.org
> > > https://lists.gnu.org/mailman/listinfo/lilypond-user
> > >
> > 
> 
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> 

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


Re: ghoste notes

2011-09-09 Thread Janek Warchoł
2011/9/9 valerian.neisse :
> hi
>
> i don't know how i can whrite ghoste notes for other instruments than
> drums . the double bass for exemple.

If by ghoste notes you mean notes in parentheses, its

\parenthesize gis

Hope this helps.
Janek

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


Re: barline in gregorian

2011-09-09 Thread Janek Warchoł
2011/9/9 Marek Klein :
> Hello,
> how can I have barline displayed in this snippet:
>
> \version "2.14.1"
> \include "gregorian.ly"
>
> \score {
>   \new VaticanaVoice \relative c'{
>     c d e c \bar "|"
>     e d c e
>     }
>   \layout {
>   }
> }

Interesting.
i thought that   \with { \consists "Bar_engraver" }  will do the
trick, but it doesn't.
I can't help you then, sorry :(

> It used to work before, if I remember it correctly.

Do you remember with which version it worked?

Janek

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


Notes taking no time...

2011-09-09 Thread Alberto Simões
Helo

I am trying to reproduce the music in attach. Basically, there are two 
pairs of "eigth notes" which duration should not count (but in the other 
hand, some space need to be let for them).


Anybody can point me to any example, or any documentation that might be 
useful for this?


Thank you
Alberto
--
Alberto Simoes
CEHUM
<>___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Notes taking no time...

2011-09-09 Thread Kieren MacMillan
Hi Alberto,

> I am trying to reproduce the music in attach. Basically, there are two pairs 
> of "eigth notes" which duration should not count (but in the other hand, some 
> space need to be let for them).
> Anybody can point me to any example, or any documentation that might be 
> useful for this?

Why not just put them in a separate voice?

\version "2.14.0"
\language "english"

theNotes = \relative d'' {
<<
{ \voiceOne d2. f4 }
\new Voice { \voiceTwo bf,2. d4 }
\new Voice { \voiceFour \tiny s8 8 \noBeam q q q4 }
>>
}

\score { \new Staff \theNotes }

Hope this helps!
Kieren.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Notes taking no time...

2011-09-09 Thread Alberto Simões


On 09/09/2011 21:29, Kieren MacMillan wrote:

Hi Alberto,


I am trying to reproduce the music in attach. Basically, there are two pairs of 
"eigth notes" which duration should not count (but in the other hand, some 
space need to be let for them).
Anybody can point me to any example, or any documentation that might be useful 
for this?


Why not just put them in a separate voice?

\version "2.14.0"
\language "english"

theNotes = \relative d'' {
<<
{ \voiceOne d2. f4 }
\new Voice { \voiceTwo bf,2. d4 }
\new Voice { \voiceFour \tiny s88 \noBeam q q q4 }
>>
}

\score { \new Staff \theNotes }

Hope this helps!


Hmms, yes, good point. Thank you. Let me check if I can do it :)

Thanks
Alberto

--
Alberto Simoes
CEHUM

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


Re: Notes taking no time...

2011-09-09 Thread Alberto Simões


On 09/09/2011 21:32, Alberto Simões wrote:
[snip]
>

Why not just put them in a separate voice?

\version "2.14.0"
\language "english"

theNotes = \relative d'' {
<<
{ \voiceOne d2. f4 }
\new Voice { \voiceTwo bf,2. d4 }
\new Voice { \voiceFour \tiny s88 \noBeam q q q4 }
>>
}

\score { \new Staff \theNotes }


Works just great. Any simple way to add lyrics to it? :$ thanks.

--
Alberto Simoes
CEHUM

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


Re: Notes taking no time...

2011-09-09 Thread Kieren MacMillan
Hi Alberto,

> Works just great.

Good!

> Any simple way to add lyrics to it?

Name the voice explicitly, and use \lyricsto.

Cheers,
Kieren.

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


Re: Notes taking no time...

2011-09-09 Thread Alberto Simões


On 09/09/2011 21:50, Kieren MacMillan wrote:

Hi Alberto,


Works just great.


Good!


Any simple way to add lyrics to it?


Name the voice explicitly, and use \lyricsto.


Easy. It is just that I am not that comfortable with lilypond yet :)

Final work at http://musica-liturgica.net/viewfull.pl/137, in case 
somebody is curious.


Thank you
Alberto

--
Alberto Simoes
CEHUM

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


Re: barline in gregorian

2011-09-09 Thread harm6

janek.lilypond wrote:
> 
> 2011/9/9 Marek Klein :
>> Hello,
>> how can I have barline displayed in this snippet:
>>
>> \version "2.14.1"
>> \include "gregorian.ly"
>>
>> \score {
>>   \new VaticanaVoice \relative c'{
>>     c d e c \bar "|"
>>     e d c e
>>     }
>>   \layout {
>>   }
>> }
> 
> Interesting.
> i thought that   \with { \consists "Bar_engraver" }  will do the
> trick, but it doesn't.
> I can't help you then, sorry :(
> 
>> It used to work before, if I remember it correctly.
> 
> Do you remember with which version it worked?
> 
> Janek
> 
> 

Hi,

have a look at engraver-init.ly

You can read:
  %% We can not remove Bar_engraver; otherwise clefs and custodes will
  %% not show up any more among other line breaking issues.
  %% Instead, we make the grob transparent.
  \override BarLine #'transparent = ##t

So it will work this way:

\version "2.14.2"
\include "gregorian.ly"

\new VaticanaVoice {
  \relative c' {
  \override Staff.BarLine #'transparent = ##f
c d e c \bar "|"
e d c e 
  }
}

\score {
\new VaticanaStaff 
\new VaticanaVoice {
\relative c' {
c d e c \bar "|"
e d c e 
}
}
  \layout {
  \context {
  \VaticanaStaff
  \override BarLine #'transparent = ##f
  }   
  }
}

Best,
  Harm



-- 
View this message in context: 
http://old.nabble.com/barline-in-gregorian-tp32429715p32434949.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Graphics in markup

2011-09-09 Thread George_
I know through the docs that using \markup { \dynamic f } will print a forte
symbol. How do I get the markup to print a mordent symbol, or a trill
symbol?
-- 
View this message in context: 
http://old.nabble.com/Graphics-in-markup-tp32435344p32435344.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Graphics in markup

2011-09-09 Thread harm6

George_ wrote:
> 
> I know through the docs that using \markup { \dynamic f } will print a
> forte symbol. How do I get the markup to print a mordent symbol, or a
> trill symbol?
> 

Hi George,

check: 
http://kainhofer.com/~lilypond/Documentation/notation-big-page.html#the-feta-font
Notation Reference A.7 The Feta font 

\markup { \musicglyph #"scripts.trill" }
\markup { \musicglyph #"scripts.mordent" }

Best,
  Harm

-- 
View this message in context: 
http://old.nabble.com/Graphics-in-markup-tp32435344p32435470.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Graphics in markup

2011-09-09 Thread George_
Ah, I see, thank you. Another question, then.

\markup { \wordwrap { \justify { The mordent (\musicglyph
#"scripts.mordent"), the trill (\musicglyph #"scripts.trill"), and the turn
(\musicglyph #"scripts.turn"). } } }

produces this:

http://old.nabble.com/file/p32435618/1.png 

In the music that accompanies the text I used "\override TextScript
#'extra-offset = #'(x . y)" to move stuff around, but using it in the markup
block just gives errors:

syntax error, unexpected STRING, expecting SCM_IDENTIFIER or SCM_TOKEN

and a whole bunch of unexpected MARKUP_FUNCTION and unexpected STRING errors
elsewhere in the music.


harm6 wrote:
> 
> 
> George_ wrote:
>> 
>> I know through the docs that using \markup { \dynamic f } will print a
>> forte symbol. How do I get the markup to print a mordent symbol, or a
>> trill symbol?
>> 
> 
> Hi George,
> 
> check: 
> http://kainhofer.com/~lilypond/Documentation/notation-big-page.html#the-feta-font
> Notation Reference A.7 The Feta font 
> 
> \markup { \musicglyph #"scripts.trill" }
> \markup { \musicglyph #"scripts.mordent" }
> 
> Best,
>   Harm
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Graphics-in-markup-tp32435344p32435618.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Graphics in markup

2011-09-09 Thread Nick Payne
On 10/09/11 10:13, George_ wrote:

Ah, I see, thank you. Another question, then.

\markup { \wordwrap { \justify { The mordent (\musicglyph
#"scripts.mordent"), the trill (\musicglyph #"scripts.trill"), and the turn
(\musicglyph #"scripts.turn"). } } }

produces this:

http://old.nabble.com/file/p32435618/1.png

In the music that accompanies the text I used "\override TextScript
#'extra-offset = #'(x . y)" to move stuff around, but using it in the markup
block just gives errors:


Have a look in the doc for \raise and \lower, which can be used inside a 
markup.


Nick

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


Fwd: barline in gregorian

2011-09-09 Thread Marc Mouries
that was my reponse to Marek and it works fine in my Bach transcriptions.

-- Forwarded message --
From: Marc Mouries 
Date: Fri, Sep 9, 2011 at 2:36 PM
Subject: Re: barline in gregorian
To: Marek Klein 


that's what i use:

divisioMaior = {
   \once \override Score.BarLine #'stencil =
#ly:breathing-sign::divisio-maior
}

Melody = \relative g'' {
\clef treble
\time 3/8
\key d \minor
\repeat volta 2 { %begin 1st section
%{  1 %} g16[ bfg d g  d  ] \divisioMaior
%{  2 %}bf16[ d bfg bf g  ]
%{  3 %} d16[ g d-0   bfd  bf ] \divisioMaior
%{  4 %} g16[ bfd-0   g bf d  ]


On Fri, Sep 9, 2011 at 4:29 AM, Marek Klein  wrote:

> Hello,
> how can I have barline displayed in this snippet:
>
> \version "2.14.1"
> \include "gregorian.ly"
>
> \score {
>   \new VaticanaVoice \relative c'{
> c d e c \bar "|"
> e d c e
> }
>   \layout {
>   }
> }
>
> It used to work before, if I remember it correctly.
>
> (I know I can use \divisioMaxima)
>
> Marek
> --
> Marek Klein
> http://gregoriana.sk
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Graphics in markup

2011-09-09 Thread harm6

George_ wrote:
> 
> Ah, I see, thank you. Another question, then.
> 
> 

You should have a detailed look at 
http://kainhofer.com/~lilypond/Documentation/notation-big-page.html#text-markup-commands
A.9 Text markup commands 

\markup { "xy" \translate #'(3 . 5) "XY" }

\markup {
\vcenter { 
The mordent (
\hspace #0.8
\musicglyph #"scripts.mordent"
), the trill (
\hspace #1.1
\fontsize #-1.5
\musicglyph #"scripts.trill"
\hspace #0.2
), and the turn (
\hspace #1.1
\musicglyph #"scripts.turn"
).
}
}

-- 
View this message in context: 
http://old.nabble.com/Graphics-in-markup-tp32435344p32435791.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Lowering AccidentalSuggestion objects

2011-09-09 Thread Brent Annable
Hi everyone,

Does anyone know how I can tell the AccidentalSuggestion engraver to push
the accidentals closer to the noteheads (i.e. downwards)? I don't mind if
they're in the middle of the staff. The purpose of this is to avoid the
combination of a suggested accidental above the staff and a fermata taking
up too much space between staves.

I've tried using \override AccidentalSuggestion #'Y-extent = (number), but
this only seems to push the accidentals upwards, starting from about 5. If
the number specified is any less than 5, the accidental stays where it is,
it won't go any closer to the notehead. Negative numbers seem to have no
effect.

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


Using a variable with \relative

2011-09-09 Thread Basso Ridiculoso
Is there a way to do something similar to this:

\include "english.ly"

x = { c }
y = { g }

\score {
<<
\new Staff {
\clef "bass"

\relative \x { d e f g a }

\relative \y { bf a c d }

}
>>
}


Perhaps I need to write a function that sends in a variable?

How does one dereference a variable inside of a function?

For instance if I sent in \x how do I say "use the value of x"? Or is that
necessary?

This doesn't seem to work either -

MyTestFunction =
#(define-music-function
 (parser location firstnote secondnote thirdnote fourthnote fifthnote
sixthnote )
 ( ly:music? ly:music? ly:music? ly:music? ly:music?  ly:music? )
   #{
\relative $firstnote { $firstnote$secondnote
$thirdnote  }
\relative $sixthnote { $fourthnote  $fifthnote $sixthnote }
   #})


Any help would be appreciated, I have looked at some other functions, but
haven't seen anything similar.

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