Flute fingering chart

2019-07-02 Thread Peter O'Doherty
Hi,

I'm looking for a flute fingering chart which is more akin to the style
used by the likes of Robert Dick (see attached). I can't make head nor tail
of the default lilypond chart and a professional flutist I'm working with
also finds it very idiosyncratic. Is there an alternative?

Failing that, might a workable option be for me to simply to reference an
external image in the ly file? Is it possible to include an external image
and control its XY placement on the stave?

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


Re: User-defined function in lilypond-book

2018-05-29 Thread Peter O'Doherty
Ah, thanks for that. I thought the fragment argument was compulsory. 
Working now.

Peter


On 29/05/18 21:57, David Kastrup wrote:

Peter O'Doherty  writes:


Hi,

Is it possible to use a user-defined function in lilypond-book? When I
include one such function as below, I get this error:
error: unrecognized string, not in text script or \lyricmode

This is the start of the code block:

begin [fragment,staffsize=16,notime,noindent]{lilypond}
userdefinedfunction =
#(define-music-function (parser location music) (ly:music?)
...
...
\end {lilypond}

Why would you use the "fragment" option when not just writing a music
fragment but essentially a full LilyPond source?




//=====
// Peter O'Doherty

// http://www.peterodoherty.net
// m...@peterodoherty.net
//=


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


User-defined function in lilypond-book

2018-05-29 Thread Peter O'Doherty

Hi,

Is it possible to use a user-defined function in lilypond-book? When I 
include one such function as below, I get this error:

error: unrecognized string, not in text script or \lyricmode

This is the start of the code block:

begin [fragment,staffsize=16,notime,noindent]{lilypond}
userdefinedfunction =
#(define-music-function (parser location music) (ly:music?)
...
...
\end {lilypond}


Thanks,
Peter




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


Re: Slashed grace notes

2016-03-26 Thread Peter O'Doherty

On 26-03-16 14:16, Malte Meyn wrote:



Am 26.03.2016 um 14:03 schrieb Peter O'Doherty:

Hi,

Is it possible to notate a grace note group, with both a slash and a 
slur?


Thanks,
Peter



Yes, see http://lsr.di.unimi.it/LSR/Item?id=721

P.S.: This was your third email with this content.


Thank you for the link.
And apologies for the repetitions. These were (clearly?) accidental.
Peter

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


Slashed grace notes

2016-03-26 Thread Peter O'Doherty

Hi,

Is it possible to notate a grace note group, with both a slash and a slur?

Thanks,
Peter



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


Fonts

2016-03-26 Thread Peter O'Doherty

Hi all,

What is the current situation with alternative fonts in lilypond? By 
which I mean the font for all notational elements, not just text. I 
notice that Abraham Lee did work on this but the site is currently down: 
https://fonts.openlilylib.org/


Many thanks,
Peter

//=
// Peter O'Doherty
// http://www.peterodoherty.net
// m...@peterodoherty.net
// skype: peter_o_doherty
//=

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


Slashed grace notes

2016-03-26 Thread Peter O'Doherty

Hi,
Is it possible to notate a grace note group, with a slash and a slur?
Thanks,
Peter

//=
// Peter O'Doherty
// http://www.peterodoherty.net
// m...@peterodoherty.net
// skype: peter_o_doherty
//=


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


Slashed grace notes

2016-03-26 Thread Peter O'Doherty

Hi,

Is it possible to notate a grace note group, with both a slash and a slur?

Thanks,
Peter

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


Fonts

2016-03-26 Thread Peter O'Doherty

Hi all,

What is the current situation with alternative fonts in lilypond? By 
which I mean the font for all notational elements, not just text. I 
notice that Abraham Lee did work on this but the site is currently down: 
https://fonts.openlilylib.org/


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


Re: Install on linux

2016-02-22 Thread Peter O'Doherty

On 22-02-16 04:05, David Wright wrote:

On Sun 21 Feb 2016 at 22:12:51 (+0100), Malte Meyn wrote:

Am 21.02.2016 um 22:02 schrieb David Wright:

On Sun 21 Feb 2016 at 19:10:29 (+0100), Peter O'Doherty wrote:

Thanks a lot. Sorted now using sudo sh lilypond...

I can't help wondering what the ... stands for.


It’s the install script, something like

lilypond-2.18.2-1.linux-64.sh

I was interested whether anything followed that, both arguments and
subsequent commands (if any). Your advice was good, but his second
posting was a reply to his own OP, not to yours. (Not all the advice
in the thread was good.)

I was just abbreviating the install script. The full command I used was
sudo sh lilypond-2.18.2-1.linux-x86.sh

Best,
Peter

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


Re: Install on linux

2016-02-21 Thread Peter O'Doherty

Thanks a lot. Sorted now using sudo sh lilypond...


On 21-02-16 13:13, Peter O'Doherty wrote:

Hi,

When I install lilypond on Ubuntu (following the instructions on the 
website i.e.

cd PATH-TO-DOWNLOAD-DIRECTORY
sh lilypond-2.18.2-OS-TYPE.sh
)
it installs two folders in my home directory, lilypond and bin. What's 
the best way to organise these? Should I just put the bin in the 
lilypond folder and move that to .local/share or /usr/share?


Thanks,
Peter

//=
// Peter O'Doherty
// http://www.peterodoherty.net
// m...@peterodoherty.net
//=


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




//=
// Peter O'Doherty
// http://www.peterodoherty.net
// m...@peterodoherty.net
//=


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


Install on linux

2016-02-21 Thread Peter O'Doherty

Hi,

When I install lilypond on Ubuntu (following the instructions on the 
website i.e.

cd PATH-TO-DOWNLOAD-DIRECTORY
sh lilypond-2.18.2-OS-TYPE.sh
)
it installs two folders in my home directory, lilypond and bin. What's 
the best way to organise these? Should I just put the bin in the 
lilypond folder and move that to .local/share or /usr/share?


Thanks,
Peter

//=
// Peter O'Doherty
// http://www.peterodoherty.net
// m...@peterodoherty.net
//=


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


Re: Spanner

2014-08-20 Thread Peter O'Doherty

On 08/19/2014 07:22 PM, Peter Bjuhr wrote:


On 2014-08-19 17:15, Peter Bjuhr wrote:




If you change the glyph names I think you'll be able to get what you 
want.




Here is the full list of glyphs to choose between: 
http://www.smufl.org/version/latest/range/multiSegmentLines/


Best
Peter


Thanks a lot. I'll take a look.
Regards,
Peter


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


Spanner

2014-08-19 Thread Peter O'Doherty

Hi,
I'm looking for something similar to the notation used in contemporary 
scores to indicate things like wide vibrato, microtonal undulations, 
indeterminate glissando - it closely resembles a trill spanner (without 
the tr) but is more rounded and with thinner lines. Is something 
similar to this available in lilypond?


Many thanks.
Peter

--
Peter O'Doherty

//=
// http://www.peterodoherty.net
// m...@peterodoherty.net
//=


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


Re: Spanner

2014-08-19 Thread Peter O'Doherty

On 08/19/2014 03:01 PM, Peter Bjuhr wrote:


On 2014-08-19 13:52, Peter O'Doherty wrote:

Hi,
I'm looking for something similar to the notation used in 
contemporary scores to indicate things like wide vibrato, microtonal 
undulations, indeterminate glissando - it closely resembles a trill 
spanner (without the tr) but is more rounded and with thinner 
lines. Is something similar to this available in lilypond?


Many thanks.
Peter



Hi Peter,

Joram Berger and myself wrote a couple of posts about using SMuFL 
fonts in LilyPond in the LilyPond-blog (Scores of Beauty). Especially 
take a look at no 5 in Joram's list in this post: 
http://lilypondblog.org/2014/02/feta-and-bravura/


If that looks interesting I could contribute with a code example.

Best
Peter


es, that's exactly what I'm looking for, particularly the four wiggles 
above the staff to the right of this example.
If you could share the code (if it's already available and doesn't 
entail any extra work for you) that would be great.

Thanks,
Peter


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


set-accidental-style

2013-07-11 Thread Peter O'Doherty

Hi list,

Where should the line

#(set-accidental-style 'dodecaphonic)
be added in a multi-part score to get it to apply to all parts?

Adding it to the \Score block doesn't seem to work.


Many thanks,
Peter



--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
//=

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


Grace notes at end of measure

2013-07-10 Thread Peter O'Doherty

Hi list,

I know this has been asked before but I still haven't managed to find a 
suitable solution.
How to end a measure with a grace note (group), without causing this 
error: programming error: bounds of this piece aren't breakable.?


Many thanks,
Peter

--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
//=

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


Re: Grace notes at end of measure

2013-07-10 Thread Peter O'Doherty

That's exactly what I was looking for.
Thanks a lot!


On 07/10/2013 05:02 PM, Eluze wrote:


Am 10.07.2013 16:07, schrieb Peter O'Doherty:

Hi list,

I know this has been asked before but I still haven't managed to find 
a suitable solution.
How to end a measure with a grace note (group), without causing this 
error: programming error: bounds of this piece aren't breakable.?




sorry, Peter, I don't understand your question exactly - without your 
code causing this error and the version used.


with the risk of not answering your question I'd suggest something like

\relative c' {
  c d e \afterGrace f {g16[ f g f]}
}

Eluze


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




--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
//=


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


Re: Problem with encoding unicode

2013-05-06 Thread Peter O'Doherty
Thanks. Is there a solution to the problem? It's happening in about 30% 
of the unicode.



On 05/05/2013 11:15 PM, Nick Payne wrote:

On 06/05/13 00:46, Peter O'Doherty wrote:

\mark \markup { \char ##x1080B }
error:

programming error: FT_Get_Glyph_Name () error: invalid argument

continuing, cross fingers

programming error: Glyph has no name, but font supports glyph naming.

Skipping glyph U+1001080B, file 
/home/peter/lilypond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf




This means there is no such glyph in the corresponding font - and the 
error message incorrectly pads the unicode value out to eight digits. 
The current development version gives a much better warning in the log:


warning: no glyph for character U+1080B in font 
`/usr/local/lilypond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf'





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



--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
//=

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


Remove flag

2013-05-05 Thread Peter O'Doherty

Hi list,

At certain points in a score I want to remove stem, beam and flags from 
notes, leaving only the note heads. Two questions: is there an easier 
way to do it than using these three \overides and why does the third 
override on the flags throw an error on version 2.16.0:


warning: cannot find property type-check for `flag-style' 
(backend-type?). perhaps a typing error?




\override Voice.Stem #'transparent = ##t

\override Voice.Beam #'transparent = ##t

\override Voice.Stem #'flag-style = #'no-flag


Many thanks,
Peter



--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
//=

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


Re: Remove flag

2013-05-05 Thread Peter O'Doherty

Thanks a lot, Federico and Robert.


On 05/05/2013 12:49 PM, Robert Schmaus wrote:

Hi Peter,

Something *yet* easier than three overrides? Wow ...
I guess, you could pack them into a variable, like

AllOff = { \override ... }

and use the variable instead.
For yet easier solutions known to me, you'd have to use a 
computer-brain-interface ... but maybe, someone else has a better idea.


As for the error message, it seems that there is no property 
flag-style for the Stem object.

You can make the flags invisible by using

\override Flag #'transparent = ##t

Note that this will not make the beams invisible - that's a separate 
object to make transparent.
Note also that all those overrides will simply make the objects 
invisible, but the overall spacing will not change. I.e. there's space 
reserved for the flags c. that one doesn't see ...


Best,
Robert



On 5 May 2013, at 11:32, Peter O'Doherty m...@peterodoherty.net 
mailto:m...@peterodoherty.net wrote:



Hi list,

At certain points in a score I want to remove stem, beam and flags 
from notes, leaving only the note heads. Two questions: is there an 
easier way to do it than using these three \overides and why does the 
third override on the flags throw an error on version 2.16.0:


warning: cannot find property type-check for `flag-style' 
(backend-type?). perhaps a typing error?




\override Voice.Stem #'transparent = ##t

\override Voice.Beam #'transparent = ##t

\override Voice.Stem #'flag-style = #'no-flag


Many thanks,
Peter



--
//=
- Peter O'Doherty
-http://www.peterodoherty.net
-m...@peterodoherty.net
//=
___
lilypond-user mailing list
lilypond-user@gnu.org mailto:lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user



--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
//=

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


Problem with encoding unicode

2013-05-05 Thread Peter O'Doherty

Hi,
Not all unicode characters are being correctly realised in my score. 
Something like \mark \markup { \char ##x03EE } will work but this throws 
an error:


\mark \markup { \char ##x1080B }
error:

programming error: FT_Get_Glyph_Name () error: invalid argument

continuing, cross fingers

programming error: Glyph has no name, but font supports glyph naming.

Skipping glyph U+1001080B, file 
/home/peter/lilypond/usr/share/lilypond/current/fonts/otf/CenturySchL-Roma.otf



Does anyone have any idea what the problem is?

Many thanks,
Peter

--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
//=

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


Re: \RemoveEmptyStaves

2012-12-20 Thread Peter O'Doherty

On 11/14/2012 07:51 PM, Thomas Morley wrote:

2012/11/14 Peter O'Doherty m...@peterodoherty.net:

Yes, great. It works perfectly.
Thanks,
Peter

Hi Peter,

would be nice, if you could tell us which kind of solution worked for
you and how.

Adapting the LSR-snippet? Then I would be highly interested. I didn't manage.

Cheers,
   Harm


Harm, I'm very sorry for not replying sooner - I must have missed your 
email, am just seeing it now.

This is what I used:

showMultiRests = {

\set Staff.keepAliveInterfaces = #'(

rhythmic-grob-interface

multi-measure-rest-interface

lyric-interface

stanza-number-interface

percent-repeat-interface)

}

hideMultiRests = \unset Staff.keepAliveInterfaces


And then simply:

\hideMultiRests

s8 s8 s8


Hope this helps.
Best,
Peter

--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=

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


Re: \RemoveEmptyStaves

2012-11-14 Thread Peter O'Doherty

Yes, great. It works perfectly.
Thanks,
Peter

On 11/06/2012 11:38 PM, Kieren MacMillan wrote:

Hi Peter,

Have you looked at this hint?
http://lsr.dsi.unimi.it/LSR/Item?id=312

Hope this helps!
Kieren.

On 2012-Nov-6, at 10:36, Phil Holmes m...@philholmes.net wrote:


- Original Message - From: Peter O'Doherty m...@peterodoherty.net
To: lilypond-user lilypond-user@gnu.org
Sent: Tuesday, November 06, 2012 1:46 PM
Subject: \RemoveEmptyStaves



Hi,

I have a score with a system where some staves have measures which are filled 
with rests and others with spacer rests (I need these to enable \change Staff 
elements). I would like to remove the staves with have rests only but as far as 
I can see \RemoveEmptyStaves will remove those with spacers rests as well. Is 
there a way round this?

Many thanks,
Peter


A solution (there may be others) would be to use some hidden notes as well as 
spacer rests.

--
Phil Holmes

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






--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=


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


unmetered time signature

2012-11-12 Thread Peter O'Doherty

Hi,

In unmetered/ cadenza-style passages one often finds a time signature in 
the form of an 'X'. I'm sure I've seen this in the lilypond 
documentation but don't seem to be able to find it. Can anyone point me 
to the relevant page?


Many thanks,
Peter


--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=


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


\RemoveEmptyStaves

2012-11-06 Thread Peter O'Doherty

Hi,

I have a score with a system where some staves have measures which are 
filled with rests and others with spacer rests (I need these to enable 
\change Staff elements). I would like to remove the staves with have 
rests only but as far as I can see \RemoveEmptyStaves will remove those 
with spacers rests as well. Is there a way round this?


Many thanks,
Peter


--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=


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


Re: increase vertical space

2012-10-31 Thread Peter O'Doherty

On 10/30/2012 11:43 PM, Thomas Morley wrote:

or

if you want to affect only a single line of the score, use

\overrideProperty #Score.NonMusicalPaperColumn
   #'line-break-system-details #'((alignment-distances . (30)))


Thanks.
This works but it effects all the staves from this point onwards not 
just the one immediately below - I have a score with 6 staves per system 
and the clashing only occurs between two specific staves. Is this doable?

Best,
Peter

--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=


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


Re: increase vertical space

2012-10-31 Thread Peter O'Doherty

On 10/31/2012 12:57 PM, Eluze wrote:

Peter O'Doherty-2 wrote

On 10/30/2012 11:43 PM, Thomas Morley wrote:

or

if you want to affect only a single line of the score, use

\overrideProperty #Score.NonMusicalPaperColumn
#'line-break-system-details #'((alignment-distances . (30)))

Thanks.
This works but it effects all the staves from this point onwards not
just the one immediately below - I have a score with 6 staves per system
and the clashing only occurs between two specific staves. Is this doable?

this function takes a list as argument, so you can enter

\overrideProperty #Score.NonMusicalPaperColumn #'line-break-system-details
#'((alignment-distances . (30 12 )))

where 12 is the default vertical spacing between staves (I believe) - in
this example the 2nd staff will have a distance of 30 spaces and the
following ones 12 again.

Eluze


Oh, that's lovely!
Thanks a lot.
Peter

--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=


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


Re: dynamics positioning

2012-10-30 Thread Peter O'Doherty

On 10/29/2012 04:52 PM, m...@mikesolomon.org wrote:
I had to take a break from LilyPond development for a couple months 
but I hope to be back on board in a month or so. This was the exact 
problem that I was working on. The long and short of it is that 
LilyPond does not know how to handle cross-staff objects in vertical 
spacing. As a result, there are collisions. There is no good way to 
get around this save manually overriding things like Y-offset or, if 
necessary, extra-Y-offset. Cheers, MS 


Okay. Thanks everyone for your help.
Best,
Peter


--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=


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


increase vertical space

2012-10-30 Thread Peter O'Doherty

Hi,

Is it possible to increase the space between staves, to avoid clashing, 
for specific systems, i.e. not the whole piece? If so could you please 
point me in the direction of the help page?


Many thanks,
Peter

--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=


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


Re: dynamics positioning

2012-10-29 Thread Peter O'Doherty

Sorry for the oversight. The attached code is as minimal as I can get it.
Thanks,
Peter

On 10/29/2012 02:48 PM, Daniel Rosen wrote:

Can't really tell from the attachment. As a rule, tiny excerpts of code (which 
other users can compile themselves) are more useful for debugging than PDFs. 
Check out: http://www.lilypond.org/tiny-examples.html

DR

From: Peter O'Doherty [mailto:m...@peterodoherty.net]
Sent: Monday, October 29, 2012 9:45 AM
To: Daniel Rosen
Cc: lilypond-user
Subject: Re: dynamics positioning

Thanks.
My logic suggests it should be enough to add this line above the cymbals part, 
but it doesn't seems to work (see attached file).


\new Dynamics {
\time 3/8
\times 2/3 { s8\mf s32 s32 s8.\pp \times 8/13 { s64 s16 s16 s16\pp } s64. s64 
s64.] } |
}

What am I doing wrong?
Thanks,
Peter

On 10/29/2012 02:19 PM, Daniel Rosen wrote:
Try using two Dynamics contexts, one above and one below.

DR


-Original Message-
From: Peter O'Doherty [mailto:m...@peterodoherty.net]
Sent: Monday, October 29, 2012 9:14 AM
To: lilypond-user
Subject: dynamics positioning

Hi,

Could someone please take a look at the attached file and help with the 
placement of dynamics + hairpins? (I also attach an example output.) Ideally 
they would be grouped together above the top stave for the upper notes and 
below the lower stave for the lower notes. ^ and _ have little effect.

Many thanks,
Peter

--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=








--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=

\version 2.16.0
\language english

\header {
   tagline = ##f
}
  
#(set-default-paper-size a4 'portrait)

\paper{
  top-margin = 2.0\cm
}


\new Dynamics {
  \time 3/8
\times 2/3 { s8\mf s32 s32 s8.\pp \times 8/13 { s64 s16 s16 s16\pp } s64. s64 s64.] } |
  }
  
cymbals = { 
  \clef percussion
  \stemUp
  \time 3/8
  \change Staff = conga \times 2/3 { d'8[\mf \change Staff = cymbals a32 e'32 \change Staff = temple d'8.\pp \change Staff = cymbals \times 8/13 { r64 c'16^\mp^\ a16 \change Staff = temple b16 } \change Staff = cymbals e'64. \change Staff = temple g64^\f \change Staff = cymbals c'64.] }|
} 

temple = {
 \clef percussion
 s8 s8 s8 |
}

toms = {
  \clef percussion
  s8 s8 s8 |
}
  
conga = {
 \clef percussion
 s8 s8 s8 |
}   

snare = {
\clef percussion
\stemDown
r8 \change Staff = temple g8[\pp \change Staff = conga d'32\mf\ b32 \change Staff = snare c'16]\mp | 
}   

{
  \new StaffGroup 
\new Staff = cymbals \cymbals
\new Staff = temple \temple
\new Staff = toms \toms
\new Staff = conga \conga
\new Staff = snare  \snare
   
  
}

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


Re: Cross-staff stems

2012-10-20 Thread Peter O'Doherty

Thanks a lot.
Eventually I decided to opt for \change Staff = other_instrument.
Best,
Peter


On 10/16/2012 05:45 PM, Phil Holmes wrote:
- Original Message - From: Peter O'Doherty 
m...@peterodoherty.net

To: lilypond-user lilypond-user@gnu.org
Sent: Tuesday, October 16, 2012 4:13 PM
Subject: Cross-staff stems



Hi list,

Is there an effective (and relatively straightforward) way (is there 
perhaps a template?) to notate percussion scores where each 
instrument has its own staff and the stems cross the staffs where 
necessary to link notes on different instruments in one rhythmic group?


Many thanks,
Peter


You should be able to adapt:

http://lilypond.org/doc/v2.16/Documentation/notation/common-notation-for-keyboards#cross_002dstaff-stems 



--
Phil Holmes




--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=

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


Cross-staff stems

2012-10-16 Thread Peter O'Doherty

Hi list,

Is there an effective (and relatively straightforward) way (is there 
perhaps a template?) to notate percussion scores where each instrument 
has its own staff and the stems cross the staffs where necessary to link 
notes on different instruments in one rhythmic group?


Many thanks,
Peter

--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=


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


Re: \bar :

2012-09-17 Thread Peter O'Doherty
Thanks a lot. I have a related question which was raised by one of your 
suggestions but I've put it in a new message.

Regards,
Peter


On 09/17/2012 01:16 AM, Thomas Morley wrote:

2012/9/16 Peter O'Doherty m...@peterodoherty.net:

Hi list,

Is it possible to force an extra bar line in the form

\bar :

when inserted into a multi-stave score to only apply to one staff instead of
the default where the dots are added to all staves?

Many thanks,
Peter

Hi Peter,

two possible methods:

(1) overriding BarLine glyph-name:

%% one %%%
musA = \relative c'' {
 c1
 \once \override Staff.BarLine #'glyph-name = #:
 d
 \break
 e f
}

musB = \relative c' {
 c1 d
 e
 \once \override Score.SpanBar #'glyph-name = #|
 \once \override Staff.BarLine #'glyph-name = #:
 f
}

\score {
 \new StaffGroup 
 \new Staff
   \musA
 \new Staff
   \musB
 
}
%%% end of one %%

(2) moving Timing_translator and Default_bar_line_engraver from
Score- to Staff-level:

 two %

musI = \relative c'' {
 c1
 \bar :
 d
 \break
 e f
 \break
 g a
 \bar :|
}

musII = \relative c' {
 c1 d
 e
 \bar :
 f
 g a
 \once \override Score.SpanBar #'glyph-name = #|. \bar :|
}

\score {
 \new StaffGroup 
 \new Staff
   \musI
 \new Staff
   \musII
 
 \layout {
   \context {
 \Score
 \remove Timing_translator
 \remove Default_bar_line_engraver
 \override SpanBar #'glyph-name = #|
   }
   \context {
 \Staff
 \consists Timing_translator
 \consists Default_bar_line_engraver
   }
 }
}
%%% end of two %%

Sometimes you have to
\override Score.SpanBar #'glyph-name = ...
in both cases.

See also:
http://lilypond.org/doc/v2.17/Documentation/internals-big-page#default_005fbar_005fline_005fengraver
http://lsr.dsi.unimi.it/LSR/Item?id=344



HTH,
   Harm




--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=


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


polymeters and linebreaks

2012-09-17 Thread Peter O'Doherty

Hi list,

Can someone please help me with this piece of code? I'm trying to create 
measures with polymeters but the line breaking isn't working, and 
generally the result is a complete mess. The full code is in the attachment.


Many thanks,
Peter


--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=

\version 2.14.2
\language english

\header {
   tagline = ##f
}
  
indent = #0
#(set-global-staff-size 24)
#(set-default-paper-size a4 'landscape)

trumpetC =  {
  \clef treble
  #(set-accidental-style 'dodecaphonic)
\tempo 8=60
\time 2/8
\times 4/6 { \times 8/11 { f'16[\ppp f'32.\p fqs'16\pp } eqf'32\mf \times 2/3 { r64 fqs'32\pp } dqs'16\mf eqs'8\fff] } |

\time 4/8
\times 4/7 { fs'8[\mp eqf'16\mf e'16\mp e'8.\f } \times 4/5 { e'16\mf fqs'16\mp e'8.\fff] } | \break
 	
\time 3/8
\times 3/4 { \times 6/7 { fqs'32.[\mf ftqs'16\mp ftqs'16 fs'32.\mf } fqs'16 fqs'16\mp ds'8.\fff] }|

\time 2/8
\times 2/3 { eqf'16[\mf e'32\p } f'8\fff fs'64\ppp e'64\pp fqs'32\mf]  |

\time 2/8
\times 4/7 { f'8.[\ff f'8\mf eqf'8] } |
 	
\time 1/8
\times 16/19 { \times 2/3 { r128[ f'64.\p eqs'32\ppp eqs'32\p } r64 r64 ftqs'128\pp \times 4/5 { r64 ftqs'64.\pp } r64] }|

\time 7/16
c''32[\mp eqs'32. c'32. eqs'16.\fff \times 3/5 { eqs'32\p e'8\mf } ctqs'8\ff]  |
  
%}
}

trombone =  {
\clef bass
#(set-accidental-style 'dodecaphonic)

\time 2/8
\times 8/13 { eqf'16[\mf eqf'32\mp \times 2/3 { r32 r64 ftqs'32.\pp } \times 4/5 { r16 ftqs'32\p ctqs'16\ppp } ctqs'8\fff] }|

\time 4/8
dqs'4\fff dqs'4\ff  |

\time 3/8
\times 3/4 { dqs'8.[\fff f'16\mf cs'16 ds'16 cqs'16 r32. ds'64\p] }|

\time 2/8
\times 8/9 { cqs'16[\mp r8 \times 4/5 { d'32\ppp c'64\pp dtqs'32\ppp } r32] }  |

r4 |

\time 1/8
\times 8/9 { r32[ \times 4/7 { aqs'64\ppp r64. r64 } r128 \times 8/13 { r64. f'64.\ppp c''32 ctqs'64.\pp } dtqs'128]\ppp }|
  
\time 7/16
cs'32[\mp dqs'16.\f \times 3/4 { dtqs'8\fff } dtqs'16. r8] |

}

drum = {
  
\time 3/16
c'16[ c'16 \times 2/3 { r64. r32  r128 r32] } |

\time 2/8
c'16[  	\times 8/9 { r64.  r128  r128  c'32 } \times 3/4 {	c'32  c'32 }	c'64  	\times 8/9 {r64  r64  r128 r32]} |

\time 3/16
\times 6/11 { c'16.[  c'16  c'8  c'16] } |

\time 5/16
c'32[  	c'16  c'16  	\times 8/11 { 	c'32  c'32  c'16  c'32. } \times 1/2 { 	c'16]} |

\time 3/8
c'16[ 	\times 2/3 { 	c'16. } 	c'16.  c'16  	\times 6/11 { 	c'16  c'16  r32 r64] 	} |

\time 4/8
\times 8/13 { \times 8/11 { c'16[  c'16  c'8  c'16.} c'8 \times 2/3 { c'8  c'16  c'8. } 	c'8.]	} |

\time 3/8
\times 6/11 {\times 4/7 { c'8.  c'4} \times 2/3 { r32[  r32  c'16.  c'8 } \times 2/3 { c'16  c'8  c'16.  c'16.] } } |
}

trumpetCPart = \new Staff \with {
  midiInstrument = trumpet
} \trumpetC

trombonePart = \new Staff \with {
  midiInstrument = trombone
} \trombone

drumsPart = \new Staff \with {
} \drum

\score {
  
\trumpetCPart
\trombonePart
\drumsPart
  
}
\layout {
  \context {
\Score
\remove Timing_translator
\remove Default_bar_line_engraver
\remove Bar_number_engraver
\override SpacingSpanner #'uniform-stretching = ##t
\override SpacingSpanner #'strict-note-spacing = ##t
proportionalNotationDuration = #(ly:make-moment 1 64)
  }
  \context {
\Staff
\consists Timing_translator
\consists Default_bar_line_engraver
  }
  \context {
\Voice
\remove Forbid_line_break_engraver
tupletFullLength = ##t
  }
}

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


\bar :

2012-09-16 Thread Peter O'Doherty

Hi list,

Is it possible to force an extra bar line in the form

\bar :

when inserted into a multi-stave score to only apply to one staff 
instead of the default where the dots are added to all staves?


Many thanks,
Peter


--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=


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


Re: #'hide-tied-accidental-after-break

2012-07-05 Thread Peter O'Doherty

On 07/05/2012 09:06 AM, David Kastrup wrote:

Peter O'Doherty m...@peterodoherty.net writes:


Hi list,


When using these two lines together

#(set-accidental-style 'dodecaphonic)
\override Accidental #'hide-tied-accidental-after-break = ##t


\override Accidental... cancels out the dodecaphonic command
everywhere in the score.

If you are using a somewhat recent version of LilyPond, the problem more
likely is that you accidentally did not set the accidental style in the
first place.  Note that #(set-accidental-style 'dodecaphonic) written in
music does nothing: it calculates music expressions that set the
accidental style, then returns them as a Scheme value, and LilyPond
ignores Scheme in music by default (not so as an argument of a music
function, however).

You have to write $(set-accidental-style 'dodecaphonic) instead, or more
simply,

\accidentalStyle dodecaphonic


Is there another way to avoid repeated accidentals on new staves but
still keep the accidental style 'dodecaphonic?

I find that
{
   \accidentalStyle dodecaphonic
   \override Accidental #'hide-tied-accidental-after-break = ##t
   cis~ cis cis~ cis~ \break cis~ cis cis~ cis
}

works just like I would expect.



Thanks for your help.
The accidental override doesn't work when the tied notes are contained 
within a | \\  |construct. Is there a way to deal with these?


Regards,
Peter

--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=

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


#'hide-tied-accidental-after-break

2012-07-04 Thread Peter O'Doherty

Hi list,


When using these two lines together

#(set-accidental-style 'dodecaphonic)
\override Accidental #'hide-tied-accidental-after-break = ##t


\override Accidental... cancels out the dodecaphonic command everywhere 
in the score. Is there another way to avoid repeated accidentals on new 
staves but still keep the accidental style 'dodecaphonic?



Many thanks,
Peter


--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=

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


Re: tupletFullLength clashes with barline

2012-07-02 Thread Peter O'Doherty

On 06/30/2012 02:27 AM, Colin Campbell wrote:

On 12-06-29 06:34 AM, Peter O'Doherty wrote:


Thanks.
Do you know how I can run the development version in combination with 
Frescobaldi (which uses version 2.14.2 at present)?

Thanks again,
Peter



In Frescobaldi, one of the many options is to configure a list of 
lilypond versions.  If you have the stable version installed as well 
as the development version, just use the setup to point Frescobaldi to 
each, as well as to designate the default.


HTH,
Colin



Will the development version not replace the stable on my system? Is it 
safe to have them both installed side by side?

Thanks,
Peter

--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=


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


Re: tupletFullLength clashes with barline

2012-07-02 Thread Peter O'Doherty

Thanks a lot to those who assisted. It's working just nicely now.
Best wishes,
Peter



On 06/30/2012 02:27 AM, Colin Campbell wrote:

On 12-06-29 06:34 AM, Peter O'Doherty wrote:


Thanks.
Do you know how I can run the development version in combination with 
Frescobaldi (which uses version 2.14.2 at present)?

Thanks again,
Peter



In Frescobaldi, one of the many options is to configure a list of 
lilypond versions.  If you have the stable version installed as well 
as the development version, just use the setup to point Frescobaldi to 
each, as well as to designate the default.


HTH,
Colin




--
//=
- Peter O'Doherty
- http://www.peterodoherty.net
- m...@peterodoherty.net
- https://joindiaspora.com/people/70716
//=


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


Re: tupletFullLength clashes with barline

2012-06-29 Thread Peter O'Doherty

On 06/25/2012 10:50 AM, m...@apollinemike.com wrote:

On 25 juin 2012, at 10:37, Peter O'Doherty wrote:


On Sun, Mar 11, 2012 at 09:25:55AM +0100, Peter O'Doherty wrote:

On 03/10/2012 09:55 PM, Patrick Karl wrote:

On Mar 10, 2012, at 1:35 PM, Jamespkx1...@gmail.comwrote:


Message: 6
Date: Sat, 10 Mar 2012 19:34:40 +
From: Jamespkx1...@gmail.com
To: Peter O'Dohertym...@peterodoherty.net
Cc: lilypond-user@gnu.org
Subject: Re: tupletFullLength clashes with barline
Message-ID:
CA+T3wFkZtC-A0k6W1zjy3q2U=dtu8+qP+AWSf9rf=7orexq...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

Hello,

On 10 March 2012 08:18, Peter O'Dohertym...@peterodoherty.netwrote:

Hi list,

tupletFullLength = ##t

causes the right hand part of the tuplet bracket to clash with the barline.
This only happens with a barline at the end of a line.

Is there a way to avoid this?


Tiny example and the version you are using might help us.

Here's one that illustrates what he's talking about:

\version 2.14.2
music = \relative g' {
\repeat unfold 3 { \times 2/3 { f8 g a f g a f g a f g a} }
\break
\set tupletFullLength = ##t
\repeat unfold 3 { \times 2/3 { g8 a b g a b g a b g a b} }
}
\score { \new Staff { \music } }

Note that in the 1st two measures of the 2nd system the tuple bracket extends 
slightly past the last note, but in the last measure in the 2nd system the 
tuple bracket extends all the way to the bar line.

Regards,
Pat Karl


Thanks for the example Pat. That illustrates it well. This examples
shows how bad it looks in a piano stave:

\version 2.12.3
\include english.ly
upper =  {
   \clef treble
   \time 4/8
   \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
   \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
   \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
   \break
   \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
}

lower =  {
   \clef bass
   \times 4/6 { c8 c8 c8 c8 c8 c8 } |
   \times 4/6 { c8 c8 c8 c8 c8 c8 } |
   \times 4/6 { c8 c8 c8 c8 c8 c8 } |
   \times 4/6 { c8 c8 c8 c8 c8 c8 } |
}

\score {
   \new PianoStaff
 \new Staff = upper \upper
 \new Staff = lower \lower
   \layout {
  \context {
\Score
tupletFullLength = ##t
\override TupletBracket #'bracket-visibility = ##t
\override TupletNumber #'text = #tuplet-number::calc-fraction-text
}
  }
}

Sorry to reopen this but I still haven't been able to solve the problem of the 
tuplet bracket colliding with the barline at the end of a line.

Any help would be greatly appreciated!

Many thanks,
Peter


With the development version, you can do:

\override TupletBracket #'X-positions =
#(lambda (grob)
   (let* ((right (ly:spanner-bound grob RIGHT))
  (bd (ly:item-break-dir right))
  (xshift (if (= bd -1) -0.5 0.0)))
 (coord-translate (ly:tuplet-bracket::calc-x-positions grob)
  `(0 . ,xshift

Cheers,
MS


Thanks.
Do you know how I can run the development version in combination with 
Frescobaldi (which uses version 2.14.2 at present)?

Thanks again,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


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


Re: suppress warnings

2012-05-31 Thread Peter O'Doherty

On 05/29/2012 04:22 PM, Reinhold Kainhofer wrote:


The real issue is: Why is that warning supposed to be there in the first
place? Shouldn't you be looking for a way to fix the underlying problem
instead?

Cheers,
Reinhold
Good point. The situation is this: the \sustainOn command is often 
included in a 2-voice texture but the allied command \sustainOff in a 
1-voice measure or vice-versa (simple example below). The pedal marking 
is generally correctly printed but lilypond complains (warning: cannot 
find start of piano pedal: 'Sustain' ).


  { g4 fis8( g) a4 g }\\ { d4\sustainOn d d d }  |
a,4 b,\sustainOff c d |


I could make a fake second voice in the second measure here which I 
could hide using s but the stem direction would have to be manually 
adjusted too. This seems like a lot of extra work just to avoid a warning.


(Unless there is a better way I'm not seeing.)

Best wishes,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


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


Re: suppress warnings

2012-05-31 Thread Peter O'Doherty

On 05/31/2012 12:17 PM, David Kastrup wrote:

Eluzeelu...@gmail.com  writes:


Am 31.05.2012 11:19, schrieb Peter O'Doherty:

I could make a fake second voice in the second measure here which I
could hide using s but the stem direction would have to be
manually adjusted too. This seems like a lot of extra work just to
avoid a warning.

(Unless there is a better way I'm not seeing.)

Best wishes,
Peter


what's wrong with this code - I don't get any warnings!

{ \clef bass

 { g4 fis8( g) a4 g }
 \\
 { d4 \sustainOn d d d }
   |
   a,4 b,\sustainOff c d |
}

do I miss something?

Don't see why.  The Piano_pedal_engraver works at Staff level by
default.  Voice switches should not faze it.
Okay, I'll take another good look at the score. Perhaps I'm missing 
other factors which are causing this, although it always occurs at 
across voice switches.

Thanks,
Peter




--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


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


mysterious error

2012-05-08 Thread Peter O'Doherty

Using lilypond version 2.14.2 I'm getting the following error.

Drawing systems...lilypond: ../flower/include/drul-array.hh:35: T 
Drul_arrayT::at(Direction) [with T = double]: Assertion `d == 1 || d 
== -1' failed.

^CAborted (core dumped)

It's caused by a piece of code in a big score and the error disappears 
when I test the offending code separately. (I don't wish to post the 
code here publicly.)


Can someone please help?

Many thanks,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


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


Re: mysterious error

2012-05-08 Thread Peter O'Doherty

On 05/08/2012 12:08 PM, David Kastrup wrote:

Peter O'Dohertym...@peterodoherty.net  writes:


Using lilypond version 2.14.2 I'm getting the following error.

Drawing systems...lilypond: ../flower/include/drul-array.hh:35: T
Drul_arrayT::at(Direction) [with T = double]: Assertion `d == 1 || d
== -1' failed.
^CAborted (core dumped)

It's caused by a piece of code in a big score and the error disappears
when I test the offending code separately. (I don't wish to post the
code here publicly.)

Can someone please help?

Operating system, compiler, compiled from source or installed from
binaries?



Ubuntu 12.04 (the error above is one which has started appearing after 
upgrading from 11.04, lilypond version has not changed), installed from 
binary.


--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


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


Re: programming error: cyclic dependency

2012-04-29 Thread Peter O'Doherty

On 04/28/2012 07:51 PM, m...@apollinemike.com wrote:

On 28 avr. 2012, at 19:48, Peter O'Doherty wrote:


Hi list,
After updating my system to Ubuntu 11.10 (although I can't see why this is 
relevant but this is the only change I've made to the system recently), code 
which previously output no error is full of these errors:

warning: programming error: cyclic dependency: calculation-in-progress 
encountered for #'positions (Beam)

I don't see anything strange in the final pdf file so is this warning to be 
ignored?

Many thanks,
Peter

Lots of work was done in beams in 2.13 and 2.15.
If you could send a minimal example (of one beam, say) and the version number, 
it'll be easy to ID if the problem has been fixed in more recent versions.
But this is a problem - it means that beam positions are being calculated to 
early in the LilyPond compilation process.


I just upgraded to Ubuntu 12.04 and the error messages are gone. Don't 
quite understand that one.

Thanks,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


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


programming error: cyclic dependency

2012-04-28 Thread Peter O'Doherty

Hi list,
After updating my system to Ubuntu 11.10 (although I can't see why this 
is relevant but this is the only change I've made to the system 
recently), code which previously output no error is full of these errors:


warning: programming error: cyclic dependency: calculation-in-progress 
encountered for #'positions (Beam)


I don't see anything strange in the final pdf file so is this warning to 
be ignored?


Many thanks,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


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


Re: line breaks within beamed tuplets

2012-03-20 Thread Peter O'Doherty



So this does this what you want:


\version 2.15.34

upper =  {
 \clef treble
 \time 4/8
 c'8 c'8 c'8 c'8
 c'8 c'8 c'8 c'8
 c'8 c'8 c'8 c'8
 c'8 c'8 c'8 c'8
}

lower =  {
 \clef bass
 \times 4/5 { c8[ c8 c8 c8 c8] }
 \times 5/6 { c8[ c8 c8 c8 c8 \bar  \break c8] }
 \times 3/4 { c8[ c8 c8 c8] }
 \times 4/5 { c8 c8 c8 c8 c8 }
}

\score {
 \new PianoStaff 
   \new Staff = upper \upper
   \new Staff = upper \lower

 \layout {
 \context {
  \Score
   \override Beam #'breakable = ##t
}
 \context {
\Voice
\remove Forbid_line_break_engraver
}
}
}



HTH,


Yes it does. Tremendously. Many thanks!
Peter
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: tupletFullLength clashes with barline

2012-03-11 Thread Peter O'Doherty

On 03/10/2012 09:55 PM, Patrick Karl wrote:

On Mar 10, 2012, at 1:35 PM, Jamespkx1...@gmail.com  wrote:


Message: 6
Date: Sat, 10 Mar 2012 19:34:40 +
From: Jamespkx1...@gmail.com
To: Peter O'Dohertym...@peterodoherty.net
Cc: lilypond-user@gnu.org
Subject: Re: tupletFullLength clashes with barline
Message-ID:
CA+T3wFkZtC-A0k6W1zjy3q2U=dtu8+qP+AWSf9rf=7orexq...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

Hello,

On 10 March 2012 08:18, Peter O'Dohertym...@peterodoherty.net  wrote:

Hi list,

tupletFullLength = ##t

causes the right hand part of the tuplet bracket to clash with the barline.
This only happens with a barline at the end of a line.

Is there a way to avoid this?


Tiny example and the version you are using might help us.

Here's one that illustrates what he's talking about:

\version 2.14.2
music = \relative g' {
\repeat unfold 3 { \times 2/3 { f8 g a f g a f g a f g a} }
\break
\set tupletFullLength = ##t
\repeat unfold 3 { \times 2/3 { g8 a b g a b g a b g a b} }
}
\score { \new Staff { \music } }

Note that in the 1st two measures of the 2nd system the tuple bracket extends 
slightly past the last note, but in the last measure in the 2nd system the 
tuple bracket extends all the way to the bar line.

Regards,
Pat Karl



Thanks for the example Pat. That illustrates it well. This examples 
shows how bad it looks in a piano stave:


\version 2.12.3
\include english.ly
upper =  {
  \clef treble
  \time 4/8
  \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
  \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
  \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
  \break
  \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
}

lower =  {
  \clef bass
  \times 4/6 { c8 c8 c8 c8 c8 c8 } |
  \times 4/6 { c8 c8 c8 c8 c8 c8 } |
  \times 4/6 { c8 c8 c8 c8 c8 c8 } |
  \times 4/6 { c8 c8 c8 c8 c8 c8 } |
}

\score {
  \new PianoStaff 
\new Staff = upper \upper
\new Staff = lower \lower

  \layout {
 \context {
   \Score
   tupletFullLength = ##t
   \override TupletBracket #'bracket-visibility = ##t
   \override TupletNumber #'text = #tuplet-number::calc-fraction-text
   }
 }
}

Best wishes,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


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


line breaks within beamed tuplets

2012-03-11 Thread Peter O'Doherty

Hi,
Another question concerning tuplets:

\remove Forbid_line_break_engraver
\override Beam #'breakable = ##t

only seem to work with a single stave.

The code below causes a warning:
warning: forced break was overridden by some other event, should you be 
using bar checks?


Is there an alternative?

Many thanks,
Peter

=
\version 2.12.3

upper =  {
  \clef treble
  \time 4/8
  c'8 c'8 c'8 c'8
  c'8 c'8 c'8 c'8
  c'8 c'8 c'8 c'8
  c'8 c'8 c'8 c'8
}

lower =  {
  \clef bass
  \times 4/5 { c8[ c8 c8 c8 c8] }
  \times 5/6 { c8[ c8 c8 c8 c8 \bar  \break c8] }
  \times 3/4 { c8[ c8 c8 c8] }
  \times 4/5 { c8 c8 c8 c8 c8 }
}

\score {
  \new PianoStaff 
\new Staff = upper \upper
\new Staff = upper \lower

  \layout {
 \context {
   \Score
\remove Forbid_line_break_engraver
\override Beam #'breakable = ##t
 }
}
}

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


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


Re: line breaks within beamed tuplets

2012-03-11 Thread Peter O'Doherty

On 03/11/2012 11:42 AM, m...@apollinemike.com wrote:

On Mar 11, 2012, at 11:40 AM, Peter O'Doherty wrote:


Hi,
Another question concerning tuplets:

\remove Forbid_line_break_engraver
\override Beam #'breakable = ##t


Try adding:

\override TupletBracket #'breakable = ##t

Cheers,
MS



Sorry, that doesn't work. Still getting
warning: forced break was overridden by some other event, should you be 
using bar checks?

Best,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


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


tupletFullLength clashes with barline

2012-03-10 Thread Peter O'Doherty

Hi list,

tupletFullLength = ##t

causes the right hand part of the tuplet bracket to clash with the 
barline. This only happens with a barline at the end of a line.


Is there a way to avoid this?

Many thanks,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


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


Re: ANN: Frescobaldi 2.0.2 is available

2012-02-05 Thread Peter O'Doherty

Hi Wilbert,

Thanks for all your work on this. It looks great.

Sorry if this has been asked before, I couldn't find anything in the 
archives. I installed all the dependencies (including 
libpoppler-qt4-dev) but when I start frescobaldi the message Could not 
load the popplerqt4 module appears in the right pane.


Can you help? (I'm on linux.)

Thanks,
Peter


On 01/16/2012 11:24 AM, Wilbert Berendsen wrote:

Hi all,

2.0.2 is released which mainly fixes some Windows bugs:
- snippet import/export now works in installer version
- convert-ly works
- stopping LilyPond now works

other improvements:
- the PDF and MIDI now always update correctly, also when 'save doc on
   compile' is checked.
- manage templates in file-new from template menu (templates are
   simply snippets that define the 'template' variable)
- lilypond can be run untranslated (in the C locale)
- file entry fields in prefs are not slow anymore
- more hyphen dictionaries bundled by default

Note: for Windows users there is now a well-tested full installer that
includes Python, PyQt4, poppler, portmidi and everything!

Download: http://frescobaldi.org/download

Enjoy!




--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  https://joindiaspora.com/people/70716
//=


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


time signature between staves

2011-09-27 Thread Peter O'Doherty

Hi,

I have a system with 4 staves and instead of each stave having a time 
signature (which changes regularly) I would like to place the time 
signature between the second and third stave only. Is this possible? And 
if so, how?


Many thanks,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


Re: svg output

2011-09-20 Thread Peter O'Doherty

Sorry for the noise. I was using the wrong version of lilypond.
Many thanks,
Peter


 On 09/19/2011 10:44 PM, Gerard McConnell wrote:

I don't know if this is any help, but with JEdit
%lilypond -dbackend=svg %buffer
works fine. That is, whatever is in the buffer gets output as an SVG file.
Gerard

On Mon, Sep 19, 2011 at 9:42 AM, Peter O'Doherty 
m...@peterodoherty.net mailto:m...@peterodoherty.net wrote:


Hi,
When I run this on terminal

lilypond -dbackend=svg finalscore.ly http://finalscore.ly

instead of each page of the score as seperate svg files I get one,
empty, file named finalscore.svg.

Any idea where it might be going wrong? (There is no error message.)
Thanks,
Peter



___
lilypond-user mailing list
lilypond-user@gnu.org mailto: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


svg output

2011-09-19 Thread Peter O'Doherty

Hi,
When I run this on terminal

lilypond -dbackend=svg finalscore.ly

instead of each page of the score as seperate svg files I get one, 
empty, file named finalscore.svg.


Any idea where it might be going wrong? (There is no error message.)
Thanks,
Peter



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


Lyrics in StaffGroup

2011-09-02 Thread Peter O'Doherty

Hi,
Can someone please advise me where \addlyrics { \text } should go in the 
code below? I'm using a StaffGroup so it's not straightforward.

Many thanks,
Peter



\version 2.13.61
\include english.ly

mezzoSopranoVoice = \new Voice {
  \set Staff.instrumentName = #Mezzo-soprano
}

cello = \new Voice {
  \set Staff.instrumentName = #Cello
  \clef bass_8
}

\score {
  \new StaffGroup 
\new Staff  \mezzoSopranoVoice 
\new Staff  \cello 


  \layout {
\context {
} }

}




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


Re: Lyrics in StaffGroup

2011-09-02 Thread Peter O'Doherty

Thanks. That seems to work just fine.
Best,
Peter

On 09/02/2011 12:51 PM, Peter Chubb wrote:

Peter == Peter O'Dohertyk.p.odohe...@gmail.com  writes:

Peter  Hi, Can someone please advise me where \addlyrics { \text }
Peter  should go in the code below? I'm using a StaffGroup so it's not
Peter  straightforward.  Many thanks, Peter


Name the mezzoSopVoice then use \lyricsto:


Peter  mezzoSopranoVoice = \new Voice { \set Staff.instrumentName =
Peter  #Mezzo-soprano }

  mezzoSopranoVoice = \context Voice = tune { \set Staff.instrumentName =
#Mezzo-soprano }

Peter  cello = \new Voice { \set Staff.instrumentName = #Cello \clef
Peter  bass_8 }

Peter  \score {
Peter\new StaffGroup
Peter\new Staff  \mezzoSopranoVoice

\lyricsto tune \new Lyrics \lyricmode{ words }

Peter\new Staff  \cello
Peter 
Peter \layout { \context { }
Peter}
Peter  }



--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au   ERTOS within National ICT Australia




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


viola midi instrument

2011-07-15 Thread Peter O'Doherty

Hi list,

Although it is listed here
http://kainhofer.com/~lilypond/Documentation/notation/midi-instruments.html

I'm not hearing the viola part when I use the code below to produce a 
midi file. Am I missing something?


Many thanks,
Peter


\version 2.13.16
\include english.ly

violinI = { c' }

violinII = { g' }

viola = { \clef alto e }

cello = { \clef bass c }

violinIPart = \new Staff \with {
  instrumentName = Violin I
  midiInstrument = violin
} \violinI

violinIIPart = \new Staff \with {
  instrumentName = Violin II
  midiInstrument = violin
} \violinII

violaPart = \new Staff \with {
  instrumentName = Viola
  midiInstrument = viola
} \viola

celloPart = \new Staff \with {
  instrumentName = Cello
  midiInstrument = cello
} \cello

\score {

\violinIPart
\violinIIPart
\violaPart
\celloPart

  \layout { }
  \midi { }
}


--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


Re: viola midi instrument

2011-07-15 Thread Peter O'Doherty
Sorry, for the noise. The problem isn't LP but timidity. Apparently, it 
doesn't have a viola option.

Peter


On 07/15/2011 02:56 PM, Peter O'Doherty wrote:

Hi list,

Although it is listed here
http://kainhofer.com/~lilypond/Documentation/notation/midi-instruments.html 



I'm not hearing the viola part when I use the code below to produce a 
midi file. Am I missing something?


Many thanks,
Peter


\version 2.13.16
\include english.ly

violinI = { c' }

violinII = { g' }

viola = { \clef alto e }

cello = { \clef bass c }

violinIPart = \new Staff \with {
  instrumentName = Violin I
  midiInstrument = violin
} \violinI

violinIIPart = \new Staff \with {
  instrumentName = Violin II
  midiInstrument = violin
} \violinII

violaPart = \new Staff \with {
  instrumentName = Viola
  midiInstrument = viola
} \viola

celloPart = \new Staff \with {
  instrumentName = Cello
  midiInstrument = cello
} \cello

\score {

\violinIPart
\violinIIPart
\violaPart
\celloPart

  \layout { }
  \midi { }
}





--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


Re: viola midi instrument

2011-07-15 Thread Peter O'Doherty

On 07/15/2011 03:48 PM, Brett McCoy wrote:

On Fri, Jul 15, 2011 at 8:56 AM, Peter O'Dohertyk.p.odohe...@gmail.com  wrote:


Although it is listed here
http://kainhofer.com/~lilypond/Documentation/notation/midi-instruments.html

I'm not hearing the viola part when I use the code below to produce a midi
file. Am I missing something?

If you are using the default soundfont (freepats) with Timidity, it
doesn't have a viola patch for whatever reason. Use the fluidGM set,
it's much better!


Thanks. That does the job!



--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


transpose

2011-06-02 Thread Peter O'Doherty

Hi,
Can someone please help me adjust this example so it's transposed 
correctly for Bb clarinet? Where should I put the

 \transpose c' d' \clarinet ?
Thanks,
Peter

\version 2.12.3
\include english.ly

\paper {
  #(set-paper-size a4 'landscape)
}

clarinet =  {

  c'4 d' e' f' |

}

\score {
  \new Staff \with {
midiInstrument = clarinet
  }
  \clarinet
  \layout {
\context {
  \Score
   \override TupletBracket #'bracket-visibility = ##t
   \override TupletNumber #'text = #tuplet-number::calc-fraction-text
   \override Stem #'stemlet-length = #0.7
   \override DynamicText #'font-size = #-2

}
  }
}

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


Re: transpose

2011-06-02 Thread Peter O'Doherty

Thank you all for your help. David's solution was just the one I needed.
Best wishes,
Peter

On 06/02/2011 05:48 PM, Ole Schmidt wrote:

I would do it like this (not sure if the indention is correct...)

hth  ole

%
\version 2.12.3
\include english.ly
\header {
}

clari =  \new Staff {
%   \time 3/4
 \set Staff.instrumentName = Clarinet in Bb
 \set Staff.midiInstrument = clarinet
%   \key d \major
%   \clef treble
   \transpose c' d' {

  c'4 d' e' f' |

}
}

\score {
 
\clari
 

  \midi {
 }

  \layout {
 }

}

\paper {

}
%%
Am 02.06.2011 um 17:00 schrieb Peter O'Doherty:


Hi,
Can someone please help me adjust this example so it's transposed correctly for 
Bb clarinet? Where should I put the
\transpose c' d' \clarinet ?
Thanks,
Peter

\version 2.12.3
\include english.ly

\paper {
  #(set-paper-size a4 'landscape)
}

clarinet =  {

  c'4 d' e' f' |

}

\score {
  \new Staff \with {
midiInstrument = clarinet
  }
  \clarinet
  \layout {
\context {
  \Score
   \override TupletBracket #'bracket-visibility = ##t
   \override TupletNumber #'text = #tuplet-number::calc-fraction-text
   \override Stem #'stemlet-length = #0.7
   \override DynamicText #'font-size = #-2

}
  }
}

--
//=
-   Peter O'Doherty
-   http://www.peterodoherty.net
-   m...@peterodoherty.net
//=


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





--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


Re: transpose

2011-06-02 Thread Peter O'Doherty

On 06/03/2011 12:45 AM, Francisco Vila wrote:

2011/6/2 Peter O'Dohertyk.p.odohe...@gmail.com:

Thank you all for your help. David's solution was just the one I needed.
Best wishes,
Peter

Here is a beautiful example of something I've been suspecting for
months.  No matter how fast I reply to a question in this list, my
reply only reaches other recipients's mailboxes after several hours.
:-(


I'm not sure if that's correct. I sent my original message at 17:00 but 
didn't reply until 20:38. The delay was therefore mine. (I'm also 
replying to this message at 07:48 after receiving it at 12:45!)

Anyway, I am sincerely glad that you received one or more helpful
answers, be mine or from others.



Thanks for your suggestion.
Best,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


quarter tones

2011-05-30 Thread Peter O'Doherty

Hi,

Is it only possible to use the quarter tone suffixes (ih and eh) with 
the Dutch version of note names, i.e. deseh? dflateh or dfeh would be 
nice too.


Thanks,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


quarter tones

2011-05-30 Thread Peter O'Doherty

Sorry for the noise.
Just found this:

http://lists.gnu.org/archive/html/lilypond-devel/2006-08/msg00088.html

Regards,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


piano score

2011-05-16 Thread Peter O'Doherty

Hi,
I have a few questions concerning piano scores.

Is it possible to:

adjust things like ottava brackets and pedal brackets vertically to 
avoid clashes?


adjust between system space/padding for a specific page, note the whole 
score?


Many thanks,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


DynamicText offset

2011-05-14 Thread Peter O'Doherty

Hi,

Is there a way to offset dynamic text vertically?

I though this might work but it doesn't

\once \override DynamicText #'Y-offset = #0.2

Regards,
Peter


--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


Re: DynamicText offset

2011-05-14 Thread Peter O'Doherty

On 05/14/2011 11:38 AM, -Eluze wrote:


Peter O'Doherty-3 wrote:

Hi,

Is there a way to offset dynamic text vertically?

I though this might work but it doesn't

\once \override DynamicText #'Y-offset = #0.2

Regards,
Peter



\override DynamicText #'extra-offset = #'(0 . -5)

should work!


Great thanks. So

\override DynamicText #'X-offset = #0.2


isn't necessary either.

Best,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


Re: tuplet brackets force print

2011-05-06 Thread Peter O'Doherty

On 05/03/2011 03:14 PM, Colin Campbell wrote:

On 11-05-03 02:26 AM, Peter O'Doherty wrote:





On 05/03/2011 07:46 AM, Nick Payne wrote:

On 03/05/11 15:13, Peter O'Doherty wrote:
re. my previous post concerning tuplet brackets not bing printed. 
Apparently this is a known bug for which a patch has been made.


http://code.google.com/p/lilypond/issues/detail?id=405

Can anyone advise how I can implement this patch?


According to the link above, the fix was implemented in 2.13.14, 
so run the current development version to get it.


Nick


Thanks. Is it possible to have two versions alongside each other?



Yes.  Give us a clue about operating system, etc.


Linux (Ubuntu 10.4). Is it best to download the binary or via git?




Here is a link to the Contributor's Guide (CG), Peter, describing how 
to manage stable and development versions on the same machine.  
Another choice, as you are running Ubuntu, is to use Frescobaldi as 
your editor, and use the feature in the setup, which allows you to set 
paths to multiple versions of lilypond, choosing one as a default.  
Frescobaldi then honours the \version statement at the head of your 
.ly file, making switching versions trivial.


HTH
Colin Campbell

http://lilypond.org/doc/v2.13/Documentation/contributor/concurrent-stable-and-development-versions 




Great, thanks. I'll have a look at that.
Best,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


Re: tuplet brackets force print

2011-05-03 Thread Peter O'Doherty

On 05/03/2011 07:46 AM, Nick Payne wrote:

On 03/05/11 15:13, Peter O'Doherty wrote:
re. my previous post concerning tuplet brackets not bing printed. 
Apparently this is a known bug for which a patch has been made.


http://code.google.com/p/lilypond/issues/detail?id=405

Can anyone advise how I can implement this patch?


According to the link above, the fix was implemented in 2.13.14, so 
run the current development version to get it.


Nick


Thanks. Is it possible to have two versions alongside each other?


--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


Re: tuplet brackets force print

2011-05-03 Thread Peter O'Doherty





On 05/03/2011 07:46 AM, Nick Payne wrote:

On 03/05/11 15:13, Peter O'Doherty wrote:
re. my previous post concerning tuplet brackets not bing printed. 
Apparently this is a known bug for which a patch has been made.


http://code.google.com/p/lilypond/issues/detail?id=405

Can anyone advise how I can implement this patch?


According to the link above, the fix was implemented in 2.13.14, so 
run the current development version to get it.


Nick


Thanks. Is it possible to have two versions alongside each other?



Yes.  Give us a clue about operating system, etc.


Linux (Ubuntu 10.4). Is it best to download the binary or via git?


--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


tuplet brackets force print

2011-05-02 Thread Peter O'Doherty
re. my previous post concerning tuplet brackets not bing printed. 
Apparently this is a known bug for which a patch has been made.


http://code.google.com/p/lilypond/issues/detail?id=405

Can anyone advise how I can implement this patch?

Thanks,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


tuplet brackets

2011-04-30 Thread Peter O'Doherty

Hi,

Can someone tell me if there is a way to force triplet bracket 
visibility in conjunction with a tuplet number in fraction form, i.e. 
using the following two overrides?


\override TupletBracket #'bracket-visibility = ##t
\override TupletNumber #'text = #tuplet-number::calc-fraction-text

At the moment the bracket behaviour is unpredictable, sometimes printed, 
sometimes not.


Many thanks,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=


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


Re: grace note without slurred but needs a slashed stem

2011-04-08 Thread Peter O'Doherty

Hi,
Can someone advise how to adjust this identifier to deal with a group of beamed 
grace notes?
Many thanks
Peter



Mark Polesky wrote:

   ... with an identifier:

.. which can be adapted to cope with a group of  grace notes:

mygrace = #(define-music-function (parser location music) (ly:music?)

#{ \override Stem #'stroke-style = #grace \grace $music \revert Stem 
#'stroke-style #})


N.B. - any beaming suppresses such grace slashes.

Cheers,

Robin


--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
//=

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


Re: ottavation

2011-04-07 Thread Peter O'Doherty

Thanks a lot Mike and Nick. Your suggestions have been very helpful.
Regards,
Peter


On 04/07/2011 01:37 AM, Nick Payne wrote:

On 06/04/11 23:26, Peter O'Doherty wrote:

Thanks.
The code you sent applies \ottava #1 to the whole score, whereas I 
also have instances of |8vb and 15va etc|. All I need is a way to 
change the property to print only 8 or 15 without va, vb etc. to save 
me typing \set Staff.ottavation = #8 each time.

Thanks,
Peter

\score { \new Staff {
 {
{
  \ottava #1
  %\set Staff.ottavation = #8
  c''1
  \ottava #-1
  %\set Staff.ottavation = #8
  c,1
}

}}
\layout {
  \context {
% \Score ottavation=#8 % this does not work
} }}


Why not just define something like

eightU = { \ottava #1 \set Staff.ottavation = #8 }
eightD = { \ottava #-1 \set Staff.ottavation = #8 }

{
  \eightU
  c''1
  \eightD
  c,1
}

Nick


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


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


Re: programming error: Going back in MIDI time

2011-04-06 Thread Peter O'Doherty

On 04/06/2011 07:53 AM, Janek Warchoł wrote:

\acciaccatura { \scaleDurations #' (1 . 2) { c'8[ d' e' f' g'] } }

That works. Thanks a lot.
Regards,
Peter
==
www.peterodoherty.net

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


ottavation

2011-04-06 Thread Peter O'Doherty

Hi,

How can I adjust \set Staff.ottavation = #8 to include it in the 
layout section so it applies to the whole score?


\layout {
 \context {
   \Score

%\set Staff.ottavation = #8

 }
   }

Many thanks,
Peter

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


Tuplet bracket visibility

2011-04-06 Thread Peter O'Doherty

Hi,
Lilypond seems to be selective in applying the \override command to 
allow bracket visibility (which I have in the layout section as below). 
Is there another way to force it to always do so?

Thanks again,
Peter


 \layout {
 \context {
   \Score
   \override TupletBracket #'bracket-visibility = ##t
   \override TupletNumber #'text = #tuplet-number::calc-fraction-text
 }
   }

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


Re: ottavation

2011-04-06 Thread Peter O'Doherty

Thanks.
The code you sent applies \ottava #1 to the whole score, whereas I also 
have instances of |8vb and 15va etc|. All I need is a way to change the 
property to print only 8 or 15 without va, vb etc. to save me typing 
\set Staff.ottavation = #8 each time.

Thanks,
Peter

\score { \new Staff {
 {
{
  \ottava #1
  %\set Staff.ottavation = #8
  c''1
  \ottava #-1
  %\set Staff.ottavation = #8
  c,1
}

}}
\layout {
  \context {
% \Score ottavation=#8 % this does not work
} }}




On 04/06/2011 01:51 PM, m...@apollinemike.com wrote:

On Apr 6, 2011, at 7:22 AM, James Lowe wrote:


From: Peter O'Doherty [mailto:k.p.odohe...@gmail.com]
Sent: 06 April 2011 12:21
To: James Lowe
Subject: Re: ottavation

Thanks for your reply, James. My question wasn't very clear - there are numerous instances of ottava passages 
in the score, but not the whole score so \clef treble_8 is not suitable. It's not the ottava 
instruction as such I want to use in the \layout { } but the format, i.e. just an 8 instead of 
8va.
Regards,
Peter

On Wed, Apr 6, 2011 at 12:27 PM, James Lowejames.l...@datacore.com  wrote:
Hello,

)-Original Message-
)From: lilypond-user-bounces+james.lowe=datacore@gnu.org
)[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On
)Behalf Of Peter O'Doherty
)Sent: 06 April 2011 09:51
)To: lilypond-user
)Subject: ottavation
)
)Hi,
)
)How can I adjust \set Staff.ottavation = #8 to include it in the layout
)section so it applies to the whole score?
Can't you just use

\clef treble_8 in your score

http://lilypond.org/doc/v2.13/Documentation/notation/displaying-pitches#clef

Instead of using a \layout { } construct?

james

\score { \new Staff {
\relative c'' {
a b c d
}}
\layout { \context { \Score ottavation=#8 } }}

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



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


programming error: Going back in MIDI time

2011-04-05 Thread Peter O'Doherty

Hi,
I know this has been asked before but I haven't been able to resolve it 
satisfactorily. Can anyone suggest a solution to this error?
It occurs in the example below, i.e. when the grace note has more than 4 
members.

Many thanks,
Peter

##
\version 2.12.3
\include english.ly

upper = {
  \clef treble
  \time 4/4
  %a'8[ a' a' a'] \acciaccatura { c'8[ d' e' f' g'] } a'8[ a'8 a'8 a'8 
] %doesn't work

  a'8[ a' a' a'] \appoggiatura { c'8[ d' e' f'] } a'8[ a'8 a'8 a'8 ] %works
}

lower = {
  \clef bass
  f4 f f f
}

\score {
  \new PianoStaff

\set PianoStaff.instrumentName = #Piano
\new Staff = upper { \upper
 }
\new Staff = lower {\lower
}

   \layout {
 \context {
  }
   }
   \midi { }
}
##

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


Grace notes at end of bar

2011-03-23 Thread Peter O'Doherty

Hi,
Is there a way to enable grace notes to be positioned at ends of bars?
Many thanks,
Peter

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


Re: Piano score and kneed beams

2011-03-16 Thread Peter O'Doherty

On 03/15/2011 09:54 PM, Phil Holmes wrote:



That's a bit weird.  The noteheads on the lower staff are the wrong 
way round!


Yes, it does look strange. It's the published score of Xenakis' Herma. 
Guess their typesetters couldn't deal with those stems either!


Anyway, if I was trying to set this within my knowledge of the 
limitations of LilyPond, I'd set the upper stave as it is, then use 
the instructions for Cross-staff stems in the Notation Reference to 
join the lower notes to the upper beams.


The problem is that the stems on the upper stave need to go down and 
those on the lower, up. Because of the alignment of the note heads the 
stems will not meet. I've also tried tweaking the code for the snippet 
of /Goyescas/ by Enrique Granados but to no avail.


Best,
Peter

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


Piano score and kneed beams

2011-03-15 Thread Peter O'Doherty

Hi,
Can someone please point me in the direction of info on kneed beams in 
piano scores. The only snippet I can find is this 
http://lsr.dsi.unimi.it/LSR/Item?id=646 and it deals with tweaking 
tuplet numbers in conjunction with kneed beams. I just need to know how 
to create kneed beams (including simultaneous chords in both hands).

Many thanks,
Peter

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


Re: Piano score and kneed beams

2011-03-15 Thread Peter O'Doherty

Thanks James and Phil.
The examples you give are not quite what I'm looking for (at least I 
can't tweak them to get what I need). The closest is a simple  \change 
Staff command but this only allows notes on one stave at a time. This 
(http://www.peterodoherty.net/screenshot.png) is what I would like but 
this isn't perfect either as the notes on the lower stave are on the 
wrong side of the stems.

Is this possible?
Many thanks again,
Peter

On 03/15/2011 07:28 PM, Phil Holmes wrote:
- Original Message - From: Peter O'Doherty 
k.p.odohe...@gmail.com

To: lilypond-user lilypond-user@gnu.org
Sent: Tuesday, March 15, 2011 6:19 PM
Subject: Piano score and kneed beams



Hi,
Can someone please point me in the direction of info on kneed beams 
in piano scores. The only snippet I can find is this 
http://lsr.dsi.unimi.it/LSR/Item?id=646 and it deals with tweaking 
tuplet numbers in conjunction with kneed beams. I just need to know 
how to create kneed beams (including simultaneous chords in both hands).

Many thanks,
Peter


Have you looked at:

http://lilypond.org/doc/v2.13/Documentation/notation/beams


--
Phil Holmes




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


Re: lilypond-book unwanted space

2011-01-15 Thread Peter O'Doherty

Thanks Graham and Federico.
I actually took another route, cheating I suppose, which suits my 
requirements just as well. I created two pdfs, one from a .lytex file 
which includes introductory text and music snippets and one from a .ly 
file containing the main score and then combined them into one pdf using 
the pdftk utility.

Regards,
Peter


On 01/13/2011 07:05 PM, Federico Bruni wrote:
2011/1/13 Peter O'Doherty m...@peterodoherty.net 
mailto:m...@peterodoherty.net


On 01/13/2011 02:46 PM, Graham Percival wrote:

On Thu, Jan 13, 2011 at 02:12:30PM +0100, Peter O'Doherty wrote:

\paper {
  paper-width = 210\mm
  left-margin = 20\mm
  right-margin = 30\mm
  line-width = 100\mm
}

try:
  indent = 0\mm
as long as you have no instrument names, it should be fine.

Cheers,
- Graham

Thanks but adding indent = 0\mm to the list above does not change
anything. Or should it be added somewhere else?


you've already removed the indent when you included the file:

\lilypondfile[quote,noindent]{file.ly http://file.ly/}

in a .lytex file the page layout is defined by LaTeX
you should change margins using the geometry package (I think)

post the header of your .lytex file and someone will give you some 
feedback,

even though it's a LaTeX question

or better: search the archives, it's been asked before



--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  facebook: Peter-ODoherty
//=

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


lilypond-book unwanted space

2011-01-13 Thread Peter O'Doherty

Hi,
I am using the command \lilypondfile[quote,noindent]{file.ly} to import 
a large file into a lilypond-book document and invoking using


lilypond-book --output=out --pdf --left-padding=0 lilybook.lytex
pdflatex lilybook.tex

However, the music is shifted to the right such that it runs off the 
page and reduced in size with too much blank space on all sides.


As you can see, I tried adding --left-padding=0 while invoking lilypond 
but that does not help. I also added the lines


\paper {
  paper-width = 210\mm
  left-margin = 20\mm
  right-margin = 30\mm
  line-width = 100\mm
}

to my lilypond doc but also to no avail.

Can someone assist?
Many thanks,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  facebook: Peter-ODoherty
//=


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


Re: lilypond-book unwanted space

2011-01-13 Thread Peter O'Doherty

On 01/13/2011 02:46 PM, Graham Percival wrote:

On Thu, Jan 13, 2011 at 02:12:30PM +0100, Peter O'Doherty wrote:

\paper {
   paper-width = 210\mm
   left-margin = 20\mm
   right-margin = 30\mm
   line-width = 100\mm
}

try:
   indent = 0\mm
as long as you have no instrument names, it should be fine.

Cheers,
- Graham

Thanks but adding indent = 0\mm to the list above does not change 
anything. Or should it be added somewhere else?

Thanks,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  facebook: Peter-ODoherty
//=


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


Note head clashes

2010-12-18 Thread Peter O'Doherty

Hi,
How can I notate the (piano) chord e' f'! fsharp'4 without a clash 
between e' and f' and change the order of accidentals to the more 
logical f-natural, f-sharp?

Many thanks,
Peter

--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  facebook: Peter-ODoherty
//=


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


Re: Note head clashes

2010-12-18 Thread Peter O'Doherty


How can I notate the (piano) chord e' f'! fsharp'4 without a clash 
between e' and f' and change the order of accidentals to the more 
logical f-natural, f-sharp?

Many thanks,
Peter



Try having a look at the thread entitled odd output - we've been 
discussing something similar for the last day or 2 and you _may_ find 
some tips.  Note, though, that Lily is documented as not supporting 2 
different accidentals on the same note within a single chord.


Okay thanks. Didn't notice that thread but it did help.
Thanks,
Peter


--
//=
-  Peter O'Doherty
-  http://www.peterodoherty.net
-  m...@peterodoherty.net
-  facebook: Peter-ODoherty
//=


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


Re: Pitch/ octave notation

2006-11-15 Thread Peter O'Doherty
Yes, I'm familiar with relative music input. However, in my case it  
won't work as I'm typesettling music which leaps around an awful lot.


I'm suggesting something more along the lines of  \include  
english.ly, whereby you can enter fsharp instead of fis. So instead  
of c', you can enter c4, c5 instead of c''.


By the sound of it, something like this isn't possible. Is this a  
potential area for future development?



On 15-nov-2006, at 0:16, Geoff Horton wrote:


Is it possible to indicate pitches in the format c4 instead of c'?
And if not, does anybody know of any plans to create this  
possibility?


I'm wondering if this might not be something that relative music input
could help with. Are you familiar with it?

Geoff




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


Re: Pitch/ octave notation

2006-11-15 Thread Peter O'Doherty


Then he could use 4c8 instead, or does lilypond have any special
meaning for prepended digits?


hm, then maybe 8c4 is an even better choice (8th of pitch c4). I  
guessed
that the request for c4 syntax for pitches is related to some  
musicological

convention where c4 is the actual pitch name.


Yes, this is precisely the idea. I'm typesetting music which jumps  
around a lot and instead of a,,, and a,, and c' and c which  
becomes very confusing, the convention I am using (simply because I  
am most familiar with it) is c-1, c0, c6, c7 and so forth. It is  
simply easier to see at a glance which octave it is. But of course I  
do see where the problem lies as duration are also digits.

Never mind, it was worth trying!


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


Pitch/ octave notation

2006-11-14 Thread Peter O'Doherty

Hello,

Is it possible to indicate pitches in the format c4 instead of c'?  
And if not, does anybody know of any plans to create this possibility?


Many thanks,
Peter


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


question about midi2ly (mac osx)

2006-10-29 Thread Peter O'Doherty

Hello,
I would be very grateful if some one could give me some pointers on  
using midi2ly; I keep getting an error message in terminal. Here is  
what I do:


The first command I enter is:

/Applications/LilyPond.app/Contents/Resources/bin/midi2ly

That seems to work okay and I get a list of instructions for using  
midi2ly. But at the end of this list there appears this message:


/Applications/LilyPond.app/Contents/Resources/bin/midi2ly: error:  no  
files specified on command line.


From then on if I try to used midi2ly, for example by entering:

midi2ly -e test.midi

I receive only error messages like this (even if I only look for help  
by entering midi2ly -h):


-bash: midi2ly: command not found

Can someone please tell me what I'm doing wrong?

Many thanks,
Peter


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


Re: Lilypond + LaTex (on Mac)

2006-09-17 Thread Peter O'Doherty
I'm not quite sure what I did wrong but I tried this a few times and  
it still doesn't want to work.
I am able to run steps 1 - 4 but at step 5, the line already reads  
export PATH=$PATH:/Applications/LilyPond.app/Contents/Resources/bin  
so it doesn't seem to make sense to add :/Applications/LilyPond.app/ 
Contents/Resources/bin as stated in step 5.

What am I doing wrong?

Thanks again,
Peter




Thanks, Graham. So here's what Peter (and I) need to do, assuming that
you moved the LilyPond app off your desktop and into the Applications
folder:


1) Open a new terminal window.

2) Type:
nano

3) In the program that opens, type CtrlR. Type
.profile

and hit Enter.

You'll probably get a message: .profile not found, which is fine. If
that's what happened, skip to step (6)

4) Look in the file that loaded and see if it has a line that begins:
export PATH=

If it doesn't, then go on to step (6).

5) Move the cursor to the end of line that begins:

