Help debugging music function

2012-11-05 Thread Vivian Barty-Taylor
Could someone with knowhow help me to debug this music function? I want a function to create arrows in a Lilypond score: arrow = #(define-music-function (parser location arg1 ) ( pair?) #{ \markup { \line \draw-line #arg1 \arrow-head #X #RIGHT ##t }} #}) When I process: \version "2.16.0"

Bugs in grace notes in 2.12.3

2010-01-15 Thread Vivian Barty-Taylor
I'm struggling with bugs in grace notes in the latest stable release (2.12.3) and wonder if anyone has mentioned this yet? I'm getting incorrect stem attachment, incorrect durations and altered size. If no- one has yet mentioned it, I'll prepare a bug report for bug-lilypond. Also any sugges

grace bug

2010-01-15 Thread Vivian Barty-Taylor
I've now seen the postings related to this and won't file a bug report ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Arrow hack

2016-09-05 Thread Vivian Barty-Taylor
Dear list, I have been using Lilypond for many years, and have written a scheme function to create a double ended arrow which I need for my notation (someone on this list helped me with this some years ago.) The code looks like this: arrow = #(define-music-function (parser location arg1) ( pair

Re: Lilypond SVG output

2007-10-24 Thread Vivian Barty-Taylor
BTW, I could never fix the italic font in SVG output (I think the font file inside Lilypond is wrong - it seems to contain Cyrillic characters) so I installed Century Schoolbook Italic fonts separately and altered my .sed file to look like this: s/style="font-family:Schoolbook;font-style:L/

Re: graphics in scheme?

2007-11-20 Thread Vivian Barty-Taylor
There are a couple of ways to get non-native graphics into Lilypond output. I don't use scheme drawing commands, although this might be a possibility. The \epsfile command (in a markup) is handy - you can create an .eps file in Inkscape and then use a macro to do normal alignment. If you ne

Time signatures contd. (was Re: hang --"going backwards in time; " "insane spring )

2007-11-27 Thread Vivian Barty-Taylor
On the subject of time signatures with a denominator-base other than two, Henry Cowell in his book "New Musical Resources" proposes a notation system with different shaped note-heads to represent different base-lengths. This should be quite easy to implement in Lilypond. Might see if I can

\autoBeamOff

2007-12-05 Thread Vivian Barty-Taylor
Just a convenience thing - is there anywhere in my Lilypond file where I can put \autoBeamOff which applies globally? If I put it at the start of the \score block, I get a funny extra staff, and otherwise I have to put it in each of the staves. (My \global only contains time and tempo indic

Re: [Bulk] Re: Adding an extra staff

2008-08-26 Thread Vivian Barty-Taylor
Hi Alistair, hi list, I debugged this code in 2.10.33, but it should work in 2.11 I've never started Staff contexts "on the fly" - didn't even know it was possible, but as you see it leads to unforeseen problems. In Lilypond the brackets << >> mean "interpret these contexts simultaneousl

Re: RhythmicStaff - gray-scaling and getting rid of double heads for chords

2008-09-29 Thread Vivian Barty-Taylor
Hi Anders, I'm not sure about the colouring issue. Hoping someone else has some ideas. The "doubled" Noteheads come about because RhythmicStaff interprets all pitches as the same. I don't know what effect you are wanting exactly, but if you want a single staff line with Noteheads on eithe

Re: Ly to SVG

2009-01-29 Thread Vivian Barty-Taylor
I got this to work with: lilypond -dbackend=svg filename.ly However, the output is currently considerably buggier than 2.10.33 and the sed -Ef fix which was posted on this list a while ago doesn't work. I'll investigate if I can improve the solution as I use SVG output quite a lot. Cheer

Lilypond SVG output in 2.12.1

2009-02-03 Thread Vivian Barty-Taylor
A while ago, we got a sed script working to fix Lilypond svg output. Looking at the SVG output from 2.12.1 on OSX and using InkScape 0.45 all the grobs are incorrect. I don't have the problems mentioned by other users of missing bar lines, so I'll leave this issue. I investigated the svg fi

Re: Lilypond SVG output in 2.12.1

2009-02-04 Thread Vivian Barty-Taylor
so no need for hexadecimal corrections. The original sed script still fixes the file. All the best, Vivian. Op Feb 4, 2009, om 2:15 AM heeft Benjamin Esham het volgende geschreven: Vivian Barty-Taylor wrote: I've had a look at making this correction using a sed script, but can't find anyt

SeparationItem bug?

2009-06-02 Thread Vivian Barty-Taylor
I can't get the SeparationItem spacing tweak to work in 2.12.2 (on OSX). See code and attached PNG. Does anyone have any suggestions as to an alternative workaround? Thanks, Vivian. > Begin Lilypond snippet \include "header.ly" \score { << \new Staff { \override Score.SeparationIt

Re: SeparationItem bug?

2009-06-03 Thread Vivian Barty-Taylor
f g a b c c, d e f g a b c c, d e f g a b c } >> } Any further ideas, anyone, or am I missing something obvious? <> Op Jun 2, 2009, om 1:21 PM heeft Francisco Vila het volgende geschreven: 2009/6/2 Vivian Barty-Taylor : I can't get the SeparationItem spacing tweak to work

