Re: svg export

2009-02-18 Thread Patrick McCarty
Hi Dave,

On Wed, Feb 18, 2009 at 6:13 PM, David Raleigh Arnold
 wrote:
> On Wednesday 18 February 2009, Patrick McCarty wrote:
>> On Wed, Feb 18, 2009 at 2:25 PM, Patrick McCarty 
> wrote:
>> >
>> > I plan on fixing this in the future.  When you manage to install
>> > LilyPond's .otf fonts on your system, see if the attached SVG file
>> > renders correctly for you.  It renders decently in Firefox 3.
>>
>> I forgot to compress it.  This one should make it to the list.
>>
>> -Patrick
>>
>
> Ok under debian testing version of inkscape. Not ok with svg
> produced from bach-schenker.ly. Regards, daveA

Thanks for the report.  This file (bach-schenker.ly) fails to compile
correctly with the SVG backend.  I'll have a look at the source of the
problem soon.

-Patrick


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


Re: svg export

2009-02-18 Thread Patrick McCarty
Hi Tim,

On Wed, Feb 18, 2009 at 2:52 PM, Tim Reeves  wrote:
>>
>> On Wed, Feb 18, 2009 at 2:25 PM, Patrick McCarty 
>> wrote:
>> >
>> > I plan on fixing this in the future.  When you manage to install
>> > LilyPond's .otf fonts on your system, see if the attached SVG file
>> > renders correctly for you.  It renders decently in Firefox 3.
>>
>> I forgot to compress it.  This one should make it to the list.
>>
>> -Patrick
>
>
> Not for me. Lilypond 2.12.2-1 SVG output does not render correctly on
> Inkscape 0.46+ development version, Firefox 3 or Opera 9.6, and I have
> installed the Emmentaler fonts in my Windows (XP SP2) fonts folder. The
> closest to good output is with Inkscape but even there I get open-triangle
> noteheads instead of normal noteheads and in the browsers the SVG rendering
> is just terrible.

Hmm.  I'm not incredibly familiar with installing fonts on Windows,
but are the Emmentaler fonts recognized by any other programs after
you install them?

-Patrick


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


Re: svg export

2009-02-18 Thread David Raleigh Arnold
On Wednesday 18 February 2009, Patrick McCarty wrote:
> On Wed, Feb 18, 2009 at 2:25 PM, Patrick McCarty  
wrote:
> >
> > I plan on fixing this in the future.  When you manage to install
> > LilyPond's .otf fonts on your system, see if the attached SVG file
> > renders correctly for you.  It renders decently in Firefox 3.
> 
> I forgot to compress it.  This one should make it to the list.
> 
> -Patrick
> 

Ok under debian testing version of inkscape. Not ok with svg
produced from bach-schenker.ly. Regards, daveA

-- 
Free download of technical exercises worth a lifetime of practice:
http://www.openguitar.com/dynamic.html  You can play the cards
you're dealt, or improve your hand with DGT.  Very easy guitar
music, solos, duets, exercises.., To contact, visit openguitar.com


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


Re: Persian musical koron and sori

2009-02-18 Thread Graham Breed

Kees van den Doel wrote:

Then in "\context" add

\override Accidental #'stencil = #ly:text-interface::print
\override Accidental #'font-name = #"???"
\override Accidental #'font-size = #?
\override Accidental #'text = #(lambda (grob)
 (cdr (assoc 
(ly:grob-property grob 'alteration)

  persianStrings)))
\override Accidental #'X-extent = #'(0 . 1)
\override Accidental #'Y-extent = #'(-1 . 1)


Works great with the typo's fixed. Is there a way to do this only for koron and 
sori and render the
normal accidentals as usual?


There surely is, but it won't be pretty.  You can try:

-- Scheme functions for all these properties, that check if 
the alteration requires the new font, and default to the 
original values if it doesn't.


-- Putting all the \override commands in a variable, and 
calling it with \once when you need it.


-- Writing all the normal accidentals as \markup blocks that 
load the correct glyphs.


Note that if you want two glyphs at the same time for the 
same note they have to be strings or markup.


and so on for KeySignature 


If I do the same for KeySignature

\override KeySignature #'text = #(lambda (grob)
  (cdr (assoc 
 (ly:grob-property grob 'alteration)

   persianStrings)))

gives me an error. It's been almost 20 years since I've used Scheme and I don't 
remember
enough to be able to guess what the problem is...


Ah, yes.  That's not going to work.  The key signatures are 
drawn differently to accidentals.  They have to place all 
the glyphs, not only one glyph for a given accidental. 
Maybe somebody on the list can suggest a way to override

them...


Graham


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


Re: Strange output from convert-ly

2009-02-18 Thread Francisco Vila
2009/2/18 Mats Bengtsson :
> As far as I can see, it's some kind of debug printout that has been left
> over and should be removed from convert-ly.

Right. The attached patch removes the debug print command.

>> ... The worst part is to locate
>> _every_ occurrence of a tie in the music, and delete the
>> no-longer-needed skip in the lyrics accordingly.
>
> There should be much simpler solutions to solve that problem. Just remove
> tieMelismaBusy from the property melismaBusyProperties (see
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond-internals/Score#Score
> for the default value and
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond-internals/Tunable-context-properties#Tunable-context-properties
> for the documentation of what the property means).

Wow. :*)

Could convert-ly handle this, or at least warn about it?

Anyway, the file that originated this thread was a Mozart trio, not a motet.
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org
From 046f94e74e727e9d232dcb719e3dbad28384a0fd Mon Sep 17 00:00:00 2001
From: Francisco Vila 
Date: Thu, 19 Feb 2009 00:47:25 +0100
Subject: [PATCH] Remove a debug command from convert-ly

---
 python/convertrules.py |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/convertrules.py b/python/convertrules.py
index ad2c0cd..7d7551c 100644
--- a/python/convertrules.py
+++ b/python/convertrules.py
@@ -1820,8 +1820,8 @@ def conv (str):
 	s = len (lower_pitches) -1
 	a = g - lower_pitches [-1]
 
-
-	print s , lower_pitches, g, a, s
+# for debugging
+#	print s , lower_pitches, g, a, s
 	str = 'cdefgab' [s]
 	str += ['eses', 'es', '', 'is', 'isis'][a + 2]
 	if o < 0:
-- 
1.5.6.3

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


Re: svg export

2009-02-18 Thread David Stocker

It looks good in Inkscape 0.46 under Ubuntu 8.04.

Dave

Patrick McCarty wrote:

On Wed, Feb 18, 2009 at 2:25 PM, Patrick McCarty  wrote:
  

I plan on fixing this in the future.  When you manage to install
LilyPond's .otf fonts on your system, see if the attached SVG file
renders correctly for you.  It renders decently in Firefox 3.



I forgot to compress it.  This one should make it to the list.