export PATH=

and add this to the end of it:

:/Applications/LilyPond.app/Contents/Resources/bin

Make sure to hit Return at the end of that line, and make sure not
to add any spaces before the colon, which has to be there. My line
looks like this:

export PATH=/opt/local/bin:/opt/local/sbin:/Applications/ 
LilyPond.app/Contents/Resources/bin


(It's all on one line, with a space between export and PATH, like
this: export PATH

Upper and lower case makes a difference!

Now skip to step (7)

6) Type:
export PATH=$PATH:/Applications/LilyPond.app/Contents/Resources/bin

7) Type CtrlO (that's a letter o, not a numeral 0). When it prompts
with File to save, type:
.profile

and hit Enter. If it asks if it's OK to overwrite, you should be
able to say Yes safely if you followed the instructions above. Note
that I am NOT responsible if, instead of doing anything useful, your
computer does something catastrophic, or just quits working the way
you want it to. It shouldn't happen, but I make no guarantees.

8) Type CtrlX, which closes the editor.

9) Type:
exit

and hit Enter

10) Close the terminal window.

11) Open a new terminal window and see if lilypond-book works now.




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


Re: Lilypond + LaTex (on Mac)

2006-09-17 Thread Peter O'Doherty
Thanks for this Graham (and your patience!). I think I messed it up  
somewhere. Here's what I have:


