lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Woodwind Fingerings


From: Bernardo Barros
Subject: Re: Woodwind Fingerings
Date: Mon, 12 Apr 2010 21:14:24 -0300

I tried

        c'^\markup \woodfing  #'(#t #t #f #t #t #t "g#" "D##" #:natural)

and


        c'^\markup \woodfing  #'(#t #t #f #t #t #t "g#" "D##" (#:natural))

and

        c'^\markup \woodfing  #'(#t #t #f #t #t #t "g#" "D##" '(#:natural))




On 12 April 2010 20:47, Bernardo Barros <address@hidden> wrote:
> Thanks guys, thank you very much.
>
> Just one thing to make it perfect.
>
> I did with the 6 holes and 2 strings for the extra keys. But I can't
> do it for the natural sign.
>
> the (#:natural) in the code
>
> How can I pass this information. It isn't a string, right?
>
> On 12 April 2010 20:27, Carl Sorensen <address@hidden> wrote:
>>
>>
>>
>> On 4/12/10 4:59 PM, "Bernardo Barros" <address@hidden> wrote:
>>
>>> I followed your instructions, I have now another kind of error, but it
>>> still doesn't work.
>>>
>>> I DID:
>>>
>>> #(define-markup-command (woodfing layout props fingers)
>> <snip>
>>>                                      AND:
>>>
>>>
>>>      c'^\woodfing #'(##t ##t ##t ##t ##t ##t)
>>>
>>> AND I GOT:
>>>
>>>
>>> Processing `fingerings6.ly'
>>> Parsing...
>>> fingerings6.ly:124:11: error: unknown escaped string: `\woodfing'
>>>         c'^
>>>            \woodfing '(##t ##t ##t ##t ##t ##t)
>>> fingerings6.ly:124:21: error: syntax error, unexpected '''
>>>         c'^\woodfing
>>>                      '(##t ##t ##t ##t ##t ##t)
>>> fingerings6.ly:124:46: error: syntax error, unexpected ')'
>>>         c'^\woodfing '(##t ##t ##t ##t ##t ##t
>>>                                               )
>>> fingerings6.ly:115:0: error: errors found, ignoring music expression
>>
>> You still have two errors.  1) you need to put \markup before a
>> newly-defined markup function, and 2) once you make a scheme list by
>> starting with #'(, you need to put Scheme values, not LilyPond values.
>>
>>  c'^\markup \woodfing #'(#t #t #t #t #t #t)
>>
>> should work for you.
>>
>> Have you chapter 6 of the Notation Reference for 2.12?
>>
>> Thanks,
>>
>> Carl
>>
>>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]