Strange error(?) message when invoking lilypond-book

2015-11-20 Thread Speldosa
I'm running OS X 10.11 and LilyPond version 2.18.2-1. I'm trying to invoke
lilypond-book via terminal by typing the following (I've tried getting the
path option to work, but I've given up after a gazillion tries):

/Applications/LilyPond.app/Contents/Resources/bin/lilypond-book
Test.lytex

What I'm served with after running this command is the following:

File "/Applications/LilyPond.app/Contents/Resources/bin/lilypond-book",
line 590
os.mkdir (global_options.output_dir, 0777)
^
SyntaxError: invalid token

Am I even supposed to see this? Is this a valid error message (in that case,
it's not making a lot of sense)? I've been able to locate the origin in the
source code, but that doesn't help me very much.

Anybody got any ideas?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Strange-error-message-when-invoking-lilypond-book-tp183876.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Strange error(?) message when invoking lilypond-book

2015-11-20 Thread Speldosa
Thanks! Running the same terminal code with "python2" at the beginning did
the trick!



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Strange-error-message-when-invoking-lilypond-book-tp183876p183884.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Temporary disable \RemoveEmptyStaffContext for individual staffs

2014-05-20 Thread Speldosa
Yes, it seems to adress the same question. However, I don't know how to apply
the answer to my SATB setup where every staff line has about the same
properties.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Temporary-disable-RemoveEmptyStaffContext-for-individual-staffs-tp162585p162598.html
Sent from the User mailing list archive at Nabble.com.

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


How do you re-print instrument names for certain systems?

2014-05-19 Thread Speldosa
I have a score that looks like this.

\score
{
\new ChoirStaff

\new Staff

\set Staff.instrumentName = #Soprano
\new Voice = S
\relative c'{
c1 | c1 | c1 | c1 | 
c1 | c1 | c1 | c1 | 
c1 | c1 | c1 | c1 | 
c1 | c1 | c1 | c1 |}
\new Lyrics \lyricsto Soprano { \sopranoWords }

\new Staff

\set Staff.instrumentName = #Alto
\new Voice = A
\relative c'{
c1 | c1 | c1 | c1 | 
c1 | c1 | c1 | c1 | 
c1 | c1 | c1 | c1 | 
c1 | c1 | c1 | c1 |}
\new Lyrics \lyricsto Alto { \altoWords }

}

This results in a score where the words Soprano and Alto are printed
before the start of the two staffs for the first system. However, for
certain subsequent systems, I would like the instrument names to be
re-printed. How can I accomplish this?




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-do-you-re-print-instrument-names-for-certain-systems-tp162582.html
Sent from the User mailing list archive at Nabble.com.

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


Re: How do you re-print instrument names for certain systems?

2014-05-19 Thread Speldosa
Thanks! That did the trick!



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-do-you-re-print-instrument-names-for-certain-systems-tp162582p162584.html
Sent from the User mailing list archive at Nabble.com.

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


Temporary disable \RemoveEmptyStaffContext for individual staffs

2014-05-19 Thread Speldosa
Im using the \RemoveEmptyStaffContext command and it works exactly as I
expect it to. However, sometimes, I would like a certain staff to show up
even though it only contains rests (for example, if a certain staff only is
empty for a couple of bars, it might be more confusing to remove it and let
it reappear later than to simple let it stay visible). Is it possible to
override the \RemoveEmptyStaffContext temporary for a individual staffs?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Temporary-disable-RemoveEmptyStaffContext-for-individual-staffs-tp162585.html
Sent from the User mailing list archive at Nabble.com.

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


Surpress CC#7 commands in MIDI output

2014-01-19 Thread Speldosa
I've noticed that Lilypond, for its midi output, starts each track off by
sending a CC#7 command (channel volume) on each channel with a value of 100.
This create some problems for me, for example when I'm importing and playing
the data in Logic and want to change the channel volume (yes, I could simply
remove the CC command on each track there, but I'm dealing with a lot of
files and they are going to get distributed to other people).

Is there any way for me to remove these initial CC#7 commands from the midi
file that Lilypond creates?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Surpress-CC-7-commands-in-MIDI-output-tp158188.html
Sent from the User mailing list archive at Nabble.com.

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


Off-topic: Automatically create rehearsal files from SATB midi file

2014-01-19 Thread Speldosa
I'm sorry that that I'm going off-topic here (well, it's not /that/
off-topic), but I thought that if I could find anybody who knew how to do
what I'm trying to achieve right now, it would be a hardcore LilyPond user
:)

Anyhow, I'm using LilyPond to output midi files of my SATB arrangements.
Now, I want to create individual mp3 rehearsal files for each voice. That
is, for sopranos, I want a file that is mixed so that the soprano part is
the loudest, for the altos I want the alto part to be the loudest, and so
on.

I'm writing a bash script for achieving all this, but where I run into
trouble is when I try to play a midi file from the terminal while setting
the initial volume for each track. I simply don't know how to achieve this.

I've tried using  timidity http://timidity.sourceforge.net/   but it
doesn't seem to have any way of achieving this. I've also tried fluidsynth,
and have managed to send CC#7 and CC#11 commands at very start, but
fluidsynth seems to send these before the midi file has been properly set
up, which mean they don't have any effect (see discussion of this attempt 
here
http://nongnu.13855.n7.nabble.com/How-can-I-start-fluidsynth-playback-with-certain-cc-commands-specified-from-the-very-start-td177680.html
 
).

So, right now, I'm kind of stuck. I've been trying to solve this problem for
a couple of days now but without geting anywhere. Does anyone in the
LilyPond community have any suggestions on how to do it?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Off-topic-Automatically-create-rehearsal-files-from-SATB-midi-file-tp158190.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Off-topic: Automatically create rehearsal files from SATB midi file