1) lilypond.app is in /applications folder

2) I call up a terminal and see this:

ip5455a71f:~ peter$ cd '/Applications/'
ip5455a71f:/Applications peter$

3) Then I type:
nano

4) next: I hit CtrlR.
Type .profile and hit Enter.
I get : File to insert [from ./] :

5) I type .profile and
hit Enter

6) This is what I now get:
export PATH=/opt/local/bin:/opt/local/sbin:/Applications/LilyPond.app/ 
Contents/Resources/bin

export PATH=$PATH:$HOME/Apps/LilyPond.app/Contents/Resources/bin

So for some reason I get a combination of Geoff's suggestion and your  
suggestion.


What should I do here?




Geoff Horton wrote:
Thanks, Graham. So here's what Peter (and I) need to do, assuming  
that

you moved the LilyPond app off your desktop and into the Applications
folder:


Werner mentioned altering the documentation.  Just in case you  
don't have it handy, here's the link:

http://lilypond.org/web/devel/participating/documentation-adding



1) Open a new terminal window.
Make sure to hit Return at the end of that line, and make sure not
to add any spaces before the colon, which has to be there. My line
looks like this:
export PATH=/opt/local/bin:/opt/local/sbin:/Applications/ 
LilyPond.app/Contents/Resources/bin


