Re: Octavation

2006-06-26 Thread Mats Bengtsson

To find out the answer yourself, go to the section on Ottava brackets in
the on-line manual and follow the link at the bottom of the page to the
program reference for the OttavaBracket object. There, you will find
the values of the properties that are set by default. Then you can do the
same for Text spanners and see what differs.
In particular, it seems that you have to \override the properties 
dash-fraction

and edge-height and \revert the value of dash-period.

  /Mats

Kirill wrote:


Mats Bengtsson  ee.kth.se> writes:

 


How about using a text spanner?

  /Mats

   




What parameters do I have to set for a text spanner so as to *exactly* emulate
the apperance of a regular ottava line?







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



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


generate score and parts with lilyscore

2006-06-26 Thread Johannes Schöpfer
hi all,

i wrote a shellscript which generates a score and the corresponding parts for 
lilypond. the score-setup can be changed at anytime by editing the configfile.


it works with lilypond 2.8.x

i would be very happy if someone try it and send me some feedback.


greetings,

johnny

-- 
http://www.johannes-schoepfer.de

Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl


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


Re: Placing fret diagram at end music

2006-06-26 Thread Mats Bengtsson



Stephen Torri wrote:



In my files here I put your markup lines just to see what it did. What I
found was that I got the diagram but no name above it. I have looked at
the documentation but I am not sure how to give a name to the chord
diagram.

I see other examples that do have the chord names above the fret diagram
but those situations have the chord names listed in a chordname element.
So the chord name is displayed above the fret diagram in the appropriate
measure.
 


Then I would use an ordinary ChordNames context for the chord names which
means that you would need to place also the fret diagrams in a context that
can align them "rhythmically" to the chord names, preferably a Lyrics 
context.


