Re: Counter in Markup

2011-02-25 Thread Adam Good
Francisco (and Carl) thank you very much for your help! It's working
great for me.

best,
Adam

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


function argument computation

2011-02-25 Thread Peter Buhr
I'm trying to factor out common code in some music functions. Below is a
fragment of the code illustrating my problem. It's been years since I've used
Lisp so please appreciate the naivety in this question.

I want to do a computation at the call and pass the result as an argument to
a function parameter:

\base (concat "XXX" $suffix) #$suffix   % DOES NOT WORK

I've tried a number of things but I'm just guessing. Is this possible? And if
it is possible, what is the syntax?



\version "2.13.40"
\include "english.ly"
#(set-default-paper-size "letter")
#(set-global-staff-size 24)

base = #(define-music-function (parser location prefix suffix) (string? string?)
#{
\once \override TextSpanner #'bound-details #'left #'text = \markup { 
\concat { $prefix ":" $suffix } }
#})

specialA = #(define-music-function (parser location suffix) (string?)
#{
\base #"Foo" #$suffix
#})

specialB = #(define-music-function (parser location suffix) (string?)
#{
\base (concat "XXX" $suffix) #$suffix   % DOES NOT WORK
#})

\score {
\relative c' {
\base #"Foo" #"Bar" a \startTextSpan b c d e g \stopTextSpan
\specialA #"Bar"a \startTextSpan b c d e g \stopTextSpan
\specialB #"YYY"a \startTextSpan b c d e g \stopTextSpan
} % relative
} % score

% Local Variables: %
% tab-width: 4 %
% compile-command: "lilypond --ps test.ly" %
% End: %

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


Feta Fonts

2011-02-25 Thread Tim Sheasby
Notice that shaped note format for Feta is not the same as the traditional 
shapes used in my 1950s hymn book. Would like to modify these specific glyphs. 
Metafont is not a problem for me to use but where do I go to find the sources 
for the Feta fonts?

Tim Sheasby
t...@sheafpublishing.co.za


<>

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


Re: function argument computation

2011-02-25 Thread Michael Ellis
On Fri, Feb 25, 2011 at 9:20 AM, Peter Buhr  wrote:

> specialB = #(define-music-function (parser location suffix) (string?)
> #{
>\base (concat "XXX" $suffix) #$suffix   % DOES NOT WORK
> #})
>

Hi Peter,
I think the following does what you're looking for.

specialB =
 #(define-music-function (parser location suffix) (string?)
(define combined (string-append "XXX" suffix))
   #{
   \base $combined $suffix
   #})

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


Re: Feta Fonts

2011-02-25 Thread Francisco Vila
2011/2/24 Tim Sheasby :
> Notice that shaped note format for Feta is not the same as the traditional 
> shapes used in my 1950s hymn book. Would like to modify these specific 
> glyphs. Metafont is not a problem for me to use but where do I go to find the 
> sources for the Feta fonts?

In the mf/ directory of the lilypond source code, if I'm not wrong.
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


RE: Feta Fonts

2011-02-25 Thread James Lowe
Hello

)-Original Message-
)From: lilypond-user-bounces+james.lowe=datacore@gnu.org
)[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On
)Behalf Of Francisco Vila
)Sent: 25 February 2011 15:27
)To: Tim Sheasby
)Cc: lilypond-user@gnu.org
)Subject: Re: Feta Fonts
)
)2011/2/24 Tim Sheasby :
)> Notice that shaped note format for Feta is not the same as the
)traditional shapes used in my 1950s hymn book. Would like to modify
)these specific glyphs. Metafont is not a problem for me to use but where
)do I go to find the sources for the Feta fonts?
)
)In the mf/ directory of the lilypond source code, if I'm not wrong.




http://lilypond.org/doc/v2.13/Documentation/contributor/getting-the-source-code

James

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


Re: ANN: J. S. Bach - 371 Chorals à 4 voix + Etudes d'anamorphoses: les différentes versions d'un choral.

2011-02-25 Thread Phil Hézaine
Hi,

An updated version with included tar.bz2 sources is available:

http://superbonus.project.free.fr/spip.php?article48

Some slight inconsistencies were corrected.
Midi files of Lilypond were updated to take into account the duration of
the fermatas, which improves the scansion of a chorale.
Note however that the tempi are not relevant at all. But by changing the
\guidemidi-ly in the sources you will be able to more easily produce a
midi file that suits you.

For those wishing a really detailed analysis of Chorales (especially the
students) , I would advertise them when the time comes of the release:

"Les colles de Bach - The Bach's School (You've got me, there)"

for GNU Solfege which should include 352 chorales, each choral being an
exercise of musical dictation of 1, 2, 3 or 4 voices.

Because of an overlap midi problem as soon as two voices share an unison
with different durations (we don't know that in Lilypond) I'm waiting
the next version (GNU Solfege 3.19.3). The author, Tom Cato Amundsen, is
taking this issue on hand.

Be happy.
Phil.

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


Re: Feta Fonts

2011-02-25 Thread Tim Sheasby
Feel stupid. Once I opened the mf Feta files found that the correct glyphs do exist. Just had to change the default notehead for the Mi to the alternative already there. Now my songs look like I want them to.On 25 Feb 2011, at 6:15 PM, James Lowe wrote:Hello)-Original Message-)From: lilypond-user-bounces+james.lowe=datacore@gnu.org)[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On)Behalf Of Francisco Vila)Sent: 25 February 2011 15:27)To: Tim Sheasby)Cc: lilypond-user@gnu.org)Subject: Re: Feta Fonts))2011/2/24 Tim Sheasby :)> Notice that shaped note format for Feta is not the same as the)traditional shapes used in my 1950s hymn book. Would like to modify)these specific glyphs. Metafont is not a problem for me to use but where)do I go to find the sources for the Feta fonts?))In the mf/ directory of the lilypond source code, if I'm not wrong.http://lilypond.org/doc/v2.13/Documentation/contributor/getting-the-source-codeJames___lilypond-user mailing listlilypond-user@gnu.orghttp://lists.gnu.org/mailman/listinfo/lilypond-user
Tim Sheasbyt...@sheafpublishing.co.za

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


Slur offset over articulations: Error or Intentional?

2011-02-25 Thread MusFelix

Whenever there is an articulation on the first or last note of a slur the
other end is offset by the same amount, whether it has an articulation or
not.  Is this intentional in the algorithm or a problem?  And is there a way
to fix it generally (obviously a slur can be adjusted manually one at a
time...).

Example:

\version "2.13.51"

\relative c' {
   c( c-.) c-.( c)
   c( c-. c-. c)
} 
-- 
View this message in context: 
http://old.nabble.com/Slur-offset-over-articulations%3A-Error-or-Intentional--tp31017880p31017880.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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