Re: Sponsored feature request--cross-staff chords, ties

2006-08-20 Thread Vivian Barty-Taylor
I have in the past got Lilypond to do what you describe. The cross-staff chords are documented in the manual, although I agree the mechanism for achieving this is a bit clumsy (extending the stem from one of the chords.) I could imagine that to allow something like your example () could be a bit of

Varying Staff.VerticalAxisGroup #'minimum-Y-extent

2006-09-24 Thread Vivian Barty-Taylor
I'm using version 2.9.11I've got a score which has text instructions to the players at a couple of places and I need to introduce more space between staves at these points to fit the text in. I got this working in a smaller file where I was only formatting the necessary staves.However, it seems you

Lilypond hangs when invoked

2006-10-04 Thread Vivian Barty-Taylor
I'm using 2.9.16 for Mac OSX.I'm trying to invoke Lilypond from the command line because I need to create SVG output.I type:lilypond.app/contents/MacOS/LilyPond -f svg lpfiles/treble.lyand Lilypond does... precisely nothing! The Terminal window I am using just hangs.I'm not a programmer, or experie

Re: Lilypond hangs when invoked

2006-10-04 Thread Vivian Barty-Taylor
I tried that and it doesn't. Does anyone know if the executable I'm calling is actually the right one? I found it inside the LilyPond.app package, and assumed it was what I needed, but maybe I'm wrong.- Original Message From: Mats Bengtsson <[EMAIL PROTECTED]>To

Two lyrics questions

2006-12-13 Thread Vivian Barty-Taylor
I'm having two (unrelated) problems adding lyrics at the moment, and wondered if someone could help. 1: I want to begin a word with a ( . I need to do this to indicate how a vowel is to be pronounced - e.g. (ch)il(d) . I've tried various things - using escape sequences as described in the manua

Fw: Lyrics Questions

2006-12-13 Thread Vivian Barty-Taylor
Thanks for your suggestions. In the example you posted, however, on my Lilypond ( version 2.10.0-2 for Mac OSX ) the first LyricExtender prints, but the second and third ones don't, even with the \override LyricExtender #'minimum-length . I'm curious if the above/ below the associated voice has

Bar numbering with Timing_translator in Staff context

2007-01-08 Thread Vivian Barty-Taylor
Could somebody please explain how this works? I've moved the Timing_translator as described in section 8.4.1 of the manual (Polymetric notation). Now bar numbers appear only irregularly throughout my score (on 2 pages out of 7 ) and are also incorrect! Confusingly, the bar numbers don't print e

Re: Bar numbering with Timing_translator in Staff context

