I'm sorry for the trivial question but why this code is wrong?
\version "2.19.80"
music = {a b}
\music
My understanding was that "\music" is substituted by its value "{a b}"
Thank you, g.
___
lilypond-user mailing list
lilypond-user@gnu.org
https:
Gianmaria Lari writes:
> I'm sorry for the trivial question but why this code is wrong?
>
> \version "2.19.80"
>
> music = {a b}
> \music
>
>
> My understanding was that "\music" is substituted by its value "{a b}"
You need to put anything in between. LilyPond looks at \music before
decidin
On 24 November 2017 at 09:49, David Kastrup wrote:
> Gianmaria Lari writes:
>
> > I'm sorry for the trivial question but why this code is wrong?
> >
> > \version "2.19.80"
> >
> > music = {a b}
> > \music
> >
> >
> > My understanding was that "\music" is substituted by its value "{a
> b}"
>
Gianmaria Lari writes:
> On 24 November 2017 at 09:49, David Kastrup wrote:
>
>> Gianmaria Lari writes:
>>
>> > I'm sorry for the trivial question but why this code is wrong?
>> >
>> > \version "2.19.80"
>> >
>> > music = {a b}
>> > \music
>> >
>> >
>> > My understanding was that "\music" is su
>> I'm sorry for the trivial question but why this code is wrong?
>>
>> \version "2.19.80"
>>
>> music = {a b}
>> \music
>>
>>
>> My understanding was that "\music" is substituted by its value "{a
>> b}"
>
> You need to put anything in between. LilyPond looks at \music
> before deciding the
Am 24.11.2017 um 09:37 schrieb Gianmaria Lari:
I'm sorry for the trivial question but why this code is wrong?
\version "2.19.80"
music = {a b}
\music
The easiest way to deal with this is to add some scheme code that does
nothing:
\version "2.19.80"
music = {a b}
#'()
\music
Malte Meyn writes:
> Am 24.11.2017 um 09:37 schrieb Gianmaria Lari:
>> I'm sorry for the trivial question but why this code is wrong?
>>
>> \version "2.19.80"
>>
>> music = {a b}
>> \music
>
> The easiest way to deal with this is to add some scheme code that does
> nothing:
>
> \versi
On 20 November 2017 at 23:01, David Kastrup wrote:
> Gianmaria Lari writes:
>
> > On 20 November 2017 at 15:18, David Kastrup wrote:
> >
> >> Gianmaria Lari writes:
> >>
> >> > On 20 November 2017 at 12:00, David Kastrup wrote:
> >> >
> >> >> Gianmaria Lari writes:
> >>
> >> >> > Is there an
On 24 November 2017 at 10:15, Werner LEMBERG wrote:
>
> >> I'm sorry for the trivial question but why this code is wrong?
> >>
> >> \version "2.19.80"
> >>
> >> music = {a b}
> >> \music
> >>
> >>
> >> My understanding was that "\music" is substituted by its value "{a
> >> b}"
> >
> > You nee
Gianmaria Lari writes:
> On 20 November 2017 at 23:01, David Kastrup wrote:
>>
>> whatever =
>> #(define-music-function (pattern) (ly:music?)
>> #{ \fixed c' {
>>#@(map
>>(lambda (p)
>> #{ \modalTranspose c #(ly:make-pitch -1 p) \scale #pattern #})
>>
Do you think that as a proper question for a lilipond user blog? I think
a scheme blog might be a better place for that problem.
I cannot help, but what however, whatever do you think that code to do?
Regards
Am 24.11.2017 um 10:45 schrieb Gianmaria Lari:
>
>
> whatever =
> #(define-musi
bb writes:
> Do you think that as a proper question for a lilipond user blog?
The software is called "LilyPond", and LilyPond-user is not a blog but a
mailing list. Apart from that, the answer is most emphatically yes.
This is a question about common LilyPond usage. It is not trivial,
there is
It works fantastically well. To automatically generate exercise this is
more than great.
Thanks a lot David!
g.
On 24 November 2017 at 10:55, David Kastrup wrote:
> Gianmaria Lari writes:
>
> > On 20 November 2017 at 23:01, David Kastrup wrote:
> >>
> >> whatever =
> >> #(define-music-function
Sorry, interpreted this repetition as a scheme topic.
Regards
Am 24.11.2017 um 13:43 schrieb David Kastrup:
> bb writes:
>
>> Do you think that as a proper question for a lilipond user blog?
> The software is called "LilyPond", and LilyPond-user is not a blog but a
> mailing list. Apart from th
I'm coming back to this again. Here's the example below updated and a bit
smaller:
===
\version "2.19.80"
makeStuff =
#(define-void-function () ()
(add-text #{\markup "fill some space" #})
(add-score #{ \score { \new Staff { c'1 } } #})
(add-text #{\markup "Keep with next"#})
; This d
On Fri 24 Nov 2017 at 10:08:29 (+0100), David Kastrup wrote:
> Gianmaria Lari writes:
>
> > On 24 November 2017 at 09:49, David Kastrup wrote:
> >
> >> Gianmaria Lari writes:
> >>
> >> > I'm sorry for the trivial question but why this code is wrong?
> >> >
> >> > \version "2.19.80"
> >> >
> >>
On 24 November 2017 at 16:21, David Wright
wrote:
> On Fri 24 Nov 2017 at 10:08:29 (+0100), David Kastrup wrote:
> > Gianmaria Lari writes:
> >
> > > On 24 November 2017 at 09:49, David Kastrup wrote:
> > >
> > >> Gianmaria Lari writes:
> > >>
> > >> > I'm sorry for the trivial question but wh
I'm trying to put the score functionality inside a function (consider it a
test). Here it is the code:
\version "2.19.80"
myScore =
#(define (music) (ly:music?) #{
\score {
$music
\layout{}
\midi{}
} #} )
\myScore {a b c'}
The code correctly generate a score but it does not gen
Gianmaria Lari writes:
> I'm trying to put the score functionality inside a function (consider it a
> test). Here it is the code:
>
> \version "2.19.80"
> myScore =
> #(define (music) (ly:music?) #{
> \score {
> $music
> \layout{}
> \midi{}
>} #} )
>
> \myScore {a b c'}
>
>
> Th
Hello,
Another basic question to fill the vaults... I like to work with
alternative endings for repeats, i.e.
\repeat volta 2
\alternative { }
where alternative is two endings matched with the repeat number (i'll
explain why):
\alternatives {
{do re do me do }
{ mi re do }
}
I want "volta 2,"
Hello Joe,
You talk of a third repetition, but show 1, 2, and 5...
Sorry, no idea what you’re after!
JM
> Le 24 nov. 2017 à 21:14, Joe Davenport a écrit :
>
> Hello,
>
> Another basic question to fill the vaults... I like to work with alternative
> endings for repeats, i.e.
>
> \repeat vol
Joe Davenport writes:
> Hello,
>
> Another basic question to fill the vaults... I like to work with
> alternative endings for repeats, i.e.
>
> \repeat volta 2
>
> \alternative { }
>
> where alternative is two endings matched with the repeat number (i'll
> explain why):
>
> \alternatives {
> {do
Hi Joseph,
I don't understand where your endings 3 and 4 go. But perhaps this could
help you:
{
\repeat volta 5 { a1 }
\alternative {{ b1 } { c'1 } }
}
{
a1
\set Score.repeatCommands = #'((volta "1."))
b1
\set Score.repeatCommands = #'((volta "2. + 5.") end-repeat)
c'1
\set Score.r
Joe,
My sense is that you want.
A
1st ending
A
2nd ending
B
A
3rd ending as the end of the piece.
This would be accomplished with a “Da Capo al fine” at the end of the third A.
The 3rd ending would be noted as “fine.”
Mark
From: lilypond-user [mailto:lilypond-user-bounces+c
24 matches
Mail list logo