denemo-devel
[Top][All Lists]
Advanced

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

Re: creating .ly files


From: Richard Shann
Subject: Re: creating .ly files
Date: Sat, 18 Jun 2022 17:02:09 +0100
User-agent: Evolution 3.38.3-1

On Sat, 2022-06-18 at 16:26 +0200, Michael Wossog wrote:
> I managed to open and include the files in Denemo. In Denemo comes
> the same error as you described from Frescobaldi (attached)
> 
>  Typesetting ...Done/usr/share/lilypond/2.22.0/ly/init.ly:74:2:
> Fehler: falscher Typ für Argument 1; duration erwartet, "4" gefunden
>  #
>   (let ((book-handler (if (defined? 'default-toplevel-book-handler)
> /usr/share/lilypond/2.22.0/scm/parser-ly-from-scheme.scm:24:18: In
> procedure reverse! in expression (ly:parse-string-expression clone
> lily-string ...):
> /usr/share/lilypond/2.22.0/scm/parser-ly-from-scheme.scm:24:18: Wrong
> type argument in position 1: (1 "4" . #...
> 
> The files probably need an upgrade.

yes. Then as a minimal test you could customise(*) the score layout to
read

 \bookpart {
   \paper {
           bookTitleMarkup = ##f
   }
   \akkordZitherTab 
     \makeScore 
       \MvmntIVoiceI
       {}
 }

where the MvmntIVoiceI will be the notes that you have put into the
Denemo score (this is the Denemo naming convention - movement one,
voice (that is staff) one. You may need to fiddle with the \relative
setting as Denemo outputs only absolute pitches.

HTH

Richard
(*) e.g. by clicking the "Score Layout Options" button towards the end
of the LilyPond View text.




> Anyway, thanks for the great help!
> Michael
> 
> 
> Am 18.06.22 um 16:22 schrieb Richard Shann:
> On Sat, 2022-06-18 at 14:59 +0100, Richard Shann wrote:
>  
> > If you are able to get zither-tab-01.ly working with LilyPond
> > 2.22.0
> > and I can see an example of what you are trying to do, I'm
> > confident
> > a
> > template can be created for it.
> Oh, I should have said - it would alternatively be quite possible to
> go
> in the other direction - use Denemo to create the notes that need to
> go
> in your score and then export them to LilyPond format - exporting
> into
> a file containing your template LilyPond code.
> 
> Richard
> 
> 
>   





reply via email to

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