2007-01-09 Thread Vivian Barty-Taylor
Just to say this worked - thanks for the tip. Cheers, Vivian. - Original Message From: Mats Bengtsson <[EMAIL PROTECTED]> To: Vivian Barty-Taylor <[EMAIL PROTECTED]> Cc: lilypond-user@gnu.org Sent: Monday, 8 January, 2007 1:40:57 PM Subject: Re: Bar numbering with Timing_t

LyricExtender again!

2007-01-18 Thread Vivian Barty-Taylor
I enter lyrics not using \addlyrics or \lyricsto because my music is too rhythmically complex. I use \set AssociatedVoice in the Lyrics context to control melismata - thus LyricExtender and LyricHyphen objects. Problem: If I want to print the lyrics above the notes, the extenders don't print -

Re: LyricExtender again!

2007-01-19 Thread Vivian Barty-Taylor
ivian. - Original Message From: Mats Bengtsson <[EMAIL PROTECTED]> To: Vivian Barty-Taylor <[EMAIL PROTECTED]> Cc: lilypond-user@gnu.org Sent: Thursday, 18 January, 2007 12:47:07 PM Subject: Re: LyricExtender again! In your example, you had forgotten to name the Voice context. Just

Nested tuplets

2007-01-21 Thread Vivian Barty-Taylor
I'm using 2.10.12 I'm trying to get nested tuplets going in opposite directions, so to speak. What I would like is something like: \tupletUp \times 2/3 { \tupletDown \times 4/5 { g16 a b c d} r8 } but this doesn't seem to work. At the moment both tuplet-brackets go in the same direction and co

TupletBracket behaviour

2007-01-30 Thread Vivian Barty-Taylor
When the size of a TupletBracket gets too small, it disappears leaving just the TupletNumber. While I can see that this might be attractive in some circumstances I would like to switch it off (so the TupletBracket always prints.) Is there a way to do this? At the moment, I'm putting small increa

Re: TupletBracket behaviour

2007-01-31 Thread Vivian Barty-Taylor
1 (the TupletBracket doesn't print). I'll experiment with the minimum-length property you mention. Many thanks, Vivian. - Original Message From: Mats Bengtsson <[EMAIL PROTECTED]> To: Vivian Barty-Taylor <[EMAIL PROTECTED]> Cc: lilypond-user@gnu.org Sent: Tuesda

Re: Glissando notation?

2007-01-31 Thread Vivian Barty-Taylor
Dear Robert, I've seen a number of glissando notations, generally depending on period and style of composition. I know the notation you want, though, and would suggest experimenting with the #'thickness property of the Glissando object (listed under line-interface) with #'style set to #'zigzag .

Re: TupletBracket behaviour

2007-01-31 Thread Vivian Barty-Taylor
cing every time it occurs. All the best, Vivian. - Original Message From: Mats Bengtsson <[EMAIL PROTECTED]> To: Vivian Barty-Taylor <[EMAIL PROTECTED]> Cc: lilypond-user@gnu.org Sent: Wednesday, 31 January, 2007 9:58:34 AM Subject: Re: TupletBracket behaviour Looking at the

\set Score.skipTypesetting bug?

2007-02-17 Thread Vivian Barty-Taylor
I'm using 2.10.14 for Mac OSX Could someone please explain the erroneous output I get in this short example. I've attached the PDF in case your LilyPond does something different. I posted it to bug-lilypond on Thursday, but no-one has responded there, so I guess it may be something to do with m

Re: Lowering a \mark

2007-02-18 Thread Vivian Barty-Taylor
Why not try \once \override Score.RehearsalMark #'extra-offset = (0 . -4 ) (adjust -4 until you get the mark where you want.) Looking at your code again, you could also try replacing RehearsalMark with Score.RehearsalMark I've never used Y-offset to move things about, but perhaps it works too.

extra-offset instead of X/Y offset? (was Lowering a \mark)

2007-02-18 Thread Vivian Barty-Taylor
ated in the documentation, maybe on the pages of the objects controlled by it? Cheers, Vivian. - Original Message From: Michael David Crawford <[EMAIL PROTECTED]> To: Vivian Barty-Taylor <[EMAIL PROTECTED]> Cc: lilypond-user@gnu.org Sent: Sunday, 18 February, 2007 2:28:39 PM Su

Fw: extra-offset instead of X/Y offset? (was Lowering a mark)

2007-02-18 Thread Vivian Barty-Taylor
er is? I've never used it, and can't find how to create one (unless this is the text option for Hairpins as documented.) Cheers, Vivian. - Original Message From: Mats Bengtsson <[EMAIL PROTECTED]> To: Vivian Barty-Taylor <[EMAIL PROTECTED]> Cc: Michael David Craw

CrescMolto in Scheme

2007-02-28 Thread Vivian Barty-Taylor
I'm trying to make a Scheme construction (my first!) which will automatically center align a piece of text under a Hairpin object. The code I've got so far is below. This would save laboriously individually adjusting the #'extra-offset values of each TextScript. What I can't find is how to do

Fw: CrescMolto in Scheme

2007-02-28 Thread Vivian Barty-Taylor
uot; } } \new Staff { \hairpinMolto c'2\< c'2\f } % END CODE ----- Forwarded Message From: Vivian Barty-Taylor <[EMAIL PROTECTED]> To: lilypond-user@gnu.org Sent: Wednesday, 28 February, 2007 1:48:09 PM Subject: CrescMolto in Scheme I'm trying to make a Scheme construction

