Re: half height barline | full width staves

2019-06-08 Thread mj

Hi Xavier and Lukas,

Thanks for your great ideas, they did it. :-)

Enjoy your weekend, all.

MJ

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


half height barline | full width staves

2019-06-06 Thread mj

Hi all!

Two small questions:

1) Is there an easy way to get half-height barlines..? (so only through 
the top two staff lines) (I have used ticks now, but that's not quite it)


2) I would like my music to be spaced normally, but the staves to always 
span the entire page from left to right. (so: leaving unused empty staff 
space on the right half of the page) I am using \break for the staff 
breaks, but this spreads my music evenly across the entire line)


Suggestions how to achieve this?

Best regards,
MJ

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


Re: transpose a score from mutopia

2016-12-01 Thread mj

Hi Karl,

There is a lot of information in your email, I'll need t bit of time to 
digest it all.


Thinking about it...  it might actually be faster to just transpose from 
the sheetmusic. It's just two voices and soprano...


Thanks for your big reply!

MJ

On 12/01/2016 06:18 PM, k...@aspodata.se wrote:

mj:
...

Michael:

I am trying to transpose a Messiah lilypond file from mutopia:
http://www.mutopiaproject.org/ftp/HandelGF/HWV56/Messiah/Messiah-lys.zip

However I'm not getting very far, could use a bit of help

Extracting the zip gives a folder structure like:


|-common
|-Haendel
|---Oratorio
|-Messiah
|---AAsinfonia
. (many more)
|---CGchorus
|---CHairSoprano
|---CIchorus
|---CJchorus
|-lilypond-patches
|-out
|-templates

So, looking at this, there is a main.ly in ./Haendel/Oratorio/Messiah
which I opened in frescobaldi, but I can't compile it, as all the paths
in main.ly look like "\include "Haendel/Oratorio/Messiah/common.ily"


The aforementioned include tries to include the file common.ily, which is in the
same folder as the main.ly you are trying to convert.
Given that there is also a directory ./common which hold a couple of other
to-be-included files I'd add the directory that you extracted your ZIP in to
frescobaldi's include paths.

E.g. the absolute path to your main.ly would be
/home/mj/my-lp-scores/from_mutopia/Haendel/Oratorio/Messiah/main.ly
then add "/home/mj/my-lp-scores/from_mutopia/" (or ~/my-lp-scores/from_mutopia/)
to frescobaldi's include paths.


I don't know much about frescobaldi, but unzipping the file
and cd Messiah-lys, gives me the folder structure outlined above.
There is also a Makefile and:

$ make help
usage: make 
score-rule:
 Build a A4 PDF score
  -rehearsal Build a A4 PDF score with rehearsal numbers
  -letterBuild a Letter PDF score
  -Build a PDF part score
  -delivery  Make archive and move PDFs to delivery directory
  -all   Build all PDF formats and make delivery
score:
  Rameau/Opera/HippolyteEtAricie
  Couperin/Orgue/MesseCouvents
  Couperin/Motets
  Couperin/Clavecin/lArtDeToucherLeClavecin
  Lully/Ballet/LWV05LaReventeDesHabits
  Lully/Ballet/LWV08AmourMalade
  Lully/Fete/LWV22LesPlaisirsDeLIleEnchantee
  Lully/Comedie/LWV43LeBourgeoisGentilhomme
  Lully/Opera/LWV56Psyche
  Lully/Opera/LWV61Phaeton
  Lully/Opera/LWV71Armide
  Charpentier/Opera/DavidEtJonathas
  Haendel/Opera/GiulioCesare
  Haendel/Oratorio/Messiah
  PancraceRoyer/PremierLivre

which implies that the correct procedure to make the score would be

$ make Haendel/Oratorio/Messiah
lilypond -ddelete-intermediate-files  -o out/Messiah 
Haendel/Oratorio/Messiah/main.ly
GNU LilyPond 2.19.16
...

But since I have a newer lilypond version than the source I expect it
to fail, which it does.

Source version can be found with:

$ find . -type f -name \*.ily -or -name \*.ly | xargs  grep version
./common/common.ily:\version "2.13.7"
./common/common.ily:#(ly:export (string-append "version " 
(lilypond-version)))
./common/music-commands.ily:\version "2.11.57"
./common/test-clef-key.ly:\version "2.11.39"
./common/test-markup.ly:\version "2.11.39"
./common/test-titling.ly:\version "2.11.39"

So to proceed forward I suggest you dig up lilypond version 2.13.7.

There is also a patch in lilypond-patches/lilypond.patch, and looking
through lily/page-turn-page-breaking.cc I can see that that patch is
not applied in the git repo. You might need to apply that patch too
succeed, who knows. Unfortunately the patch doesn't apply cleanly to
neither version 2.11.39 nor 2.13.7.

To get version 2.13.7 do:

$ git branch release/2.13.7
$ git checkout release/2.13.7
Switched to branch 'release/2.13.7'

Then INSTALL.txt in lilypond git covers the compilation process.

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57



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



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


Re: transpose a score from mutopia

2016-12-01 Thread mj

Hi Michael,

Thanks for your suggestion, it improves matters a lot, but there are 
still *MANY* (different kinds) errors. The complete output is here:


http://codepad.org/Qc93Rvyu

Are there some basic settings/things that would perhaps help..?

(and generally speaking... would  main.ly be the file to open?)
(this whole opening-ly-files-from-mutopia business is new to me)

MJ

On 11/30/2016 11:33 AM, Gerdau, Michael wrote:

Hi MJ,



I am trying to transpose a Messiah lilypond file from mutopia:
http://www.mutopiaproject.org/ftp/HandelGF/HWV56/Messiah/Messiah-lys.zip

However I'm not getting very far, could use a bit of help

Extracting the zip gives a folder structure like:


|-common
|-Haendel
|---Oratorio
|-Messiah
|---AAsinfonia
. (many more)
|---CGchorus
|---CHairSoprano
|---CIchorus
|---CJchorus
|-lilypond-patches
|-out
|-templates

So, looking at this, there is a main.ly in ./Haendel/Oratorio/Messiah
which I opened in frescobaldi, but I can't compile it, as all the paths
in main.ly look like "\include "Haendel/Oratorio/Messiah/common.ily"


The aforementioned include tries to include the file common.ily, which is in the
same folder as the main.ly you are trying to convert.
Given that there is also a directory ./common which hold a couple of other
to-be-included files I'd add the directory that you extracted your ZIP in to
frescobaldi's include paths.

E.g. the absolute path to your main.ly would be
/home/mj/my-lp-scores/from_mutopia/Haendel/Oratorio/Messiah/main.ly
then add "/home/mj/my-lp-scores/from_mutopia/" (or ~/my-lp-scores/from_mutopia/)
to frescobaldi's include paths.

Kind regards,
Michael
--
Michael Gerdau   email: m...@qata.de
GPG-keys available on request or at public keyserver



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


transpose a score from mutopia

2016-11-30 Thread mj

Hi,

I am trying to transpose a Messiah lilypond file from mutopia: 
http://www.mutopiaproject.org/ftp/HandelGF/HWV56/Messiah/Messiah-lys.zip


However I'm not getting very far, could use a bit of help

Extracting the zip gives a folder structure like:


   |-common
   |-Haendel
   |---Oratorio
   |-Messiah
   |---AAsinfonia
   . (many more)
   |---CGchorus
   |---CHairSoprano
   |---CIchorus
   |---CJchorus
   |-lilypond-patches
   |-out
   |-templates

So, looking at this, there is a main.ly in ./Haendel/Oratorio/Messiah 
which I opened in frescobaldi, but I can't compile it, as all the paths 
in main.ly look like "\include "Haendel/Oratorio/Messiah/common.ily"


Am I supposed to copy that main.ly to the folder folder above 
"./Haendel", to make the paths work, or am i approaching this the wrong way?


(the ultimate goal here: printing off a transposed version of a 
particular aria)


I hope someone can give me some pointers here. No big hurry, as we still 
have some time left before christmas :-)


MJ

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


