[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] proposed denemo lilypond output.
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] proposed denemo lilypond output. |
Date: |
Fri, 03 Apr 2009 16:52:59 +0100 |
To support user-defined commands to control the \header \paper \layout
blocks referred to in the email I propose fields that will look like
this
DenemoScore->header.directives
DenemoScore->layout.directives
DenemoGUI->scoreheader.directives
DenemoGUI->paper.directives
So e.g. the Scheme access will look like this:
(d-DirectivePut-scoreheader "Title" "title=\"My Suite of Pieces\"")
(d-DirectivePut-header "Title" "subtitle=\"My First Piece\"")
(d-DirectivePut-header "NewPage" "breakbefore = ##t")
(d-DirectivePut-layout "Indent" "indent = 0.0")
and so on. We really need to change the name DenemoScore to
DenemoMovement and DenemoGUI to DenemoScore (sigh...)
Richard
On Fri, 2009-04-03 at 09:02 +0100, Richard Shann wrote:
> For the record, below is a sample proposed output for denemo to include
> settable titles for the score as a whole (what LilyPond calls a book)
> and for each movment (represented in LilyPond by a scoreblock). The
> sample also illustrates setting the \layout {} differently for each
> movement.
>
>
> %% LilyPond file generated by Denemo version 0.8.1
>
> %%http://www.gnu.org/software/denemo/
>
> \version "2.8.7"
>
> #(set-default-paper-size "a4")
> #(set-global-staff-size 16)
>
> \paper {
> printallheaders = ##t
> }
>
> \header {
> title = "Whole book title"
> tagline = "our tagline"
> subtitle = " whole book subtitle here"}
>
> MvmntIVoiceI = {
> R1*4/4 }
>
> MvmntIVoiceIMidiInst = \set Staff.midiInstrument = "acoustic grand"
> MvmntIVoiceITimeSig = \time 4/4
> MvmntIVoiceIKeySig = \key c \major
> MvmntIVoiceIClef = \clef treble
> MvmntIVoiceIProlog = {\MvmntIVoiceIMidiInst \MvmntIVoiceITimeSig
> \MvmntIVoiceIKeySig \MvmntIVoiceIClef}
> MvmntIVoiceIMusic = {\MvmntIVoiceIProlog \MvmntIVoiceI}
> MvmntIVoiceIContext = \context Voice = VoiceIMvmntI
> {\MvmntIVoiceIMusic}
> MvmntIStaffI = \new Staff << {
> \MvmntIVoiceIContext
> }
> >>
>
> \score {
> << <<
> \MvmntIStaffI
> >>
> >>
> \header {
> title = "Title for movement 1"
> subtitle = "subtitle of movement 1"}
>
> \layout {
> indent = 0.0
> }
>
> }
> \score {
> << <<
> \MvmntIStaffI
> >>
> >>
> \header {title = "Title mvmnt 2"
> tagline = "ours"
> subtitle = "subtitle of movement 2, with extra large indent for music"}
> \layout {
> indent = 4.0\cm
> }
> }
>
>
>
>
>
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/denemo-devel