\score vs. \new Score with \midi

2007-03-07 Thread Vivian Barty-Taylor
I'm using 2.10.19 for Mac OSX I've just had an irritating couple of hours trying to find out why a \midi block was causing an error message and stopping the file from processing. It turns out that if you use \new Score instead of \score then the file fails. These two commands should theoretical

Re: \score vs. \new Score with \midi

2007-03-07 Thread Vivian Barty-Taylor
Bengtsson <[EMAIL PROTECTED]> To: Vivian Barty-Taylor <[EMAIL PROTECTED]> Cc: lilypond-user@gnu.org Sent: Wednesday, 7 March, 2007 10:05:37 AM Subject: Re: \score vs. \new Score with \midi As you have noticed, they are not equivalent from a syntactical point of view. From different email

convert-ly broken in 2.10.19 ?

2007-03-07 Thread Vivian Barty-Taylor
Using 2.10.19 for Mac OSX I'm trying to update a file I made under 2.8. When I click "Update Syntax" I get the output: Traceback (most recent call last): File "/Applications/LilyPond.app/Contents/Resources/bin/convert-ly", line 22, in ? import lilylib as ly ImportError: No module named lil

Center-aligning objects in Scheme

2007-03-08 Thread Vivian Barty-Taylor
I posted a message to this list a few days ago about automatically center-aligning some text under a Hairpin object (for example "molto" or "poco" ) but haven't received any responses. Whilst I've found how to combine markups using combine-at-edge I can't find how to center-align one to the othe

Fw: \score vs. \new Score with \midi

2007-03-08 Thread Vivian Barty-Taylor
- Forwarded Message From: Vivian Barty-Taylor <[EMAIL PROTECTED]> To: Mats Bengtsson <[EMAIL PROTECTED]> Sent: Friday, 9 March, 2007 7:35:26 AM Subject: Re: \score vs. \new Score with \midi The situation where I have needed to explicitly define the Score context is to remo

Colliding accidentals

2007-03-09 Thread Vivian Barty-Taylor
In the chord I would like both a natural and a sharp before the two noteheads on the D line. However, this only prints a sharp and if I force a natural ( ) the two accidentals are printed on top of each other. I've tried playing with AccidentalPlacement #'right-padding and #'padding but nothi

Re: PDF Problem (SVG output)

2007-07-20 Thread Vivian Barty-Taylor
I would second/ third a request to get the SVG output fixed. I'm trying to create SVG output at the moment. I've used all the help I could find in the manual and in previous threads, and still some symbols (in this case the TextScript font and normal text in a DynamicScript) are showing in the w