-Patrick
  



___
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: Need information about Lyric spacing in Lilypond

2009-02-18 Thread fzimmerman

Thanks for all the help and advice, both to those who posted here and those
who sent email direct to me.  

The sample scripts were useful, and it was impressive to see how a small
amount of script could produce a full score.  

I see that the basic spacing and layout are quite good, and it is fairly
easy to obtain a good result.  However, fitting a hymn with 5 verses on to a
6x9 inch page is still going to take a lot of tweaking, whether it be with
Lilypond or with a visual editor like Sibelius.  

But I am encouraged to give Lilypond a try, and will be digging into the
manual.
-- 
View this message in context: 
http://www.nabble.com/Need-information-about-Lyric-spacing-in-Lilypond-tp21983959p22090897.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: custom drumstyle-tables with custom noteheads?

2009-02-18 Thread Tao Cumplido
 Original-Nachricht 
> Datum: Mon, 9 Feb 2009 14:27:28 -0700
> Von: "Carl D. Sorensen" 
> An: Tao Cumplido , "lilypond-user@gnu.org" 
> 
> Betreff: Re: custom drumstyle-tables with custom noteheads?

Uh, it's me again.
Actually I made it to write a workaround that does the job. Better late than 
never. ^^
I still have to prepare a presentable sample before I post the result here 
though.

> Yes, the .cc files are very hard to understand.  But after you look at a
> bunch of them, it gets better
> 
> You can see where the styles are actually used to get glyph names in
> scm/output-lib.scm.

Well, instead of medling further with the installation files I wrote now a 
workaround function that actually ignores the 'style property of the grob 
completely and just checks on the drumnote-name, i.e. bassdrum and overrides 
the 'stencil property with the function from the other thread to create custom 
stencils which produce different results depending on the duration-log.

I think that's actually more or less the same you had in mind below.

> Maybe, but this seems like too much of a hack to me.  But it's possible, I
> suppose.  But if I were going to do it in this fashion, I think I'd add a
> new style to the drumStyleTable and then try to write a new print function
> that checks the style, and if it's parallelogram, use the parallelogram
> print routine, otherwise, use the regular notehead print routine.
> 
> Now that I think about it, this approach is a promising way to do this
> without needing to add any font glyphs (which I think would be needed to
> define a new style).  You already have a template for how to do this in
> your
> parallelogram function that Neil wrote.  It checks the grob, and if its
> duration is 2, it writes the parallelogram.  Otherwise, it calls the
> regular
> notehead stuff.

> But I think the output will likely be better if you define new glyphs in
> the
> font and define a new style.

Eventually it'd definitely be easier to use and I think with some more 
tinkering I might even be able to do it but right now it works like I want it 
to and I prefer not to play with the installation files.

Regards,

Tao

-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01


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


Re: svg export

2009-02-18 Thread Tim Reeves
> 
> On Wed, Feb 18, 2009 at 2:25 PM, Patrick McCarty  
wrote:
> >
> > I plan on fixing this in the future.  When you manage to install
> > LilyPond's .otf fonts on your system, see if the attached SVG file
> > renders correctly for you.  It renders decently in Firefox 3.
> 
> I forgot to compress it.  This one should make it to the list.
> 
> -Patrick


Not for me. Lilypond 2.12.2-1 SVG output does not render correctly on 
Inkscape 0.46+ development version, Firefox 3 or Opera 9.6, and I have 
installed the Emmentaler fonts in my Windows (XP SP2) fonts folder. The 
closest to good output is with Inkscape but even there I get open-triangle 
noteheads instead of normal noteheads and in the browsers the SVG 
rendering is just terrible.


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


Re: TAB question -- frescobaldi tab support

2009-02-18 Thread David Stocker
Standard Electric basses have four strings, so that would probably be 
useful to most people using a Bass/Tab template. That being said--5, 6, 
7 and more strings are becoming more and more common all the time.


Dave

Wilbert (and David),

Am I right that your electric bassguitar template has 6 strings? I 
think for bass 4 strings would fit better (or maybe 5 strings)... What 
do you think David?


Regards,

\r





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


Re: svg export

2009-02-18 Thread Patrick McCarty
On Wed, Feb 18, 2009 at 2:25 PM, Patrick McCarty  wrote:
>
> I plan on fixing this in the future.  When you manage to install
> LilyPond's .otf fonts on your system, see if the attached SVG file
> renders correctly for you.  It renders decently in Firefox 3.

I forgot to compress it.  This one should make it to the list.

-Patrick


test.svg.bz2
Description: BZip2 compressed data
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: TAB question -- frescobaldi tab support

2009-02-18 Thread Grammostola Rosea

Wilbert Berendsen wrote:

Op vrijdag 13 februari 2009, schreef Grammostola Rosea:
  

Wilbert Berendsen wrote:


Op vrijdag 13 februari 2009, schreef Grammostola Rosea:
  

When I use a template in Frescobaldi for electric bass it doesn't seems
to work, I get a error message, see below.


Which error message do you get?
  