2014-01-19 Thread Speldosa
Well, I could come to think of several different solutions if I just wanted
to do this a couple of times. However, these are files that I constantly
update and change and I would like to not have to make the changes in 9
different files every time (some of the arrangements are for SSAATTBB). I
did things like that last year. Never again! 2014 is the year of automation
for me :)



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Off-topic-Automatically-create-rehearsal-files-from-SATB-midi-file-tp158190p158199.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Surpress CC#7 commands in MIDI output

2014-01-19 Thread Speldosa
That is correct. However, I want to remove the CC#7 commands all together,
not modify them.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Surpress-CC-7-commands-in-MIDI-output-tp158188p158214.html
Sent from the User mailing list archive at Nabble.com.

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


Is it possible to invert the two-sided option?

2014-01-04 Thread Speldosa
I would like to use \paper{two-sided = ##t} in order to have different
margins for even and odd pages. However, when activating this option, odd
pages get larger right margins and even pages get larger left margins. I'd
like to have it the other way around, so that odd pages get larger left
margins and even pages larger right margins. Is this possible to achieve? 

I've found a thread that already deals with this question but I can't for
the life of me make any sense of it:
http://lilypond.1069038.n5.nabble.com/inner-outer-margin-two-sided-print-td18188.html



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Is-it-possible-to-invert-the-two-sided-option-tp157123.html
Sent from the User mailing list archive at Nabble.com.

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


Problem executing example code with LilyPond 2.16.2

2013-12-28 Thread Speldosa
I've had some trouble with changing parameters in LilyPond, so I tried out
some example code from the manual.

In  section 4.2.1
http://www.lilypond.org/doc/v2.17/Documentation/learning/properties-of-layout-objects
  
of the LilyPond Learning Manual, I found the following example code, which
is meant to demonstrate how to change a property of a layout object (this is
directly copy-and-pasted from the manual):

{
  \key es \major
  \time 6/8
  {
% Increase thickness of all following slurs from 1.2 to 5.0
\override Slur.thickness = #5.0
r4 bes8 bes[( g]) g |
g8[( es]) es d[( f]) as |
as8 g
  }
  \addlyrics {
The man who | feels love's sweet e -- | mo -- tion
  }
}

When commenting out the \override line, everything compiles fine for me in
LilyPond 2.16.2. However, when uncommenting it (and therefore, running the
example code in its entirety) I get the following error message:

Test.ly:6:29: error: syntax error, unexpected '=', expecting SCM_FUNCTION or
SCM_IDENTIFIER or SCM_TOKEN
\override Slur.thickness 
 = #5.0
Test.ly:6:31: warning: Ignoring non-music expression
\override Slur.thickness = 
   #5.0
Test.ly:1:0: error: errors found, ignoring music expression

What is going on here? 





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Problem-executing-example-code-with-LilyPond-2-16-2-tp156615.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Problem executing example code with LilyPond 2.16.2

2013-12-28 Thread Speldosa
Ops, that's one of the drawbacks of using Google to find your way around the
LilyPond website. I'll be more careful what version of the manuals I'm
reading in the future.

Anyhow, I upgraded to the latest unstable version, and it works now. Thanks!



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Problem-executing-example-code-with-LilyPond-2-16-2-tp156615p156620.html
Sent from the User mailing list archive at Nabble.com.

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


Changing font of Score.MetronomeMark also removes quarter note in the tempo marking

2013-12-28 Thread Speldosa
This is a problem that I knew that I was going to run into as soon as I
decided that I wanted to do it, but I still haven't manage to figure out a
solution how to get around it.

I want to change the font of the text that can accompany a tempo mark in the
score. Therefore, I'm running the code below.

\relative c'
{
\tempo Vivacissimo 4 = 150
\override Score.MetronomeMark.font-name = Verdana
c
}

However, when compiling this code, the resulting tempo marking looks like
this: Vivacissimo ( = 150), that is, the quarter note before the equal
sign is missing. Now, I realize that this probably is the case because I
have switched the font to Verdana, which doesn't have support for notes. So,
is there a way to for me to use another font here, but still retain the
quarter note from the default font?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Changing-font-of-Score-MetronomeMark-also-removes-quarter-note-in-the-tempo-marking-tp156623.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Even and odd page-margins

2013-12-28 Thread Speldosa
Whatever happened to this feature?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Even-and-odd-page-margins-tp9845p156627.html
Sent from the User mailing list archive at Nabble.com.

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


Re: after-title-space

2013-12-28 Thread Speldosa
Is this still the preferred way of doing this? I've tried playing around with
different values for after-title-space, both in the way suggested by Peter
and the way suggested by Nick. Absolutely nothing happens.

For the code

\paper
{
after-title-space = 100 \mm
}

\header
{
title = This is a test
}
\relative c'
{
c
}

The system is printed /directly/ beneath the title (that is, with no extra
space at all).

I've only found a lot of old threads about this problem ( here's
http://lilypond.1069038.n5.nabble.com/after-title-space-being-ignored-td51516.html
  
another one).

How is this done today? I've been trying to find a solution for hours (if
not days) now.





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/after-title-space-tp35167p156630.html
Sent from the User mailing list archive at Nabble.com.

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


Re: after-title-space

2013-12-28 Thread Speldosa
Thanks for the tip! 

I checked out convert-ly -s for the full ruleset (in which I couldn't find
anything about after-title-space). When choosing an arbitrarily low version
number for my test file and trying to update it, convert-ly spat out the
following message: 

Not smart enough to convert before-, between-, after-title-space.
Please refer to the manual for details, and update manually.

Which kinda means I'm back to square one again :)



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/after-title-space-tp35167p156633.html
Sent from the User mailing list archive at Nabble.com.

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