Re: unwanted beam subdividing

2007-07-28 Thread Vivian Barty-Taylor
I've also been irritated by this problem in the past, but haven't found a way to automatically fix it. I use a substitution function which Trevor posted a while back: beam = #(define-music-function (parser location left right) (number? number?) #{ \set stemLeftBeamCount = #$left \

Re: Trouble with lilypond-book on Mac OS X

2007-07-31 Thread Vivian Barty-Taylor
Yes, I'm quite unfamiliar with command-line tools, and I never really needed any. A good introduction to the command line and how to set PATH etc. is at http://www.osxfaq.com/Tutorials/LearningCenter/ You will need to set the path in a file called .login in your home directory. You can cre

SVG output sponsorship

2007-08-12 Thread Vivian Barty-Taylor
It seems to me that having reliable (bug-free) SVG output would be a big plus for Lilypond. At the present time, I have been unable to fix all the font problems (not sure whether this is Lilypond or Inkscape which is giving me trouble.) To get to where I am at I had to make a lot of change

Re: SVG output sponsorship

2007-08-15 Thread Vivian Barty-Taylor
ecause Inkscape is a good piece of software. If fixing the SVG output isn't an option, does anyone have experiences of how to do this? Thanks in advance, Vivian. On Aug 13, 2007, at 11:14 AM, Erik Sandberg wrote: On Sunday 12 August 2007, Vivian Barty-Taylor wrote: It seems to me that

Re: pictures in score

2007-08-22 Thread Vivian Barty-Taylor
It's also possible in Lilypond - just add the picture as an EPS markup. The syntax is: \markup { \epsfile #1 #1 #"filename.eps" } Also see the documentation - 8.1.6 Overview of text markup commands. If you have your image as a bitmap, Inkscape is a good piece of free software which allows

Re: triplet bracket disappear

2007-08-30 Thread Vivian Barty-Taylor
Hi all, I know two solutions to this problem. Tuplet brackets disappear when the spacing gets tight, and seems to be a Lilypond "feature" rather than a bug. The first solution is to manually increase the spacing between notes in a tuplet: \once \override Score.SeparationItem #'padding = #0.7

\override NoteHead