IMO, it's better to do this:
export PATH=$PATH:$HOME/Apps/LilyPond.app/Contents/Resources/bin

That way the existing path is still used, even if it's set  
somewhere else (say, /etc/profile).



8) Type CtrlX, which closes the editor.


All of these can be condensed to
$ cat export PATH=$PATH:$HOME/Apps/LilyPond.app/Contents/Resources/ 
bin  ~/.profile


(or something like that; please test it before suggesting a doc  
change)





11) Open a new terminal window and see if lilypond-book works now.


Peter, did you do this?  After making the change, you _must_ quite  
terminal and then re-start it.  In addition, are you sure you have  
the right directory?  Where did you put lilypond?


Cheers,
- Graham




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


Re: Lilypond + LaTex (on Mac)

2006-09-17 Thread Peter O'Doherty
Thanks for all your help.I eventually got it to work using Nicola Vitacolonna's Lilypond engine for TeXShop which can be found here: http://www.dimi.uniud.it/vitacolo/freesoftware.htmlI would definately recommend it - it works beautifully.Regards,Peter___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypond + LaTex (on Mac)

2006-09-16 Thread Peter O'Doherty
I have been using lilypond for some time now, much to my satisfaction and without problems.Recently, I have also started using LaTex (on TeXShop) and have been trying to use lilypond-book, without succes.My problem is really a beginner's one I guess as my experience with LaTex is limited. If I use the example given here:http://lilypond.org/doc/v2.6/Documentation/user/lilypond/An-example-of-a-musicological-document.html#An-example-of-a-musicological-documentand simply paste the following into an new empty LaTex document\documentclass[a4paper]{article}     \usepackage{graphics}     \begin{document}          Documents for @command{lilypond-book} may freely mix music and text.     For example,          \begin{lilypond}     \relative c' {       c2 g'2 \times 2/3 { f8 e d } c'2 g4     }     \end{lilypond}          Options are put in brackets.          \begin[fragment,quote,staffsize=26,verbatim]{lilypond}       c'4 f16     \end{lilypond}       \end{document}and click "Typeset LaTex", I get the following error:--This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) \write18 enabled.entering extended mode(./Untitled-2.texLaTeX2e 2003/12/01Babel v3.8d and hyphenation patterns for american, french, german, ngerman, dutch, italian, norsk, portuges, spanish, swedish, nohyphenation, loaded.(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.clsDocument Class: article 2004/02/16 v1.4f Standard LaTeX document class(/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size10.clo))(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.sty(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/trig.sty)(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.cfg)(/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/pdftex.def))(./Untitled-2.aux)(/usr/local/teTeX/share/texmf.tetex/tex/context/base/supp-pdf.tex! Undefined control sequence.l.9      \relative                   c' {? loading : Context Support Macros / PDF (2004.03.26))! LaTeX Error: Environment lilypond undefined.See the LaTeX manual or LaTeX Companion for explanation.Type  H return  for immediate help. ...                                                                                                l.8      \begin{lilypond}                         ? --Therefore, it's telling me that the lilypond environment is undefined. Can someone help me here? Secondly, I happend upon Nicola Vitacolonna's site where she provided the following information:Lilypond is a very good music notation software, which can also be used with LaTeX. Put Lilypond.engine, Lilypond-LaTeX.engine and convert-ly.engine into your Library/TeXShop/Engines folder to run lilypond, lilypond-book and convert-ly, respectively, within TeXShop (you need to remove the .txt suffix, to make the scripts executable and to customize the LILYPONDFOLDER variable in the above files to match your Lilypond installation path). Unfortunately, pointing-and-clicking on a note will open your source file in the Lilypond application (point-and-click is not compatible with TeXShop).However, this does not work, as I get the error:"/Users/peter/Library/TeXShop/Engines/Lilypond-LaTeX.engine does not have the executable bit set."Does anyone have experience with the method?Many thanks,Peter___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Peter O'Doherty
Thanks for this. This is what I suspected.However, and my apologies for being so dim, how do I run it throught lilypond-book? In the section "Invoking lilypond-book" it also states in the first line "lilypond-book produces a file with one of the following extensions: .tex, .texi, or .html, depending on the output format. ". But this still does not make it clear HOW one gets it to produce these files. In short, it seems to be a few steps ahead of where I need to be. I simply don't know (and it is also not explained) where I access lilypond-book.Thanks again,PeterI think you missed a significant step. That file can't run straightthrough LaTex. You need to run it through lilypond-book first, asdescribed in section 12.6 of the Lilypond 2.6 manual. (Look for"Invoking lilypond-book" in the table of contents.)Geoff ___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lilypond + LaTex (on Mac)

2006-09-16 Thread Peter O'Doherty

I use Mac OS X. Lilypond version 2.8.5-1

Peter



However, and my apologies for being so dim, how do I run it throught
lilypond-book?


Are you using Windows, Max OSX, Linux, or what? Also (though it
shouldn't matter), what version of Lilypond are you using?

Geoff




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


  1   2   >