GNU LilyPond 2.12.0
Verwerken van `baztest.ly'
Ontleden...
Vertolken van muziek...
Voorbewerken van grafische objecten...
Vertolken van muziek...Segmentatiefout
(in Frescobaldi) stopte met status 1)



That's strange, on my system it just runs fine. Maybe some optimisation issue? 
(i.e. not Frescobaldi-related)


  

Besides that, the tablature is placed above the notation by default
which is not how it should be imho.


I'm not experienced with TabStaves, please provide information about how
you would like to generate tabstaffs in Frescobaldi (or submit a feature
request on http://lilykde.googlecode.com, the SVN repo for Frescobaldi).

Should the tab staff be below the notes by default? Then I will change
that in Frescobaldi. (Note that it is easy to just swap the staves in the
Frescobaldi- generated template.)
  

I think we need more people to decide which is the best. I think David
and others can help with it, to get nice guitar / bass templates.

I think tablature should be below notation by default.



Yes, I also saw it in the LIlyPond documentation. I have changed Frescobaldi 
(svn) to put the normal staff on top.


  

Tablature shouldn't have beams.



I could provide a checkbox for that in Frescobaldi, but i'm no tablature 
expert... I'll follow the discussion about this in the LilyPond field.


with best regards,
Wilbert Berendsen

  

Wilbert (and David),

Am I right that your electric bassguitar template has 6 strings? I think 
for bass 4 strings would fit better (or maybe 5 strings)... What do you 
think David?


Regards,

\r


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


Re: Crash: Midi and Instrument_name_engraver in StaffGroup (was Re: TAB question -- frescobaldi tab support)

2009-02-18 Thread Grammostola Rosea

Trevor Daniels wrote:


Jonathan Kulp wrote Wednesday, February 18, 2009 12:16 PM

Trevor Daniels wrote:


Jonathan Kulp wrote Wednesday, February 18, 2009 12:16 AM

Trevor Daniels wrote:
This looks like a bug.  An attempt to add the 
Instrument_name_engraver to a StaffGroup context *and* produce 
MIDI output causes a Crash under Vista.  Doing either separately 
is fine. Here's a minimal example:


\version "2.12.2"
\score {
 \new StaffGroup \with { \consists Instrument_name_engraver }
 a'
 \midi { }
}



It works if you also put a \layout block:

\version "2.12.2"
\score {
 \new StaffGroup \with { \consists Instrument_name_engraver }
 a'
 \midi { }
 \layout { }
}


I still get a crash even with the layout block here, i.e. under 
Vista SP1.


It also causes a crash with 2.11.57-1.

Maybe it's OS-dependent :(  What OS are you using?

Trevor


I'm running Ubuntu 8.04.  I'll reboot in Vista and see if it still 
works for me...Nope.  It crashes in Vista Home Premium, works under 
Linux.


That's bad news.  OS dependent faults are difficult.

What might be the connection between the Instrument_name_engraver,
a StaffGroup context and MIDI?

FWIW, here's the info about the crash:

 Exception Code: c005
 Exception Offset: 000b15a6
 OS Version: 6.0.6001.2.1.0.768.3
 Locale ID: 2057
 Additional Information 1: 8157
 Additional Information 2: e5c125f1fe4801129baf2589875a8741
 Additional Information 3: c78b
 Additional Information 4: 010e8fc734af15e2e734bc021cc92ff0

Trevor


I use Debian testing as OS


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


Re: tablature bug?

2009-02-18 Thread Trevor Daniels


Grammostola Rosea wrote Wednesday, February 18, 2009 8:09 PM



Grammostola Rosea wrote:

Daniel Hulme wrote:
On Tue, Feb 17, 2009 at 10:25:19PM +0100, Grammostola Rosea 
wrote:


My default Debian lenny version, works ok. But how do I install 
the  newest lilypond on Debian testing?

When I install the sh script, it doesn't work properly.


In what way? Please give any error messages.



I think there is a bug here!? Or a fault in the template?
When I comment out this:

%\consists "Instrument_name_engraver"
  %instrumentName = "Electrische bas"


It runs ok.
I've noticed that some people who uses 12.2 does have an error 
(segfault) here, and some don't :/



\r


\version "2.12.2"

\include "nederlands.ly"

global = {
\key g \minor
\time 4/4
}

electricBass = \relative c {
\global
% Muziek volgt hier.
e,4\4 g\4 a\3 d8\3 c\3 e2\4
}

\score {
\new StaffGroup \with
{
 %\consists "Instrument_name_engraver"
  %instrumentName = "Electrische bas"
}
<<
  \new Staff \with {
midiInstrument = "electric bass (finger)"
  } { \clef bass \electricBass }
  \new TabStaff \electricBass
>>
\layout { }
\midi {
  \context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
  }
}
}



Anyone who can confirm this segfault or has suggestions?

Thanks in advance,

\r


It seems two of your posts have got crossed.  Have a look
at your post in the archive with subject
"TAB question -- frescobaldi tab support".
There are lots of responses there to this bug.

In summary it seems the combination of adding the
Instrument_name_engraver to the StaffGroup
context and the inclusion of a \midi block cause a
crash in Vista and XP (at least), although it seems
not in OSX.

Trevor 




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


Re: Strange output from convert-ly

2009-02-18 Thread Mats Bengtsson

Quoting Francisco Vila :


2009/2/18 Robin Bannister :

Mats Bengtsson wrote:


 try to nail down which conversion rule


The rule for 2.1.27 (re tuning) prints this.


I've found that this minimal file

%%

\version "1.5.68"
\property Staff.transposing = #-2

%%

gives this when converted:

%%

5 [0, 2, 4, 5, 7, 9] 10 1 5
\version "2.12.0"
\transposition ais


As far as I can see, it's some kind of debug printout that has been 
left over and should be removed from convert-ly.



... The worst part is to locate
_every_ occurrence of a tie in the music, and delete the
no-longer-needed skip in the lyrics accordingly.


There should be much simpler solutions to solve that problem. Just 
remove tieMelismaBusy from the property melismaBusyProperties (see 
http://lilypond.org/doc/v2.12/Documentation/user/lilypond-internals/Score#Score for the default value and http://lilypond.org/doc/v2.12/Documentation/user/lilypond-internals/Tunable-context-properties#Tunable-context-properties for the documentation of what the property 
means).


   /Mats



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


Re: LPT: Autocomplete problem

2009-02-18 Thread Bertalan Fodor
Sidekick must parse it. 

  Original message  
From: Francisco Vila 
Sent: 18 Feb 2009 12:02 -08:00
To: Bertalan Fodor (LilyPondTool) 
Cc: lilypond-user 
Subject: Re: LPT: Autocomplete problem

2009/2/17 Bertalan Fodor (LilyPondTool) :
> I know this, it happens to me with non-English keyboard layout. Is it true
> for your users as well?
> Please file a bug on sf.net/lily4jedit

Now this doesnt happen (yet).

What I don't understand is what triggers the appearance of defined
variables in the list of autocompletion candidates.
A simple file, saved, processed, viewed, first does not propose these
variables and then suddenly something happens and it starts doing it.


>> Some Windows users reported that the stroke of the backslash key
>> produces automatic (and undesired) insertion of a previous defined
>> variable name, instead of a list of autocompletion candidates.
>>
>> Then I have experienced this on linux as well, but now I cannot
>> reproduce it, I really don't get any autocompletion list of candidates
>> nor auto-undesired-insertion. So there seems to be something erratic
>> out there.
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org





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


Re: tablature bug?

2009-02-18 Thread Grammostola Rosea

Grammostola Rosea wrote:

Daniel Hulme wrote:

On Tue, Feb 17, 2009 at 10:25:19PM +0100, Grammostola Rosea wrote:
 
My default Debian lenny version, works ok. But how do I install the  
newest lilypond on Debian testing?

When I install the sh script, it doesn't work properly.


In what way? Please give any error messages.

  

I think there is a bug here!? Or a fault in the template?
When I comment out this:

%\consists "Instrument_name_engraver"
  %instrumentName = "Electrische bas"


It runs ok.
I've noticed that some people who uses 12.2 does have an error 
(segfault) here, and some don't :/



\r


\version "2.12.2"

\include "nederlands.ly"

global = {
\key g \minor
\time 4/4
}

electricBass = \relative c {
\global
% Muziek volgt hier.
e,4\4 g\4 a\3 d8\3 c\3 e2\4
}

\score {
\new StaffGroup \with
{
 %\consists "Instrument_name_engraver"
  %instrumentName = "Electrische bas"
}
<<
  \new Staff \with {
midiInstrument = "electric bass (finger)"
  } { \clef bass \electricBass }
  \new TabStaff \electricBass
>>
\layout { }
\midi {
  \context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
  }
}
}



Anyone who can confirm this segfault or has suggestions?

Thanks in advance,

\r


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


Re: LPT: Autocomplete problem

2009-02-18 Thread Francisco Vila
2009/2/17 Bertalan Fodor (LilyPondTool) :
> I know this, it happens to me with non-English keyboard layout. Is it true
> for your users as well?
> Please file a bug on sf.net/lily4jedit

Now this doesnt happen (yet).

What I don't understand is what triggers the appearance of defined
variables in the list of autocompletion candidates.
A simple file, saved, processed, viewed, first does not propose these
variables and then suddenly something happens and it starts doing it.


>> Some Windows users reported that the stroke of the backslash key
>> produces automatic (and undesired) insertion of a previous defined
>> variable name, instead of a list of autocompletion candidates.
>>
>> Then I have experienced this on linux as well, but now I cannot
>> reproduce it, I really don't get any autocompletion list of candidates
>> nor auto-undesired-insertion. So there seems to be something erratic
>> out there.
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: LilyPondTool; jEdit plugin options

2009-02-18 Thread Bertalan Fodor
Nothing. Still the best.

> --- Original Message ---
> From: chip 
> To: "Bertalan Fodor (LilyPondTool)" 
> Sent: 09/02/18/, 17:12:15
> Subject: Re: LilyPondTool; jEdit plugin options
> 
> Bertalan Fodor (LilyPondTool) wrote:
> > Yes, it is.
> > I think it is because of localization. I hate jEdit.
> I'm also having problems with the latest jedit version. What do you use 
> in place of it? What has the integration with a pdf viewer like jedit?
> --
> chip
> 
> >
> > Thomas Scharkowski wrote:
> >> Hello all,
> >>
> >> I have just noticed that some descriptions e.g. for the checkboxes 
> >> and the path fields are not shown here (any more?) in jEdits Plugin 
> >> Options > LilyPondTool windows.
> >>
> >>   
> >>> General
> >>> 
> >> Enable LilyTool bar (missing)
> >> Which lilypond to use (present)
> >> Path field descriptions (e.g. external PDF viewer) are all missing
> >> Descriptions for the following checkboxes and logging level - present
> >>
> >>   
> >>> Commands
> >>> 
> >> All descriptions missing!
> >>
> >> Isn't this strange?
> >>
> >> Thank you,
> >> Thomas
> >>
> >> --
> >> Windows XP SP3
> >> jEdit 4.3pre16
> >> LilyPondTool 2.12-r2 
> >>
> >>
> >>
> >> ___
> >> 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
> >   
> 
> 


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


Re: Strange output from convert-ly

2009-02-18 Thread Francisco Vila
2009/2/18 Robin Bannister :
> Mats Bengtsson wrote:
>>
>>  try to nail down which conversion rule
>
> The rule for 2.1.27 (re tuning) prints this.

I've found that this minimal file

%%

\version "1.5.68"
\property Staff.transposing = #-2

%%

gives this when converted:

%%

5 [0, 2, 4, 5, 7, 9] 10 1 5
\version "2.12.0"
\transposition ais

%%

At the same time I am very sorry to say that the original version of
the file is so old that makes it an absolute pain to update. :-(

What really concerns me is the possibility that a massive loss of
information could be happening in mutopiaproject, for example.

A large collection of music that I'd like to update, is the Tomás Luis
de Victoria files of Nancho Álvarez, tomasluisdevictoria.org, which
contains hundreds of renaissance scores. The worst part is to locate
_every_ occurrence of a tie in the music, and delete the
no-longer-needed skip in the lyrics accordingly.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


Re: svg export

2009-02-18 Thread Patrick McCarty
On Wed, Feb 18, 2009 at 02:45:51PM +0100, François Labadens wrote:
> I'm a quite new user of this so really good software.
> I'm trying to obtain a svg ouput with Lilypond, but it seems to be
> impossible.
> Can someone teach me the synthax in order to have a svg file in ouput ?
> (with Windows or Linux, I have both)

On the command line, try typing

lilypond -dbackend=svg file.ly

HTH,
Patrick


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


Re: Cannot correctly code this rhythm...

2009-02-18 Thread RandomLilyPondUser

I figured out the problem, and that code does work, it just didn't work under
my score, paper, layout, or drumstaff section.  I simply had to put it under
the function being called in the drumstaff section.

I only have two problems left:  

1) since there is only one line on the staff, the bars between the measures
don't show, how do I get them back?  

2) the measures aren't evenly spaced out, how do I make them all the same
size?
   I've tried these lines of code:
\override Score.SpacingSpanner #'strict-note-spacing =
##t 
\set Score.proportionalNotationDuration =
#(ly:make-moment 1 16)
   but not all measures are evenly sized, some are fatter,
especially those 
   with many septuplets/32nd notes.


Besides saying "read the manual", which I've already waded through many
times, could anyone provide some constructive help?   Either give me a "look
at this page" or simply posting the code snippet would save much
frustration.

 

Mats Bengtsson-4 wrote:
> 
> RandomLilyPondUser wrote:
>> http://www.nabble.com/file/p22066496/snip.png 
>> One more question - how do I make a staff with only one line with notes
>> above and below like that?
>>
>> Rhythmicstaff only allows notes on the line, on my drumstaff, I tried
>>
>> \override Staff.StaffSymbol #'line-count = #1 
>>
>> but it did nothing.
>>
>> Any help is appreciated, thank you
>>   
> I think you should be able to figure it out yourself, using the 
> knowledge you can obtain in the Learning Manual. Hint: the drum staff is 
> not handled by a "Staff" context but by something else.
> 
>/Mats
> 
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Cannot-correctly-code-this-rhythm...-tp22066496p22085918.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: Controlling slur shape across line breaks

2009-02-18 Thread Ted Hopp
My first reaction on glancing at it was "yikes!" But it seems to cover
exactly what I need. Thanks!

Ted


On Wed, Feb 18, 2009 at 1:31 PM, Trevor Daniels  wrote:
> Ted
>
> Section 5.5.4 in the Notation Reference describes how to modify the shape of
> ties, slurs and phrasing slurs.  It's a little tricky, but it's easy
> compared with modifying the two parts of a slur split over a line break!
>  This is described in section 6.8 of the Notation Reference.  You need to
> combine the two, and this should enable you to achieve the shape you want.
>
> Good luck!
>
> Trevor
>
> - Original Message - From: "Ted Hopp" 
> To: 
> Sent: Wednesday, February 18, 2009 6:04 PM
> Subject: Controlling slur shape across line breaks
>
>
>> Is there a way to control the shape of a (phrasing) slur on each side
>> of a line break? The attached image shows the awful layout that
>> results from the following fragment:
>>
>> upper = \relative c' {
>>  \clef "treble"
>>  \phrasingSlurUp
>>  \partial 16
>>  d16\( | \break
>>  e4 f g a |
>>  \time 6/4
>>  \change Staff = "lower" \stemUp g4 f c1 \) \change Staff = "upper"
>> \stemNeutral |
>>  \time 4/4
>>  d4\( f 2 ~ | \break
>>  1 \)
>> }
>>
>> lower = \relative c {
>>  \clef "bass"
>>  \partial 16 r16 | R1 | \time 6/4 R1. \time 4/4 R1*2
>> }
>>
>> \score {
>>  \new PianoStaff <<
>>   \new Staff = "upper" \upper
>>   \new Staff = "lower" \lower
>>  >>
>>  \layout {}
>> }
>>
>> As can be seen, both ends of the slur before the first line break
>> needs to be raised. After the break, the start of the slur
>> continuation (in measure 1) is good but the end (in measure 2) needs
>> to be lowered (a lot!) and, once that is done, there needs to be a lot
>> more curvature to avoid collision with the notes and the time change.
>> A slightly different problem can be seen in measure 4, where the slur
>> ends well but should start the measure much higher up.
>>
>> I need a way to fix problems like these by controlling the shape of
>> slurs, and not, for instance, by changing to phrasingSlurDown (which
>> doesn't work in the context in which these problems first showed up).
>>
>
>
> 
>
>
>> ___
>> 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


Controlling slur shape across line breaks

2009-02-18 Thread Ted Hopp
[I tried posting this with an attached pdf, but that didn't seem to go through.]
Is there a way to control the shape of a (phrasing) slur on each side
of a line break? The following example generates some awful output:

\version "2.12.1"

\paper {
  indent = #0
  ragged-right = ##t
  ragged-bottom = ##t
}
upper = \relative c' {
 \clef "treble"
 \phrasingSlurUp
 \partial 16
 d16\( | \break
 e4 f g a |
 \time 6/4
 \change Staff = "lower" \stemUp g4 f c1 \) \change Staff = "upper"
\stemNeutral |
 \time 4/4
 d4\( f 2 ~ | \break
 1 \)
}

lower = \relative c {
 \clef "bass"
 \partial 16 r16 | R1 | \time 6/4 R1. \time 4/4 R1*2
}

\score {
 \new PianoStaff <<
   \new Staff = "upper" \upper
   \new Staff = "lower" \lower
 >>
 \layout {}
}

As can be seen, both ends of the slur before the first line break
needs to be raised. After the break, the start of the slur
continuation (in measure 1) is good but the end (in measure 2) needs
to be lowered (a lot!) and, once that is done, there needs to be a lot
more curvature to avoid collision with the notes and the time change.
A slightly different problem can be seen in measure 4, where the slur
ends well but should start the measure much higher up.

I need a way to fix problems like these by controlling the shape of
slurs, and not, for instance, by changing to phrasingSlurDown (which
doesn't work in the context in which these problems first showed up).


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


Re: Controlling slur shape across line breaks

2009-02-18 Thread Trevor Daniels

Ted

Section 5.5.4 in the Notation Reference describes how to modify the 
shape of ties, slurs and phrasing slurs.  It's a little tricky, but 
it's easy compared with modifying the two parts of a slur split over 
a line break!  This is described in section 6.8 of the Notation 
Reference.  You need to combine the two, and this should enable you 
to achieve the shape you want.


Good luck!

Trevor

- Original Message - 
From: "Ted Hopp" 

To: 
Sent: Wednesday, February 18, 2009 6:04 PM
Subject: Controlling slur shape across line breaks


Is there a way to control the shape of a (phrasing) slur on each 
side

of a line break? The attached image shows the awful layout that
results from the following fragment:

upper = \relative c' {
 \clef "treble"
 \phrasingSlurUp
 \partial 16
 d16\( | \break
 e4 f g a |
 \time 6/4
 \change Staff = "lower" \stemUp g4 f c1 \) \change Staff = 
"upper"

\stemNeutral |
 \time 4/4
 d4\( f 2 ~ | \break
 1 \)
}

lower = \relative c {
 \clef "bass"
 \partial 16 r16 | R1 | \time 6/4 R1. \time 4/4 R1*2
}

\score {
 \new PianoStaff <<
   \new Staff = "upper" \upper
   \new Staff = "lower" \lower
 >>
 \layout {}
}

As can be seen, both ends of the slur before the first line break
needs to be raised. After the break, the start of the slur
continuation (in measure 1) is good but the end (in measure 2) 
needs
to be lowered (a lot!) and, once that is done, there needs to be a 
lot
more curvature to avoid collision with the notes and the time 
change.
A slightly different problem can be seen in measure 4, where the 
slur

ends well but should start the measure much higher up.

I need a way to fix problems like these by controlling the shape 
of
slurs, and not, for instance, by changing to phrasingSlurDown 
(which
doesn't work in the context in which these problems first showed 
up).









___
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


Controlling slur shape across line breaks

2009-02-18 Thread Ted Hopp
Is there a way to control the shape of a (phrasing) slur on each side
of a line break? The attached image shows the awful layout that
results from the following fragment:

upper = \relative c' {
  \clef "treble"
  \phrasingSlurUp
  \partial 16
  d16\( | \break
  e4 f g a |
  \time 6/4
  \change Staff = "lower" \stemUp g4 f c1 \) \change Staff = "upper"
\stemNeutral |
  \time 4/4
  d4\( f 2 ~ | \break
  1 \)
}

lower = \relative c {
  \clef "bass"
  \partial 16 r16 | R1 | \time 6/4 R1. \time 4/4 R1*2
}

\score {
  \new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
  >>
  \layout {}
}

As can be seen, both ends of the slur before the first line break
needs to be raised. After the break, the start of the slur
continuation (in measure 1) is good but the end (in measure 2) needs
to be lowered (a lot!) and, once that is done, there needs to be a lot
more curvature to avoid collision with the notes and the time change.
A slightly different problem can be seen in measure 4, where the slur
ends well but should start the measure much higher up.

I need a way to fix problems like these by controlling the shape of
slurs, and not, for instance, by changing to phrasingSlurDown (which
doesn't work in the context in which these problems first showed up).


breakTest.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Persian musical koron and sori

2009-02-18 Thread Kees van den Doel

>Then in "\context" add
> 
> \override Accidental #'stencil = #ly:text-interface::print
> \override Accidental #'font-name = #"???"
> \override Accidental #'font-size = #?
> \override Accidental #'text = #(lambda (grob)
>  (cdr (assoc 
> (ly:grob-property grob 'alteration)
>   persianStrings)))
> \override Accidental #'X-extent = #'(0 . 1)
> \override Accidental #'Y-extent = #'(-1 . 1)

Works great with the typo's fixed. Is there a way to do this only for koron and 
sori and render the
normal accidentals as usual?

> and so on for KeySignature 

If I do the same for KeySignature

\override KeySignature #'text = #(lambda (grob)
  (cdr (assoc 
 (ly:grob-property grob 'alteration)
   persianStrings)))

gives me an error. It's been almost 20 years since I've used Scheme and I don't 
remember
enough to be able to guess what the problem is...

>and whatever else you want to use 
> the new symbols.  The font name is what Pango uses to find 
> the new font and you may need to adjust the font size.  For 
> the best results use lookups for the X- and Y-extents as well.

Thanks a lot!

Kees


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


Re: Multi measure rest for non 4/4 measures

2009-02-18 Thread Gilles Sadowski
>
> I wanted to have something like that :
>
> \set Score.skipBars = ##t
> \time 12/8  r1*12/8*4 
 ^^^
Should be a capital R.

Best,
Gilles



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


Re: Multi measure rest for non 4/4 measures

2009-02-18 Thread David Bobroff
Check the section on whole measure rests.  You should have a capital 'R' 
instead of a lower case 'r' after your time signature.


-David

lucifree wrote:

Hi

I wanted to have something like that :

\set Score.skipBars = ##t
\time 12/8  r1*12/8*4
ie the multi measure rest with a big 4 on top of it, meaning 4 12/8 
measures.


This works well for basic 4/4 time, but I don't succeed in not 4/4. Is 
there a trick to have this ?


Thanks,
L.



___
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


Multi measure rest for non 4/4 measures

2009-02-18 Thread lucifree

Hi

I wanted to have something like that :

\set Score.skipBars = ##t
\time 12/8  r1*12/8*4 

ie the multi measure rest with a big 4 on top of it, meaning 4 12/8 
measures.


This works well for basic 4/4 time, but I don't succeed in not 4/4. Is 
there a trick to have this ?


Thanks,
L.



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


Re: LilyPondTool; jEdit plugin options

2009-02-18 Thread chip

Bertalan Fodor (LilyPondTool) wrote:

Yes, it is.
I think it is because of localization. I hate jEdit.
I'm also having problems with the latest jedit version. What do you use 
in place of it? What has the integration with a pdf viewer like jedit?

--
chip



Thomas Scharkowski wrote:

Hello all,

I have just noticed that some descriptions e.g. for the checkboxes 
and the path fields are not shown here (any more?) in jEdits Plugin 
Options > LilyPondTool windows.


  

General


Enable LilyTool bar (missing)
Which lilypond to use (present)
Path field descriptions (e.g. external PDF viewer) are all missing
Descriptions for the following checkboxes and logging level - present

  

Commands


All descriptions missing!

Isn't this strange?

Thank you,
Thomas

--
Windows XP SP3
jEdit 4.3pre16
LilyPondTool 2.12-r2 




___
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
  


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


Re: LilyPondTool; jEdit plugin options

2009-02-18 Thread Bertalan Fodor (LilyPondTool)

Yes, it is.
I think it is because of localization. I hate jEdit.

Thomas Scharkowski wrote:

Hello all,

I have just noticed that some descriptions e.g. for the checkboxes 
and the path fields are not shown here (any more?) in jEdits Plugin 
Options > LilyPondTool windows.


  

General


Enable LilyTool bar (missing)
Which lilypond to use (present)
Path field descriptions (e.g. external PDF viewer) are all missing
Descriptions for the following checkboxes and logging level - present

  

Commands


All descriptions missing!

Isn't this strange?

Thank you,
Thomas

--
Windows XP SP3
jEdit 4.3pre16
LilyPondTool 2.12-r2 




___
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


svg export

2009-02-18 Thread François Labadens
I'm a quite new user of this so really good software.
I'm trying to obtain a svg ouput with Lilypond, but it seems to be
impossible.
Can someone teach me the synthax in order to have a svg file in ouput ?
(with Windows or Linux, I have both)
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


LilyPondTool; jEdit plugin options

2009-02-18 Thread Thomas Scharkowski
Hello all,

I have just noticed that some descriptions e.g. for the checkboxes 
and the path fields are not shown here (any more?) in jEdits Plugin 
Options > LilyPondTool windows.

> General
Enable LilyTool bar (missing)
Which lilypond to use (present)
Path field descriptions (e.g. external PDF viewer) are all missing
Descriptions for the following checkboxes and logging level - present

> Commands
All descriptions missing!

Isn't this strange?

Thank you,
Thomas

--
Windows XP SP3
jEdit 4.3pre16
LilyPondTool 2.12-r2 



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


Re: ugly .ps output

2009-02-18 Thread François Labadens
You're right, I can import pdfs. But it's more difficult to optimize the
size of the picture: you have to specify in lilypond the exact size of the
musicsheet in order to avoid blank spaces.
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Strange output from convert-ly

2009-02-18 Thread Robin Bannister

Mats Bengtsson wrote:

 try to nail down which conversion rule


The rule for 2.1.27 (re tuning) prints this.

Cheers,
Robin


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


Re: Crash: Midi and Instrument_name_engraver in StaffGroup (was Re: TAB question -- frescobaldi tab support)

2009-02-18 Thread Trevor Daniels


Jonathan Kulp wrote Wednesday, February 18, 2009 12:16 PM

Trevor Daniels wrote:


Jonathan Kulp wrote Wednesday, February 18, 2009 12:16 AM

Trevor Daniels wrote:
This looks like a bug.  An attempt to add the 
Instrument_name_engraver to a StaffGroup context *and* produce 
MIDI output causes a Crash under Vista.  Doing either 
separately is fine. Here's a minimal example:


\version "2.12.2"
\score {
 \new StaffGroup \with { \consists Instrument_name_engraver }
 a'
 \midi { }
}



It works if you also put a \layout block:

\version "2.12.2"
\score {
 \new StaffGroup \with { \consists Instrument_name_engraver }
 a'
 \midi { }
 \layout { }
}


I still get a crash even with the layout block here, i.e. under 
Vista SP1.


It also causes a crash with 2.11.57-1.

Maybe it's OS-dependent :(  What OS are you using?

Trevor


I'm running Ubuntu 8.04.  I'll reboot in Vista and see if it still 
works for me...Nope.  It crashes in Vista Home Premium, works 
under Linux.


That's bad news.  OS dependent faults are difficult.

What might be the connection between the Instrument_name_engraver,
a StaffGroup context and MIDI?

FWIW, here's the info about the crash:

 Exception Code: c005
 Exception Offset: 000b15a6
 OS Version: 6.0.6001.2.1.0.768.3
 Locale ID: 2057
 Additional Information 1: 8157
 Additional Information 2: e5c125f1fe4801129baf2589875a8741
 Additional Information 3: c78b
 Additional Information 4: 010e8fc734af15e2e734bc021cc92ff0

Trevor 




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


Re: Strange output from convert-ly

2009-02-18 Thread Mats Bengtsson

Francisco Vila wrote:

Hello,

I have a file starting with

\version "1.5.68"

and first lines of the convert-ly output are

5 [0, 2, 4, 5, 7, 9] 10 1 5
5 [0, 2, 4, 5, 7, 9] 10 1 5
5 [0, 2, 4, 5, 7, 9] 10 1 5
\version "2.12.0"
  
That's weird. I cannot repeat the problem using an input file with just 
the \version line, so it must depend on the contents of the rest of the 
file. Perhaps you can try to copy only parts of your file to some test 
file that you run through convert-ly, to get some clue on what construct 
in your input file causes these problems.


You could also try to nail down which conversion rule that causes the 
problem, by running convert-ly --to=... with different target version 
numbers and check when these lines appear in the output (using 
bisection, it won't take that long).


   /Mats


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


Re: Autocomplete in Lilypondtool has disappeared

2009-02-18 Thread Bertalan Fodor (LilyPondTool)

The plugin manager version broke it. (I hope that will be updated soon.)

http://lilypondtool.organum.hu/fileadmin/lilypondtool/LilyPondTool-2.12-r2.zip 
should fix this.


Nick Payne wrote:

For some reason I am no longer getting autocomplete help for backslash
commands - eg if I enter "\stop" in an ly file I no longer get a dropdown
list of backslash commands that start with the characters "stop". I
uninstalled and reinstalled LPT via the jEdit Plugin Manager to see if that
fixed it (the installed LPT version is 2.12-r2), but still have the problem.
"parse on keystroke" is checked in Sidekick - what else could be causing
this?

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


Autocomplete in Lilypondtool has disappeared

2009-02-18 Thread Nick Payne
For some reason I am no longer getting autocomplete help for backslash
commands - eg if I enter "\stop" in an ly file I no longer get a dropdown
list of backslash commands that start with the characters "stop". I
uninstalled and reinstalled LPT via the jEdit Plugin Manager to see if that
fixed it (the installed LPT version is 2.12-r2), but still have the problem.
"parse on keystroke" is checked in Sidekick - what else could be causing
this?

Nick



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


Re: Crash: Midi and Instrument_name_engraver in StaffGroup (was Re: TAB question -- frescobaldi tab support)

2009-02-18 Thread Jonathan Kulp

Trevor Daniels wrote:


Jonathan Kulp wrote Wednesday, February 18, 2009 12:16 AM

Trevor Daniels wrote:
This looks like a bug.  An attempt to add the 
Instrument_name_engraver to a StaffGroup context *and* produce MIDI 
output causes a Crash under Vista.  Doing either separately is fine. 
Here's a minimal example:


\version "2.12.2"
\score {
 \new StaffGroup \with { \consists Instrument_name_engraver }
 a'
 \midi { }
}



It works if you also put a \layout block:

\version "2.12.2"
\score {
 \new StaffGroup \with { \consists Instrument_name_engraver }
 a'
 \midi { }
 \layout { }
}


I still get a crash even with the layout block here, i.e. under Vista SP1.

It also causes a crash with 2.11.57-1.

Maybe it's OS-dependent :(  What OS are you using?

Trevor


I'm running Ubuntu 8.04.  I'll reboot in Vista and see if it still works 
for me...Nope.  It crashes in Vista Home Premium, works under Linux.


Jon

--
Jonathan Kulp
http://www.jonathankulp.com



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


Re: Total invisibility

2009-02-18 Thread James E. Bailey


El 18.02.2009, a las 12:49, Gilles Sadowski escribió:

I'd like a "Voice" to be totally invisible (i.e. taking up no  
space)

while
retaining midi output.


Then don't include it in the \score block with a \layout. You can
have
multiple \score blocks in a file.
\score {
\new Staff {\bagpipeMusic}
\layout {}
}
\score {
<<
\bagpipeMusic
\droneMusic
>>
\midi {}
}



How does this not work for your templates? I'm assuming you have a
\score block in your file. It probably has a \layout {} and a  
\midi {}

block in it. You duplicate the \score block, and leave one with the
\layout {} and one with the \midi {}.


I already have 2 "\score" blocks (namely to have "\unfoldRepeats" for
the MIDI output). But the thing is that both "\score"s refer only to a
variable "\staves" (defined in another file, that groups all the  
staves for
all the instruments) and I don't want those blocks to refer to a  
"\drone"

variable which won't even exist in most projects. [When an instrument
doesn't exist in a score, I comment it out in the file that defines  
the

"\staves" variable.]


Then, in the one that has the
\layout {}, you remove all references to the "invisible" staff.


Currently, the drone is *not* in its own staff; it's a second  
"Voice" in

the bagpipe staff.
Hence my question: Is it possible to completely hide that "Voice" (the
same way that some symbols can be made to take no space at all). [That
would be the easiest solution since I wouldn't have to touch any file
other than the one concerned with the drone i.e. the bagpipe file.]
But, if the above is not possible, then I figure I'll have to add a  
new staff

for the drone, and figure out something with "\keepWithTag" (or
"\removeWithTag") to prevent the staff from appearing in the  
layout. [In any
case, I'd seek a modification that would be done once for all in  
the "\score"s

blocks (i.e. no commenting in/out in each project).]

Best,
Gilles


Ah, I understand now. Honestly, I would change the input to reflect  
what you want. What you want is a midi voice that is not present in  
the score. If I understand correctly, you have typeset this voice  
into the printed score. (This is where I learned a lot from Kieren  
about separating things.) I've learned with lilypond to put one thing  
into a variable. If there are two voice that are always two voices  
throughout the entire piece, then it's easier to type those two  
voices into separate variables and combine them in my staff, than to  
type them both into the same variable. First, for error-checking,  
it's easier to find exactly where a mistake is, if I only have to  
look through one voice. Second, if I ever need to make a change, it's  
easier to do that if they are separate.


Since you have what is essentially midi *only* information in a  
variable that also defines print information, yes, \removeWithTag is  
probably your best bet. But you really may want to consider changing  
how you separate information in the future.


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


Re: On-screen (low-resolution) image quality

2009-02-18 Thread Johan Vromans
Arnout Engelen  writes:

> Do you have any ideas for improving low-resolution output? My script
> is of course just a proof of concept - what would be the 'right' way
> and place to tackle this?

I'm afraid there's no right way unless you're going to pixelize all
lily objects and pixel-place them.

I'd suggest to make the lines (staff and stem) slightly thicker. This
will probably make a significant (and hopefully sufficient)
improvement.

-- Johan


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


Re: Total invisibility

2009-02-18 Thread Gilles Sadowski
 I'd like a "Voice" to be totally invisible (i.e. taking up no space)
 while
 retaining midi output.
>>>
>>> Then don't include it in the \score block with a \layout. You can  
>>> have
>>> multiple \score blocks in a file.
>>> \score {
>>> \new Staff {\bagpipeMusic}
>>> \layout {}
>>> }
>>> \score {
>>> <<
>>> \bagpipeMusic
>>> \droneMusic
>>> >>
>>> \midi {}
>>> }
>>
> How does this not work for your templates? I'm assuming you have a  
> \score block in your file. It probably has a \layout {} and a \midi {} 
> block in it. You duplicate the \score block, and leave one with the 
> \layout {} and one with the \midi {}.

I already have 2 "\score" blocks (namely to have "\unfoldRepeats" for
the MIDI output). But the thing is that both "\score"s refer only to a
variable "\staves" (defined in another file, that groups all the staves for
all the instruments) and I don't want those blocks to refer to a "\drone"
variable which won't even exist in most projects. [When an instrument
doesn't exist in a score, I comment it out in the file that defines the
"\staves" variable.]

> Then, in the one that has the 
> \layout {}, you remove all references to the "invisible" staff.

Currently, the drone is *not* in its own staff; it's a second "Voice" in
the bagpipe staff.
Hence my question: Is it possible to completely hide that "Voice" (the
same way that some symbols can be made to take no space at all). [That
would be the easiest solution since I wouldn't have to touch any file
other than the one concerned with the drone i.e. the bagpipe file.]
But, if the above is not possible, then I figure I'll have to add a new staff
for the drone, and figure out something with "\keepWithTag" (or
"\removeWithTag") to prevent the staff from appearing in the layout. [In any
case, I'd seek a modification that would be done once for all in the "\score"s
blocks (i.e. no commenting in/out in each project).]

Best,
Gilles


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


Strange output from convert-ly

2009-02-18 Thread Francisco Vila
Hello,

I have a file starting with

\version "1.5.68"

and first lines of the convert-ly output are

5 [0, 2, 4, 5, 7, 9] 10 1 5
5 [0, 2, 4, 5, 7, 9] 10 1 5
5 [0, 2, 4, 5, 7, 9] 10 1 5
\version "2.12.0"

Does anybody know, where does that come from?

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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


RE: Crash: Midi and Instrument_name_engraver in StaffGroup (was Re: TAB question -- frescobaldi tab support)

2009-02-18 Thread Nick Payne
It crashes LP 2.12.2 here - I tried it on both WinXP SP3 and the Windows 7
beta.

Nick

> -Original Message-
It works if you also put a \layout block:

\version "2.12.2"
\score {
 \new StaffGroup \with { \consists Instrument_name_engraver }
 a'
 \midi { }
 \layout { }
}
> 
> I still get a crash even with the layout block here, i.e. under
> Vista SP1.
> 
> It also causes a crash with 2.11.57-1.
> 
> Maybe it's OS-dependent :(  What OS are you using?



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


Re: reinstalled lily on reinstalled xp, now get path error message

2009-02-18 Thread Antanas Budriūnas
2009/2/17 chip :
> chip wrote:
>>
>> Error message -
>>
>> "Error running external command.
>> See the activity log about the problem.
>> Cannot run program "c:\Program Files\LilyPond\user\bin\lilypond" (in
>> directory "D:\Lilypond Files"): CreateProcess error=3, The system cannot
>> find the path specified."

1. In Plugin options>LilyPondTool>General try to set "Path to LilyPond
binary" to "C:\Program Files\LilyPond\user\bin".
2. Check if in Plugin options>LilyPondTool>Commands "LilyPond command"
is set to lilypond or lilypond.exe

(Sorry I can't approve it because I'm running UbuntuStudio)
Hope this helps

Antanas Budriūnas


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


Re: Crash: Midi and Instrument_name_engraver in StaffGroup (was Re: TAB question -- frescobaldi tab support)

2009-02-18 Thread Trevor Daniels


Jonathan Kulp wrote Wednesday, February 18, 2009 12:16 AM

Trevor Daniels wrote:
This looks like a bug.  An attempt to add the 
Instrument_name_engraver to a StaffGroup context *and* produce 
MIDI output causes a Crash under Vista.  Doing either separately 
is fine. Here's a minimal example:


\version "2.12.2"
\score {
 \new StaffGroup \with { \consists Instrument_name_engraver }
 a'
 \midi { }
}



It works if you also put a \layout block:

\version "2.12.2"
\score {
 \new StaffGroup \with { \consists Instrument_name_engraver }
 a'
 \midi { }
 \layout { }
}


I still get a crash even with the layout block here, i.e. under 
Vista SP1.


It also causes a crash with 2.11.57-1.

Maybe it's OS-dependent :(  What OS are you using?

Trevor



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


tablature bug?

2009-02-18 Thread Grammostola Rosea

Daniel Hulme wrote:

On Tue, Feb 17, 2009 at 10:25:19PM +0100, Grammostola Rosea wrote:
 
My default Debian lenny version, works ok. But how do I install the  
newest lilypond on Debian testing?

When I install the sh script, it doesn't work properly.


In what way? Please give any error messages.

  

I think there is a bug here!? Or a fault in the template?
When I comment out this:

%\consists "Instrument_name_engraver"
  %instrumentName = "Electrische bas"


It runs ok.
I've noticed that some people who uses 12.2 does have an error 
(segfault) here, and some don't :/



\r


\version "2.12.2"

\include "nederlands.ly"

global = {
\key g \minor
\time 4/4
}

electricBass = \relative c {
\global
% Muziek volgt hier.
e,4\4 g\4 a\3 d8\3 c\3 e2\4
}

\score {
\new StaffGroup \with
{
 %\consists "Instrument_name_engraver"
  %instrumentName = "Electrische bas"
}
<<
  \new Staff \with {
midiInstrument = "electric bass (finger)"
  } { \clef bass \electricBass }
  \new TabStaff \electricBass
>>
\layout { }
\midi {
  \context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
  }
}
}



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


Re: Crash: Midi and Instrument_name_engraver in StaffGroup (was Re: TAB question -- frescobaldi tab support)

2009-02-18 Thread James E. Bailey


El 18.02.2009, a las 01:34, Jonathan Kulp escribió:


The code in this electric bass example works fine for me.  I  
uncommented the lines in question and it ran without errors.  The  
instrument name runs off the left margin a bit, but that wasn't at  
issue here.  Just to be sure it's the same here's the code from my  
file:




It works fine for me as well. I imagine it's  windows/linuk thing,  
since I'm on OSX.


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


Re: ugly .ps output

2009-02-18 Thread François Labadens
PDF Creator is correctly interpreting the .ps output of lilypond, but
Scribus can't import it whithout mistakes...

I think the problem doesn't come from Lilypond, but from Scribus's
interpretation of Postscripts...
François
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user