2006-02-11 Thread Vivian Barty-Taylor
I get the output: Processing `/Users/anneke/Desktop/Vivian/ Lilypond/Noteheads.ly' Parsing...: In expression ’style: : Unbound variable: ’style in the processing window. What am I doing wrong? Many thanks, Vivian Barty-Taylor, Netherlands. __

Difficult tweaks - not working!

2006-02-19 Thread Vivian Barty-Taylor
ilypond/Noteheads1.ly:18:1: Unbound variable: set-position-font- size What is wrong?! Many thanks, Vivian Barty-Taylor, Netherlands. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

TextSpanner override

2006-03-02 Thread Vivian Barty-Taylor
I'm having trouble with what I feel should be a relatively simple \override command. I want a TextSpanner object with an unbroken line, so have tried to set the #'dash-fraction property to 1 with the command: \override TextSpanner #'dash-fraction = #1 Without that line the file compiles normally,

Not sure if this got through - sorry for repeats!

2006-03-03 Thread Vivian Barty-Taylor
I'm having trouble with what I feel should be a relatively simple \override command. I want a TextSpanner object with an unbroken line, so have tried to set the #'dash-fraction property to 1 with the command: \override TextSpanner #'dash-fraction = #1 Without that line the file compiles normally,

\override Score.SpacingSpanner

2006-03-08 Thread Vivian Barty-Taylor
I'm trying to adjust spacing to allow a glissando line to be seen more obviously. I want to adjust the spacing rule but only for the bar with the glissando. I've tried to construct an \override that looks like this: \time 3/4 f16 r f r f r8. r16 f r8 \override Score.SpacingSpanner #'spacing-increm

Cross-staff slur

2006-04-08 Thread Vivian Barty-Taylor
I'm trying to get a cross-staff slur within a PianoStaff. I didn't find any easy ways of doing this in the manual (I'm still using 2.6.5) and so have tried to fudge it by putting all the notes I need slurred in one voice and then putting the \change Staff command within the Voice context. My probl

Repeat question - cross staff slur

2006-04-27 Thread Vivian Barty-Taylor
I posted this question some time ago but haven't had any responses as yet - maybe it didn't get through. I want a cross-staff slur within a PianoStaff context. I've tried putting all the notes into one voice and then putting the \change Staff command within the voice context. The start of the slur

Error message

2006-04-29 Thread Vivian Barty-Taylor
I'm using 2.6.1 I'm getting an odd error message. The file appears to parse and process correctly. Then after Lilypond has computed the line and page breaks I get the messages ERROR: In procedure ly_scm2double: ERROR: Wrong type argument: (-8) The file then appears not to have written to the PD

Tritone anomaly

2006-05-02 Thread Vivian Barty-Taylor
I'm not sure if anyone else has noticed, or been bothered by it, but there's a slightly irritating anomaly when entering the interval of a tritone (augmented fourth.) When in \relative mode and using the interval in a melodic line, LilyPond assumes that the tritone goes down. However, when using it

update syntax in 2.8

2006-05-11 Thread Vivian Barty-Taylor
I'm finally getting round to updating to 2.8 (from 2.6.5) on Mac OSX and am trying to use the "Update syntax" command (which I understand is the same as invoking convert-ly on other platforms.) I get the error message (OSError: [Errno 2] No such file or directory)What does this mean, and how can I

Lilypond engine getting stuck...

2006-05-26 Thread Vivian Barty-Taylor
I'm using version 2.8.3I've run into a problem with Lilypond getting "stuck" on a file. The score uses relatively complex rhythms combined with text, and I gave up on trying to use \lyricsto - there were just too many melismata that I had to override etc. Instead I've just inserted all the rhythmic

#(make-dynamic-script)

2006-05-31 Thread Vivian Barty-Taylor
In the manual for version 2.8.0 it says that it is possible to make new dynamic marks. I've tried this and it works. What I would really like to do, though, is make a dynamic mark that included normal text (specifically "sub p" or "sub f")At the moment I do this by putting in a _\markup line, and t

\tieWaitForNote in \grace music

2006-06-07 Thread Vivian Barty-Taylor
I'm using 2.8.3 for Mac OSXI see from the archives this has already been discussed, but I couldn't find a solution to my problem.I need a cross-staff grace arpeggio with all the notes tied to the chord which follows. If I instantiate new voices then the slurs do not connect. However, I need to eith

UTF-encoding error

2006-07-02 Thread Vivian Barty-Taylor
I'm using Lilypond 2.8.3 on an Apple G3.When I try to open a file in Lilypond for processing it gives me the error message:Unexpected error:(UnicodeDecodeError: 'utf8' codec can't decode byte 0xb0 in position 1307: unexpected code byte)I'm editing the file in EMacs and then opening it from time to

Stick glyph?

2006-07-06 Thread Vivian Barty-Taylor
I need a graphic for indicating "hard sticks" in a percussion part (and later also for "soft sticks".) These are simple signs which just look like a percussion stick (!) with either a solid or outlined head. These don't seem to exist in the Feta font, and I'm wondering if anyone knows of a simple w

Bug in 2.9.1 - #(set-default-paper-size "a4" 'landscape) ?

2006-07-16 Thread Vivian Barty-Taylor
I'm trying to use 2.9.1 for the first time because of various new features and seem to have immediately run into a bug. The attached file should produce landscape output, but it doesn't. It doesn't matter if I put the line at the top of the file or in the \paper section.Any thoughts for a workaroun

Re: a metronome mark question

2006-07-26 Thread Vivian Barty-Taylor
I also had this problem recently. I got round it by having a hidden, smaller staff running the whole length of the piece and only inserting the "notes" that I needed around the barline of the tempo change (in that case \times 2/3 {c16 c c} s16^"=" c16 c c )Very clumsy but it did get the desired res