Re: lyric on a rest | parenthesis

2016-04-16 Thread mj

Hi Thomas, (Harm?)

Thanks for the alternatives! :-)

MJ

On 04/14/2016 10:36 PM, Thomas Morley wrote:

2016-04-14 12:02 GMT+02:00 mj <li...@merit.unu.edu>:


I am surprised to see that this:

  \parenthesize { c8 c }

does not work to get two notes between two parenthesis?

What's the logic behind that?


Well, the music-function `parenthesize' is a special in some way and
not very flexible ...

If you want to parenthesize some sequential music look at this LSR-snippet
http://lsr.di.unimi.it/LSR/Item?id=902
for a workaround.

Cheers,
   Harm



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


Re: lyric on a rest | parenthesis

2016-04-14 Thread mj

Hi David,

On 04/14/2016 06:17 PM, David Wright wrote:

... which can take a lot of work, worth it sometimes but not always.
Yes, seemed like an awful lot of work. Even had trouble understanding 
how I could use the examples on that page to get my desired 
word-on-a-rest...


Your suggestion is immediately obvious to me. Thank you so much.

I have 100ds of tricks like yours on finale, but I am still too new at 
lilypond to be able to make up thinks like this.


Thanks, appreciated!

MJ

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


lyric on a rest | parenthesis

2016-04-14 Thread mj

Hi,

Two short questions:

Is it possible to lyric text on a rest? (it auto-skips, now)

I'm using \addlyrics { \words }, and there is a quarter rest that needs 
a word, just like all the other notes. Is that possible?



And the second minor remark: I am surprised to see that this:
>>  \parenthesize { c8 c }
does not work to get two notes between two parenthesis?

What's the logic behind that?

For the rest: I'm getting more and more used to lilypond, and depending 
on the kind of music, it can be SO much faster than finale.. :-)


MJ

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


Re: musicxml export

2016-04-10 Thread mj

Hi all,

On 04/09/2016 11:34 PM, Martin Tarenskeen wrote:

Warning: It's hidden as "experimental" with a reason. Don't expect
miracles from it.



Played with it a little bit, and yes, agreed... it is still a little bit 
bumpy, yes... :-)


Leaving out \chordmode improves the musicxml output quite a bit, btw. 
The only error that remains is "Unknown command \break", and the 
resulting file imports ok into musescore, for example.


Reason I like musicxml (besides being able to import lilypond stuff into 
other programs) is that Gustaf (https://gogustaf.com) uses it as it's 
native file format. It would be useful to be able to import my lilypond 
files into my digital sheet music library there.


Unfortunately I am no programmer myself, so I can't help out practically.

Anyway, thanks for the helping to find the option in frescobali.

MJ

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


Re: musicxml export

2016-04-09 Thread mj

Thanks for the quick responses!

MJ

On 04/09/2016 11:27 PM, Urs Liska wrote:



Am 09.04.2016 um 23:03 schrieb mj:

Hi,

I noticed that there is musicxml2ly, but is there also some
ly2musicxml functionality?

I use frescobaldi, but also there (version 2.18.2) the function is not
present.

Does lilypond only IMPORT musicxml?


In Frescobaldi you have to enable "Experimental features" in the
Preferences dialog to access the MusicXML export.
And as this suggests: it is still very experimental.
But by using it (and sending reports) you can help improve it.

HTH
Urs



Regards,
MJ

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



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



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


musicxml export

2016-04-09 Thread mj

Hi,

I noticed that there is musicxml2ly, but is there also some ly2musicxml 
functionality?


I use frescobaldi, but also there (version 2.18.2) the function is not 
present.


Does lilypond only IMPORT musicxml?

Regards,
MJ

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


Re: two beginners questions

2016-04-06 Thread mj

Yess.

Great support on this list!

Thanks!

On 04/06/2016 11:58 AM, David Kastrup wrote:

mj <li...@merit.unu.edu> writes:


   \context { \FretBoards
   \override FretBoards.FretBoard.size = #0.8


You are putting a spurious FretBoards into that override.


   }
   \context {
 \Score
 \remove "Bar_number_engraver"
   }
}


but there is seems to be ignored.


You should have been getting a warning/error message.  I have to admit,
however, that this does not happen.


So perhaps my question should have been: Why would the information I
learned from the lilypond docs work in my main file, but stop working
when I put it in a 'global' included file?


Because it is not the same information.  In a context definition,
\override is directly followed by the respective grob name rather than a
repetition of the context name.



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


Re: two beginners questions

2016-04-06 Thread mj

Hi Phil,

Thanks for your reply. The page you reference (which I read) is where I 
found the code that I used:



\new FretBoards {
% Set global properties of fret diagram
\override FretBoards.FretBoard.size = #'1.2


This DOES take effect in my main file like this:

\score {
  <<
\new ChordNames \chordNames
\new FretBoards {
  \override FretBoards.FretBoard.size = #0.8
  \chordNames
}
\new Staff <<
  \new Voice = "Sop" { \melodySop }
  \new Voice = "Alt" { \melodyAlt }
>>
\new Staff { \melodyBas }
  >>
}


But I would like to put this setting into my global include.ly file, 
like I did with the ChordName font-size:



\layout {
  indent = 0\cm
  \context { \ChordNames
 \override ChordName #'font-size = #-2
  }
  \context { \FretBoards
  \override FretBoards.FretBoard.size = #0.8
  }
  \context {
\Score
\remove "Bar_number_engraver"
  }
}


but there is seems to be ignored.

So perhaps my question should have been:
Why would the information I learned from the lilypond docs work in my 
main file, but stop working when I put it in a 'global' included file?


(while a similar setting in the same included file DOES seem to work)
("ChordName #'font-size = #-2")

MJ

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


Re: two beginners questions

2016-04-06 Thread mj



On 04/06/2016 10:27 AM, Simon Albrecht wrote:

You sure? It’s known that some distributions package 2.16.2 still, but
2.19.2 is a really odd choice… anyway, in most cases one will want to
install a recent version manually.
Well... I'm not entirely sure anymore. Anyway: I'm now working with 
2.18.2 now, as advised by David Kastrup.


MJ

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


Re: two beginners questions

2016-04-06 Thread mj

Hi Phil, list,

On 04/05/2016 05:12 PM, Phil Holmes wrote:


\context { \ChordNames
  \override ChordName #'font-size = #-1
}

to your layout block.



That works, and now I'd like the fret diagrams to be reduced as well. 
Below is an exerpt from my include file, which works for everything, 
except for the FretBoard.size:


\layout {
  indent = 0\cm

  \context { \ChordNames
\override ChordName #'font-size = #-2
  }

  \context { \FretBoards
\override FretBoards.FretBoard.size = #0.8
  }

  \context { \Score
\remove "Bar_number_engraver"
  }

}

Is my logic wrong?

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


Re: two beginners questions

2016-04-06 Thread mj

I understand the versioning now, thanks.

On 04/05/2016 05:55 PM, David Kastrup wrote:

2.19.2, however, is almost as old as 2.18.0 (close to two years I
think).  It's actually older than 2.18.1.  That seems like a strange
choice to use.
Well, strange as it may be, it was the lilypond version that was 
automatically installed when I apt-get installed frescobaldi. :-)

(on linux mint)

I'll try upgrading to the latest 2.18 version, just to be on the safe 
side of things.



Now I don't know whether this is the actual version you use or just what
you write in the input file.  But I found it worth mentioning.

Yes, and thank you for doing that!

MJ

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


Re: two beginners questions

2016-04-06 Thread mj

Hi all,

Thanks very much for the kind reactions, both on- and offlist. My issues 
are solved. :-)


MJ

On 04/05/2016 05:12 PM, Phil Holmes wrote:

- Original Message - From: "mj" <li...@merit.unu.edu>
To: <lilypond-user@gnu.org>
Sent: Tuesday, April 05, 2016 2:43 PM
Subject: two beginners questions



Hi,

Just trying out lilypond. I have created my first file, using the "new
from template" function of frescobaldi.

I am trying to alter two things:

- make chord names display smaller
and
- get the correct fret guitar diagrams, like the ones shown in the
docs here:
http://lilypond.org/doc/v2.19/Documentation/notation/predefined-fretboard-diagrams#diagrams-for-guitar


(because all my fret diagrams seem to display wrong)

Below is my .ly file.

Tips or trics..? Thanks in advance!

\version "2.19.2"

\header {
  title = ""
}

global = {
  \time 6/8
  \key e \minor
}

chordNames = \chordmode {
  \global
e4.:m b:m | e:m b:m | e:m d | g g | g d | e:m b:m | e:m b:m | e:m e:m

}

melody = \relative e' {
  \global
  e4 g8 fis4. | e4 g8 fis4. | b4 b8 a8 d4 | b4.~ b4. |
  d4 b8 a4 b8 | g8. b16 a g fis4 d8 | e8. fis16 g a b4 g8 | e4. e'4.
\bar "|."

}

\score {
<<
\new ChordNames \chordNames
\new FretBoards \chordNames
 \new Staff { \melody }
  >>

\layout {
  \context {
\Score
\remove "Bar_number_engraver"
  }
}
}


To get guitar fretboards, add

\include "predefined-guitar-fretboards.ly"

at the top of your file.  One way to make the chordnames smaller is to add:

\context { \ChordNames
  \override ChordName #'font-size = #-1
}

to your layout block.

--
Phil Holmes





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


two beginners questions

2016-04-05 Thread mj

Hi,

Just trying out lilypond. I have created my first file, using the "new 
from template" function of frescobaldi.


I am trying to alter two things:

- make chord names display smaller
and
- get the correct fret guitar diagrams, like the ones shown in the docs 
here:

http://lilypond.org/doc/v2.19/Documentation/notation/predefined-fretboard-diagrams#diagrams-for-guitar

(because all my fret diagrams seem to display wrong)

Below is my .ly file.

Tips or trics..? Thanks in advance!

\version "2.19.2"

\header {
  title = ""
}

global = {
  \time 6/8
  \key e \minor
}

chordNames = \chordmode {
  \global
e4.:m b:m | e:m b:m | e:m d | g g | g d | e:m b:m | e:m b:m | e:m e:m

}

melody = \relative e' {
  \global
  e4 g8 fis4. | e4 g8 fis4. | b4 b8 a8 d4 | b4.~ b4. |
  d4 b8 a4 b8 | g8. b16 a g fis4 d8 | e8. fis16 g a b4 g8 | e4. e'4. 
\bar "|."


}

\score {
<<
\new ChordNames \chordNames
\new FretBoards \chordNames
 \new Staff { \melody }
  >>

\layout {
  \context {
\Score
\remove "Bar_number_engraver"
  }
}
}

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


Two simultaneous key-change events

2009-12-22 Thread MJ Moody
Is there a way to force lilypond to include two key changes back to back,
separated only by a \bar :|.  I get the two simultaneous key-change event
error but would like to override or find a work around if possible.  The piece
goes from begins in b-flat major changes to e-flat major, it repeats back to
b-flat major and finishes in the key of e-flat major.  I am having trouble at
the repeat sign.  I would like to include the key change (b-flat) prior to the
repeat and the second ending key (e-flat) after the repeat.

My first solution was to use a spacer rest between these two key changes but
that created a new empty measure with a lot of open space.  I found guidance on
putting the key cancellation and key signature before the repeat bar, but am
unable to find out how to force the second key signature (the examples I found
went from g major to c major so they didn't need additional sharps or flats to
show up after the key cancellation/key signature change).

The input below works to generate the key of b-flat major and a natural on the
a.  But doesn't generate the second key signature after the repeat.

 \once \override Score.BreakAlignment #'break-align-orders = #(make-vector  3
   '(key
   span-bar
   breathing-sign
   staff-bar
   clef
 time-signature))
\once \override Staff.KeyCancellation #'X-offset = #-4
\once \override Staff.KeySignature #'X-offset = #-3
\key bes\major \bar :|

\key ees \major

I appreciate any guidance.
MJ



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