\score{
<<
 \new ChordNames \chordmode {
   f1:maj7/e
   f1:maj7/e
 }
 \new Lyrics \lyricmode {
   \markup {\fret-diagram #"4-2-2;3-1-1;2-o;1-o;" }
   \markup {\fret-diagram #"4-2-2;3-1-1;2-o;1-o;" }
 }   
>>

}


Note that this separate \score{...} block can be placed below the 
\score{...} for your

ordinary music if you wish.

You may want to add
\score{
...
\layout{
 ragged-right = ##t
 \context{
   \Lyrics
   \override LyricSpace #'minimum-distance = #2.0
 }
}
}

to get a nicer horizontal spacing, see "Spacing Lyrics" in the manual.

  /Mats



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


Re: x-offset in <<\\>> environment?

2006-06-26 Thread Mats Bengtsson

Please always try to turn your example .ly code into a full
example that others can run and try directly. As long as you
keep the attachments small, you can also include a PNG or whatever
of the output in your email.

There's one detail about the << \\ >> construct that's only shown in the
examples but not explained in the text (as far as I can see), namely that
the first and the third voices will have stems pointing upwards and the
second and fourth will have stems pointing downwards. Also, in the
third and fourth voices, the notes will be moved to the side to avoid
collisions. Therefore, the easiest solution for your is to add an empty
second voice:
\version "2.8.0"
\new Staff  {
\time 3/4
<< {s4. fis8-. r r | d-. r r
   ais-. r r | fis-. r r d-. r r |
   ais-. r r fis-.
   r r } \\ {} \\ { \stemUp d2.( | d)( |  d)(  |  d) } >>
}

or to explicitly say \voiceThree for your second voice:
\new Staff  {
\time 3/4
<< {s4. fis8-. r r | d-. r r
   ais-. r r | fis-. r r d-. r r |
   ais-. r r fis-.
   r r } \\ { \voiceThree \stemUp d2.( | d)( |  d)(  |  d) } >>
}




Rick Hogg wrote:


Hello,
I have a measure where I'm using << \\ >>, but I need
the stems for both voices to go up.  Lily keeps giving
me this error:

pulcinella.notes.ly:255:93: warning: ignoring too many
clashing note columns
\change Staff = upper<< {s4. fis'''8-. r r | d-. r r
ais-. r r | fis-. r r d-. r r | 
 
 ais-. r r fis-.

r r } \\ { \stemUp d2.( | d)( | \once \override
NoteColumn #'X-offset = #1.3 { d)( } | \once \override
NoteColumn #'X-offset = #1.3 { d) } } >> |

I have that for three measures, and I get the error
for all three.  I try the x-offset, but it doesn't
work either.  Here's my code for one of the measures:

%%%

\change Staff = upper<< {s4. fis'''8-. r r | d-. r r
ais-. r r | fis-. r r d-. r r | ais-. r r fis-. r r }
\\ { \stemUp d2.( | d)( | \once \override NoteColumn
#'X-offset = #1.3 { d)( } | \once \override NoteColumn
#'X-offset = #1.3 { d) } } >> |

%%%

Any help would be much appreciated.  On a similar
note, is there anywhere we can post code, output, and
what it  _should_ look like so that others can see
what we're talking about and try to help?

Thanks,
Rick

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: x-offset in <<\\>> environment?

2006-06-26 Thread Mats Bengtsson

In addition to what I just wrote, the note shifts done by LilyPond in the
third and fourth voices of a << \\ \\ \\ >> construct are actually described
in the section on "Collision Resolution", which also provides more
information that may be relevant for you.

  /Mats

Rick Hogg wrote:


Hello,
I have a measure where I'm using << \\ >>, but I need
the stems for both voices to go up.  Lily keeps giving
me this error:

pulcinella.notes.ly:255:93: warning: ignoring too many
clashing note columns
\change Staff = upper<< {s4. fis'''8-. r r | d-. r r
ais-. r r | fis-. r r d-. r r | 
 
 ais-. r r fis-.

r r } \\ { \stemUp d2.( | d)( | \once \override
NoteColumn #'X-offset = #1.3 { d)( } | \once \override
NoteColumn #'X-offset = #1.3 { d) } } >> |

I have that for three measures, and I get the error
for all three.  I try the x-offset, but it doesn't
work either.  Here's my code for one of the measures:

%%%

\change Staff = upper<< {s4. fis'''8-. r r | d-. r r
ais-. r r | fis-. r r d-. r r | ais-. r r fis-. r r }
\\ { \stemUp d2.( | d)( | \once \override NoteColumn
#'X-offset = #1.3 { d)( } | \once \override NoteColumn
#'X-offset = #1.3 { d) } } >> |

%%%

Any help would be much appreciated.  On a similar
note, is there anywhere we can post code, output, and
what it  _should_ look like so that others can see
what we're talking about and try to help?

Thanks,
Rick

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Problem with Last Syllable of a Lyrics

2006-06-26 Thread Trent Johnston

- Original Message - 
From: "Alexander Brock" <[EMAIL PROTECTED]>
To: "Trent Johnston" <[EMAIL PROTECTED]>
Sent: Monday, June 26, 2006 4:59 PM
Subject: Re: Problem with Last Syllable of a Lyrics


| Hello,
|
| > It looks like both last syllables only have a single hyphen instead of
the
| > usual double hyphen --.
| >
| > Hö - he! should be  Hö -- he!
| >
| > Kö - nig!should be  Kö -- nig!
|
| I tried that but it leads to warnings:
|
| # -*-compilation-*-
| Processing `Hosanna, Hosanna, Hosanna in der Hoehe.ly'
| Parsing...
| Interpreting music... [8]
| Hosanna, Hosanna, Hosanna in der Hoehe.ly:47:49: warning: unterminated
| hyphen; removing
|  of -- fen -- bar. Ho -- san -- na in der Hö
|   -- he!
|
| Hosanna, Hosanna, Hosanna in der Hoehe.ly:54:33: warning: unterminated
| hyphen; removing
|  _ _ _ _ Eh -- re sei dem Kö
|   -- nig!
| [15]
| Preprocessing graphical objects...
| Calculating line breaks... [3][6][9][12]
| Calculating page breaks...
| Layout output to `Hosanna, Hosanna, Hosanna in der Hoehe.ps'...
| Converting to `Hosanna, Hosanna, Hosanna in der Hoehe.pdf'...
|
| Alexander
|

Hi Alexander,

This usually means there are not enough notes to fit all the lyrics so
lilypond is leaving out the last syllable.

Go back and check that each syllable is appearing under the correct note.
Since your using \addlyrics and using underscores _ to indicate melisma
check these carefully. Using the Lyrics context ( chapter 7.3.4 in the user
manual ) is a lot easier than manual counting the note skips.

Trent


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


Re: generate score and parts with lilyscore

2006-06-26 Thread Karl Hammar
> hi all,
> 
> i wrote a shellscript which generates a score and the corresponding parts for 
> lilypond. the score-setup can be changed at anytime by editing the configfile.
> 
> 
> it works with lilypond 2.8.x
> 
> i would be very happy if someone try it and send me some feedback.
> 
> 
> greetings,
> 
> johnny

It is too long and without documentation or example config file.
And I don't want to learn yet another file syntax/convention.

Are there any specific features you are missing in lilypond or do you 
want to save typing time?

Regards
/Karl




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


Re: Documentation - first impressions of the latest manual

2006-06-26 Thread Mats Bengtsson

Note that it actually is a feature of LilyPond to remove the hyphen
if the spacing is too tight. Of course the example of hyphens in the
tutorial should show the hyphens. On the other hand, Section
"7.3.3 Hyphens and Extenders" already explain that hyphens will
be removed when the spacing is tight and also points to the relevant
properties to play with if you don't want it to happen.

  /Mats

Eduardo Vieira wrote:

Anthony wrote: 
There's also the little matter of the examples are supposed to be 
"here's how to put a hyphen into lyrics text" and if I fix them, I'll be 
turning them into examples of "here's how to force a hyphen into lyrics 
when lily doesn't want to do it". 

- 

Hi! I guess the simpler solution would be to replace "twinkle, twinkle" with 
{ a -- le -- gri -- a }, which means happiness, in the section 2.13. Then 
later in Vocal Music section, users find out that hyphens are suppressed in 
some situations. For introduction, that working example is enough. 
Please, Graham, consider that change, if you will. 

Regards, 
Eduardo 



 




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



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


RE: AllAbout Examples

2006-06-26 Thread Fairchild
seba -

Just ran a test.  Submitting

\version "2.8.4"
{ c''^\markup { "abc" } }

to LSR worked;

\version "2.8.4"
{ c''^\markup { "abc" \char #65 } }

didn't.

- Bruce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Fairchild
Sent: Sunday, June 25, 2006 5:26 PM
To: 'Sebastiano Vigna'
Cc: 'lilypond-user Mailinglist'
Subject: RE: AllAbout Examples


I believe the "port" problem was caused by using \char in a \markup.

  - Bruce

-Original Message-
From: Sebastiano Vigna [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 25, 2006 5:21 PM
To: Fairchild
Cc: 'lilypond-user Mailinglist'
Subject: RE: AllAbout Examples


On Sun, 2006-06-25 at 17:05 -0500, Fairchild wrote:
> Back to LSR posting.
> 
> Since my AllAbout was not acceptable, tried a smaller thing thought to
> be version insensitive.  LSR didn't like the \version "2.4.6" line, so 
> deleted

The current version is 2.8.4, now it's also state in the "Contributing"
section.

> it.  LSR demanded \version "2.8.4" then complained cryptically about a
> port problem.  Submitted a trivial file; LSR flips out of Netscape; 
> seems to be

mmmhhh... I just moved to 2.8, and moving between LilyPond versions is
always an earthquake, so if you can be more precise I can try to understand
what's happening...

Ciao,

seba






___
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: Re: generate score and parts with lilyscore

2006-06-26 Thread Johannes Schöpfer
 
> > i wrote a shellscript which generates a score and the corresponding
> parts for lilypond. the score-setup can be changed at anytime by editing the
> configfile.


> It is too long and without documentation or example config file.
> And I don't want to learn yet another file syntax/convention.

"lilyscore -h" gives a little advice how to use it.

just type "lilyscore" (must be in you path, of course) and "config.txt" will be 
createt automatically. there is not much to learn, the config.txt is 
selfexplaining. edit it and type again "lilyscore" and there you have 
lilypondfiles for every instrument that was added in config.txt. 
for faster lilyond-rendering you can temporarely remove some instruments from a 
score by putting "#" at the beginning of the instrumentline in config.txt. 


> Are there any specific features you are missing in lilypond or do you 
> want to save typing time?

i dont miss a special feature. but i need to extract parts(with the right 
transposition) from scores. why do it by hand, if a script can do it. 


regards,
johnny

-- 
http://www.johannes-schoepfer.de

Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl


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


Re: AllAbout Examples

2006-06-26 Thread Mats Bengtsson

See http://lists.gnu.org/archive/html/lilypond-user/2005-09/msg00373.html
and
http://lists.gnu.org/archive/html/lilypond-user/2005-11/msg00277.html
for some information. In general, there should be no need to specify a
character by its number, just input it directly using an UTF-8 capable
text editor.

  /Mats

Fairchild wrote:


seba -

Just ran a test.  Submitting

\version "2.8.4"
{ c''^\markup { "abc" } }

to LSR worked;

\version "2.8.4"
{ c''^\markup { "abc" \char #65 } }

didn't.

   - Bruce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Fairchild
Sent: Sunday, June 25, 2006 5:26 PM
To: 'Sebastiano Vigna'
Cc: 'lilypond-user Mailinglist'
Subject: RE: AllAbout Examples


I believe the "port" problem was caused by using \char in a \markup.

 - Bruce

-Original Message-
From: Sebastiano Vigna [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 25, 2006 5:21 PM

To: Fairchild
Cc: 'lilypond-user Mailinglist'
Subject: RE: AllAbout Examples


On Sun, 2006-06-25 at 17:05 -0500, Fairchild wrote:
 


Back to LSR posting.

Since my AllAbout was not acceptable, tried a smaller thing thought to
be version insensitive.  LSR didn't like the \version "2.4.6" line, so 
deleted
   



The current version is 2.8.4, now it's also state in the "Contributing"
section.

 


it.  LSR demanded \version "2.8.4" then complained cryptically about a
port problem.  Submitted a trivial file; LSR flips out of Netscape; 
seems to be
   



mmmhhh... I just moved to 2.8, and moving between LilyPond versions is
always an earthquake, so if you can be more precise I can try to understand
what's happening...

Ciao,

seba






___
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
 



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


RE: AllAbout Examples

2006-06-26 Thread Fairchild
Mats -

Really want \char #92 for "\".  Maybe "\\" has been restored?

- Bruce

-Original Message-
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 6:21 AM
To: Fairchild
Cc: 'Sebastiano Vigna'; 'lilypond-user Mailinglist'
Subject: Re: AllAbout Examples


See http://lists.gnu.org/archive/html/lilypond-user/2005-09/msg00373.html
and http://lists.gnu.org/archive/html/lilypond-user/2005-11/msg00277.html
for some information. In general, there should be no need to specify a
character by its number, just input it directly using an UTF-8 capable text
editor.

   /Mats

Fairchild wrote:

>seba -
>
>Just ran a test.  Submitting
>
>\version "2.8.4"
>{ c''^\markup { "abc" } }
>
>to LSR worked;
>
>\version "2.8.4"
>{ c''^\markup { "abc" \char #65 } }
>
>didn't.
>
>- Bruce
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf 
>Of Fairchild
>Sent: Sunday, June 25, 2006 5:26 PM
>To: 'Sebastiano Vigna'
>Cc: 'lilypond-user Mailinglist'
>Subject: RE: AllAbout Examples
>
>
>I believe the "port" problem was caused by using \char in a \markup.
>
>  - Bruce
>
>-Original Message-
>From: Sebastiano Vigna [mailto:[EMAIL PROTECTED]
>Sent: Sunday, June 25, 2006 5:21 PM
>To: Fairchild
>Cc: 'lilypond-user Mailinglist'
>Subject: RE: AllAbout Examples
>
>
>On Sun, 2006-06-25 at 17:05 -0500, Fairchild wrote:
>  
>
>>Back to LSR posting.
>>
>>Since my AllAbout was not acceptable, tried a smaller thing thought to 
>>be version insensitive.  LSR didn't like the \version "2.4.6" line, so 
>>deleted
>>
>>
>
>The current version is 2.8.4, now it's also state in the "Contributing" 
>section.
>
>  
>
>>it.  LSR demanded \version "2.8.4" then complained cryptically about a 
>>port problem.  Submitted a trivial file; LSR flips out of Netscape; 
>>seems to be
>>
>>
>
>mmmhhh... I just moved to 2.8, and moving between LilyPond versions is 
>always an earthquake, so if you can be more precise I can try to 
>understand what's happening...
>
>Ciao,
>
>   seba
>
>
>
>
>
>
>___
>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
>  
>

-- 
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=






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


Re: AllAbout Examples

2006-06-26 Thread Mats Bengtsson

Why not try it yourself? Yes, just type \\ to get a single backslash.

  /Mats

Fairchild wrote:


Mats -

Really want \char #92 for "\".  Maybe "\\" has been restored?

   - Bruce

-Original Message-
From: Mats Bengtsson [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 6:21 AM

To: Fairchild
Cc: 'Sebastiano Vigna'; 'lilypond-user Mailinglist'
Subject: Re: AllAbout Examples


See http://lists.gnu.org/archive/html/lilypond-user/2005-09/msg00373.html
and http://lists.gnu.org/archive/html/lilypond-user/2005-11/msg00277.html
for some information. In general, there should be no need to specify a
character by its number, just input it directly using an UTF-8 capable text
editor.

  /Mats

Fairchild wrote:

 


seba -

Just ran a test.  Submitting

\version "2.8.4"
{ c''^\markup { "abc" } }

to LSR worked;

\version "2.8.4"
{ c''^\markup { "abc" \char #65 } }

didn't.

  - Bruce

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf 
Of Fairchild

Sent: Sunday, June 25, 2006 5:26 PM
To: 'Sebastiano Vigna'
Cc: 'lilypond-user Mailinglist'
Subject: RE: AllAbout Examples


I believe the "port" problem was caused by using \char in a \markup.

- Bruce

-Original Message-
From: Sebastiano Vigna [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 25, 2006 5:21 PM
To: Fairchild
Cc: 'lilypond-user Mailinglist'
Subject: RE: AllAbout Examples


On Sun, 2006-06-25 at 17:05 -0500, Fairchild wrote:


   


Back to LSR posting.

Since my AllAbout was not acceptable, tried a smaller thing thought to 
be version insensitive.  LSR didn't like the \version "2.4.6" line, so 
deleted
  

 

The current version is 2.8.4, now it's also state in the "Contributing" 
section.




   

it.  LSR demanded \version "2.8.4" then complained cryptically about a 
port problem.  Submitted a trivial file; LSR flips out of Netscape; 
seems to be
  

 

mmmhhh... I just moved to 2.8, and moving between LilyPond versions is 
always an earthquake, so if you can be more precise I can try to 
understand what's happening...


Ciao,

seba






___
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



   



 



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


Re: Ossia fragments in 2.8.2

2006-06-26 Thread Shamus
I thought I had reduced it (this is NOT my full score--notice no chord
names or chord rhythms). Is this better? Seriously, there isn't much
more I can cut from this.

>> Following the instructions in the manual for getting ossia fragments
>> yielded the results you see in the image. The relevant bits are below.
>> My question is: Is there a way to make these ossia fragments stop where
>> they're supposed to stop, i.e., well before the repeat sign?

>> StaffRiffs = \relative c'
>> {
>>  \set Voice.autoBeaming = ##f
>>  \key d \major
>>  \override Staff.TimeSignature #'style = #'()
>>  \time 3/4
>>
>>  % Intro
>>
>>  d'4 d e8 [ d ] |   % 1
>>  b4 a2 |   % 2
>>  d4 d e8 [ fs ] |   % 3
>>  d2. |   % 4
>>  \stopStaff
>>
>>  s2.*15 |   % 5 - 19
>>
>>  \startStaff
>>  d4 d e8 [ d ] |   % 20
>> }
>>
>> \score
>> {
>>  <<
>>\new Staff \with
>>{
>>  \remove "Time_signature_engraver"
>>  \remove "Clef_engraver"
>> %Hmm, removing this screws up the accidental formatting...
>> % \remove "Key_engraver"
>>  fontSize = #-3.0
>>  \override StaffSymbol #'staff-space = #(magstep -3.0)
>>}
>>\StaffRiffs
>>
>>\new ChoirStaff = "Rhythm"
>><<
>>  \new ChordNames = "chords" \Chords
>>  \new RhythmicStaff = "chordRhythm" \StaffC
>>>>
>>
>>\set Score.skipBars = ##t
>>\set Score.melismaBusyProperties = #'()
>>  >>
>>
>>  \layout
>>  {
>>\context { \RemoveEmptyStaffContext }
>>ragged-last = ##t
>>  }
>> }



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


Re: Ossia fragments in 2.8.2

2006-06-26 Thread Mats Bengtsson

My point was that it should be a complete example that people
can run directly through LilyPond. In your \score block, you refer
to a number of identifiers that are not included. It should be possible
to write an example which is as small as
\version "2.8.0"
\score{
\relative c' <<
 \new Staff{ R1 | \repeat volta 2 { c4 d e f } | g f e d | }
 \new Staff{ c d e f | \stopStaff s1 \startStaff | g4 f e d | }
>>
}
to illustrate the same problem. If it doesn't show the same phenomenon,
try adding some more aspects from your full score (or go the other way
and cut down your original example to an absolute minimum.

If we return to my example above, the repeat signs are included in the
ossia part. If you don't want that to happen, you can make sure that the
\stopStaff happens not exactly at the bar line but somewhat earlier, such
as:
\score{
\relative c' <<
 \new Staff{ R1 | \repeat volta 2 { c4 d e f } | g f e d | }
 \new Staff{ c d e f4*1/2 \stopStaff s8 s1 \startStaff | g4 f e d | }
>>
}

I'm not sure if this solves your problem. Also, I don't know if there's
any better method to specify exactly what should be printed when the
stave stops or starts again.

  /Mats

Shamus wrote:


I thought I had reduced it (this is NOT my full score--notice no chord
names or chord rhythms). Is this better? Seriously, there isn't much
more I can cut from this.

 


Following the instructions in the manual for getting ossia fragments
yielded the results you see in the image. The relevant bits are below.
My question is: Is there a way to make these ossia fragments stop where
they're supposed to stop, i.e., well before the repeat sign?
 



 


StaffRiffs = \relative c'
{
\set Voice.autoBeaming = ##f
\key d \major
\override Staff.TimeSignature #'style = #'()
\time 3/4

% Intro

d'4 d e8 [ d ] |   % 1
b4 a2 |   % 2
d4 d e8 [ fs ] |   % 3
d2. |   % 4
\stopStaff

s2.*15 |   % 5 - 19

\startStaff
d4 d e8 [ d ] |   % 20
}

\score
{
<<
  \new Staff \with
  {
\remove "Time_signature_engraver"
\remove "Clef_engraver"
%Hmm, removing this screws up the accidental formatting...
% \remove "Key_engraver"
fontSize = #-3.0
\override StaffSymbol #'staff-space = #(magstep -3.0)
  }
  \StaffRiffs

  \new ChoirStaff = "Rhythm"
  <<
\new ChordNames = "chords" \Chords
\new RhythmicStaff = "chordRhythm" \StaffC
  >>

  \set Score.skipBars = ##t
  \set Score.melismaBusyProperties = #'()
>>

\layout
{
  \context { \RemoveEmptyStaffContext }
  ragged-last = ##t
}
}
 





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



--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=



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


MIDI file problem?

2006-06-26 Thread Joshua Parmenter

Hi everyone,

I seem to be having a little problem with MIDI files in LilyPond 2.9.  
The pasted code at the bottom seems to be rendering with a tempo of  
quarter equals 120 no matter what I do... Does anyone else have this  
problem? Is there anything I am missing?


Thanks,

Josh

% LilyPond score file

\version "2.9"

violinA = {
  \set Staff.instrument = "Violin"
  \override Staff.TimeSignature #'style = #'()
  \autoBeamOff
  #(set-accidental-style 'default)
  \clef treble

  << {\time 4/4 \oneVoice c'16[ c'16 cis'16 cis'16] cis'16[ d'16  
d'16 d'16] d'16[ dis'16 dis'16 dis'16] e'16[ e'16 e'16 f'16] | %1
  f'16[ f'16 f'16 fis'16] fis'16[ fis'16 g'16 g'16] g'16[ gis'16  
gis'16 gis'16] gis'16[ a'16 a'16 a'16] | %2
  ais'16[ ais'16 ais'16 b'16] b'16[ b'16 b'16 c''16] r2 \bar  
"|." | %3

 }
  >>
}

\score {
  <<
\new Staff \violinA
  >>
\midi {
\tempo 4 = 30
%   \tempo 4 = 120
}
}

**
Joshua Parmenter
[EMAIL PROTECTED]
Post-Doctoral Research Associate - Center for Digital Arts and  
Experimental Media

Raitt Hall - University of Washington
Seattle, Washington 98195

http://www.dxarts.washington.edu
http://www.realizedsound.net/josh/




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


Re: Ossia fragments in 2.8.2

2006-06-26 Thread Shamus
> My point was that it should be a complete example that people
> can run directly through LilyPond. In your \score block, you refer
> to a number of identifiers that are not included.

Ah, ok. Gotcha. I didn't understand what you were getting at.

> It should be possible
> to write an example which is as small as [...example snipped...]
> to illustrate the same problem.

Which it does.

> I'm not sure if this solves your problem. Also, I don't know if there's
> any better method to specify exactly what should be printed when the
> stave stops or starts again.

Well, it does and and it doesn't. I could certainly do it that way and
ink in the bar line by hand in a pinch before making copies, but seems
to me that this is something that program should be doing for me
automatically (I know lily isn't perfect, and I'm not afraid of coding
workarounds as needs manifest themselves). I notice in the example that
it has no problems with regular bar lines, but voltas seem to mess
things up. Here's an example without voltas (which shows proper behavior):

\score{
\relative c' <<
 \new Staff{ R1 | c4 d e f | c4 d e f | g f e d | }
 \new Staff{ c d e f \stopStaff s1 \startStaff | g4 f e d | }
>>
}

In a perfect world, when \stopStaff occurs at the beginning of a volta
it would print up to the barline (ideally with a single bar line) and
nothing beyond (i.e., the volta technically hasn't started, why should
it show up in my ossia fragment? If the page breaks on the volta, you
end up with a repeat symbol sitting on empty staff lines wasting
precious space). Simalarly, when \startStaff occurs at the end of a
volta it should start with a single bar line and not print anything
before. I don't know that something like that is even possible without
making changes to the backend, but perhaps one of the developers could
weigh in on this issue?

-- Shamus


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


Re: How to do, on the same page, parts 'Tutti' size 12 and parts 'Solo' size 20

2006-06-26 Thread Martial

Bonjour

See this sample
http://lilypond.org/doc/v2.8/input/test/lily-1737238388.ly

Je voudrais, par exemple, que les parties ' Tutti ' soient à la taille 
12 et des parties ' Solo ' à la taille 20.


Par exemple en faisant 2 parties distinctes.
Une Tutti et une Solo.
On change la taille des polices et l'espace entre les polices
(avec  \with { } apres \new Staff )
fontSize et staff-space doivent avoir la même grandeur !

\new Staff
\with
{
fontSize = #Size
\override StaffSymbol #'staff-space = #(magstep -Size)
}
{
ma_musique
}


Use two scores,  one tutti and one Solo,
and put in the

\new Staff
\with { fontSize = #Size \override StaffSymbol #'staff-space = #(magstep 
Size)  }  { \MY-MUSIC }


staff-space and fontSize must be both scaled .


--
Martial





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