Re: There is no "mfp" dynamic marking?!

2011-04-06 Thread -Eluze


seba1685 wrote:
> 
> I need to write "mfp", "pf" and "ffp" in a score, but Lilypond wont allow
> it!
> here is my code:
> 
> { bes'1\mfp }
> 
> is there anyway I can get around this? maybe by making "custom" dynamics?
> thank you for your time,
> 

yes, you can define it, see "New dynamic marks" in 
http://lilypond.org/doc/v2.13/Documentation/notation/expressive-marks-attached-to-notes#new-dynamic-marks
http://lilypond.org/doc/v2.13/Documentation/notation/expressive-marks-attached-to-notes#new-dynamic-marks
!
-- 
View this message in context: 
http://old.nabble.com/There-is-no-%22mfp%22-dynamic-marking-%21-tp31326333p31330660.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: programming error: Going back in MIDI time

2011-04-06 Thread James Lowe
hello,
.

On 6 Apr 2011, at 06:56, "Keith OHara"  wrote:

> Peter O'Doherty  gmail.com> writes:
> 
>> I know this has been asked before but I haven't been able to resolve it 
>> satisfactorily. Can anyone suggest a solution to this error?
> 
> Make the grace notes take less time with a *1/2 or something similar.  The 
> midi 
> output gives grace notes 1/4 the duration of their note type (I think). So 
> sometimes we have to fiddle with the duration so they all fit in the time 
> after 
> the preceding normal note.
> 
>> a'8[ a' a' a'] \acciaccatura {   c'8*1/2[   d' e' f' g'] } a'8[ a'8 a'8 a'8 
>> ] 
> 

Is this a bug or should we putting this as an @knownissue?

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


Re: programming error: Going back in MIDI time

2011-04-06 Thread Trevor Daniels


James Lowe wrote Wednesday, April 06, 2011 8:19 AM

On 6 Apr 2011, at 06:56, "Keith OHara"  
wrote:


Make the grace notes take less time with a *1/2 or something 
similar.  The midi
output gives grace notes 1/4 the duration of their note type (I 
think). So
sometimes we have to fiddle with the duration so they all fit in 
the time after

the preceding normal note.


Is this a bug or should we putting this as an @knownissue?


It is unlikely to be fixed, so I think it should be
a @knownissue, with a brief explanation and workaround.

Trevor



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


Re: programming error: Going back in MIDI time

2011-04-06 Thread Peter O'Doherty

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

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

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

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


Octava 8 in brackets?

2011-04-06 Thread Thomas Scharkowski

Hi,

how can I put the "8" of e.g the "G_8" clef in brackets?

Thank you,

Thomas

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


Re: Octava 8 in brackets?

2011-04-06 Thread Marc Hohl

Am 06.04.2011 10:04, schrieb Thomas Scharkowski:

Hi,

how can I put the "8" of e.g the "G_8" clef in brackets?

I use the following definition

parenthesizeOctavateEight = \override Staff.OctavateEight #'stencil =
  #(lambda (grob)
 (grob-interpret-markup grob
   (markup #:concat ("(" #:general-align Y DOWN #:stencil
(ly:text-interface::print grob) ")"

and then

music = {
   \parenthesizeOctavateEight
   \clef "G_8"
   c4 d e f
}

HTH,

Marc


Thank you,

Thomas

___
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


ottavation

2011-04-06 Thread Peter O'Doherty

Hi,

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


\layout {
 \context {
   \Score

%\set Staff.ottavation = #"8"

 }
   }

Many thanks,
Peter

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


Tuplet bracket visibility

2011-04-06 Thread Peter O'Doherty

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

Thanks again,
Peter


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

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


RE: ottavation

2011-04-06 Thread James Lowe
Hello,

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

Can't you just use

\clef "treble_8" in your score

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

Instead of using a \layout { } construct?

james


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


FW: ottavation

2011-04-06 Thread James Lowe
2011/4/6 James Lowe 
>
> Hello,
>
> )-Original Message-
> )From: lilypond-user-bounces+james.lowe=datacore@gnu.org
> )[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On 
> )Behalf Of Peter O'Doherty
> )Sent: 06 April 2011 09:51
> )To: lilypond-user
> )Subject: ottavation
> )
> )Hi,
> )
> )How can I adjust \set Staff.ottavation = #"8" to include it in the 
> layout )section so it applies to the whole score?
>
> Can't you just use
>
> \clef "treble_8" in your score
>
> http://lilypond.org/doc/v2.13/Documentation/notation/displaying-pitche
> s#clef
>
> Instead of using a \layout { } construct?

I advice to do this, too. \clef "treble_8" is explicit about pitches and 
doesn't introduce any potential confusion.

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


Re: There is no "mfp" dynamic marking?!

2011-04-06 Thread Ralph Palmer
On Wed, Apr 6, 2011 at 2:41 AM, -Eluze  wrote:

>
>
> seba1685 wrote:
> >
> > I need to write "mfp", "pf" and "ffp" in a score, but Lilypond wont allow
> > it!
> > here is my code:
> >
> > { bes'1\mfp }
> >
> > is there anyway I can get around this? maybe by making "custom" dynamics?
> > thank you for your time,
> >
>
> yes, you can define it, see "New dynamic marks" in
>
> http://lilypond.org/doc/v2.13/Documentation/notation/expressive-marks-attached-to-notes#new-dynamic-marks
>
> http://lilypond.org/doc/v2.13/Documentation/notation/expressive-marks-attached-to-notes#new-dynamic-marks
> !
>

Or, if you're using 2.12, try :
{ bes'1_\markup \dynamic { mfp } }

Ralp

-- 
Ralph Palmer
Montague City, MA
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


FW: ottavation

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

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

On Wed, Apr 6, 2011 at 12:27 PM, James Lowe  wrote:
Hello,

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

\clef "treble_8" in your score

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

Instead of using a \layout { } construct?

james


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


Re: ottavation

2011-04-06 Thread m...@apollinemike.com
On Apr 6, 2011, at 7:22 AM, James Lowe wrote:

> From: Peter O'Doherty [mailto:k.p.odohe...@gmail.com] 
> Sent: 06 April 2011 12:21
> To: James Lowe
> Subject: Re: ottavation
> 
> Thanks for your reply, James. My question wasn't very clear - there are 
> numerous instances of ottava passages in the score, but not the whole score 
> so \clef "treble_8" is not suitable. It's not the ottava instruction as such 
> I want to use in the \layout { } but the format, i.e. just an "8" instead of 
> "8va".
> Regards,
> Peter
> 
> On Wed, Apr 6, 2011 at 12:27 PM, James Lowe  wrote:
> Hello,
> 
> )-Original Message-
> )From: lilypond-user-bounces+james.lowe=datacore@gnu.org
> )[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On
> )Behalf Of Peter O'Doherty
> )Sent: 06 April 2011 09:51
> )To: lilypond-user
> )Subject: ottavation
> )
> )Hi,
> )
> )How can I adjust \set Staff.ottavation = #"8" to include it in the layout
> )section so it applies to the whole score?
> Can't you just use
> 
> \clef "treble_8" in your score
> 
> http://lilypond.org/doc/v2.13/Documentation/notation/displaying-pitches#clef
> 
> Instead of using a \layout { } construct?
> 
> james

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

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


Drums : align triplets to eights in other voice

2011-04-06 Thread Wim Van Dijck

Hi all,

Version : 2.12.3 on OSX via MacPorts

Given

\version "2.12.3"

swing = \drummode { cymr4 cymr8 cymr8 cymr4 cymr8 cymr8 }
down = \drummode { \times 2/3 { bd8 sn sn } \times 2/3 { << bd hhp >> sn 
sn } \times 2/3 { bd sn sn } \times 2/3 { << bd hhp >> sn sn } }


\score {
\new DrumStaff {
<<
\new DrumVoice { \voiceOne << \swing \down >> }



}
}

This is an exercise for a jazz swing rhythm. I'd like the third note of 
the tuplets in "down" to lign up with the second 8th notes of the 
'swing'. Is this feasible? I joined the two voices, because I want the 
stems to be aligned as well.


I've been perusing the archives and have not come across a previous 
request like this.


Kindest regards,
Wim

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


Re: ottavation

2011-04-06 Thread Peter O'Doherty

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

Thanks,
Peter

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

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




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

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


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

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

On Wed, Apr 6, 2011 at 12:27 PM, James Lowe  wrote:
Hello,

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

\clef "treble_8" in your score

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

Instead of using a \layout { } construct?

james

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

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



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


Re: Drums : align triplets to eights in other voice

2011-04-06 Thread Janek Warchoł
Hi,

2011/4/6 Wim Van Dijck :
> \version "2.12.3"
>
> swing = \drummode { cymr4 cymr8 cymr8 cymr4 cymr8 cymr8 }
> down = \drummode { \times 2/3 { bd8 sn sn } \times 2/3 { << bd hhp >> sn sn
> } \times 2/3 { bd sn sn } \times 2/3 { << bd hhp >> sn sn } }
>
> \score {
>    \new DrumStaff {
> <<
>        \new DrumVoice { \voiceOne << \swing \down >> }
>>>
>    }
> }
>
> This is an exercise for a jazz swing rhythm. I'd like the third note of the
> tuplets in "down" to lign up with the second 8th notes of the 'swing'. Is
> this feasible? I joined the two voices, because I want the stems to be
> aligned as well.
>
> I've been perusing the archives and have not come across a previous request
> like this.

I'm not sure what do you want to achieve musically, but perhaps
scaling durations is what you need?
For example cymr8*2/3 = a note that looks like 8th, but its actual
duration is like an 8th triplet.
Try this:

swing = \drummode { cymr4 cymr8*4/3 cymr8*2/3 cymr4 cymr8*4/3 cymr8*2/3 }
down = \drummode { \times 2/3 { bd8 sn sn } \times 2/3 { << bd hhp >>
sn sn } \times 2/3 { bd sn sn } \times 2/3 { << bd hhp >> sn sn } }

\score {
   \new DrumStaff {
<<
   \new DrumVoice { \voiceOne << \swing \down >> }
>>
   }
}

HTH,
Janek

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


Arpeggio collision bug

2011-04-06 Thread 胡海鹏 - Hu Haipeng
Hello,
  I'm coming to the final adjustment of my overture while a bug troubles me so 
much. In the below harp excerpt, the arpeggio sign collides with the a'4 
natural of the treble.

Regards
Haipeng

 



\version "2.13.57"

  \paper {
ragged-right = ##t
  }

  upper = \relative c'' {
\clef treble \key ees \major \time 4/4
\showStaffSwitch
s2 4\arpeggio r |
  }

  lower = \relative c, {
\clef bass \key ees \major \time 4/4
\times 2/3 { fis8( e' a } \change Staff = "r"  \times 2/3 { c e a) } \change Staff = "l" 4\arpeggio r |
  }

  dyn = { s1\mf }

  \score {
\new PianoStaff <<
  \set PianoStaff.connectArpeggios = ##t
  \new Staff = "r" { \upper }
  \new Dynamics { \dyn }
  \new Staff = "l" { \lower }
>>
\layout {}
  }

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


Re: release candidate planning

2011-04-06 Thread Bernardo Barros
Hi Graham,

Nice to know! The git version has a LOT of really great new features.

But with the git version I still have serious issues with vertical spacing
that force me to downgrade to 2.12. Even if I try to tweak the vertical
spacing I can't. Is there new ways to control this with 2.14? If I can
workaround this problem I could test 2.13 more consistently.

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


Re: release candidate planning

2011-04-06 Thread Xavier Scheuer
On 5 April 2011 22:29, Graham Percival  wrote:
>
> Jan has just fixed the 1 reported Critical bug in release
> candidate 5 (a bug wherein the midi output ignored rests).  Unless
> I hear otherwise, I'll go ahead with release candidate 6 in 24
> hours.
>
> Are there any other known Critical problems?  I'd really like RC 6
> or 7 to be the last one.
>
> Users: this is really aimed at you.  Download 2.13.57, test it out
> on your scores, etc.  If you're going to find a problem, it would
> be really nice if you could find it in the next few days.

I relayed a similar call on LilyPond French Users after the RC 3.
Got few feedbacks.  I just reported one bug.  Waiting for some
complementary informations about a possible issue between
score-system-space  and  system-system-space (an example of code showing
the issue basically).


On 6 April 2011 02:51, Graham Percival  wrote:
>
> Basically, we're not going to hold back 2.14 just because apple
> broke stuff in 10.6.7, just like we didn't hold back 2.12 (or was
> it 2.10?) because apple broke stuff in 10.5.  Similarly, if ubuntu
> 11.04 is broken when lilypond works on ubuntu 10.04, that won't
> delay a stable release.  Similarly, if windows 7 sp2 is broken,
> that won't delay a stable release.

I agree.
Since this issue was first reported on the French Users mailing list, it
appears that the problem comes from Apple and affects other softwares
(using some kind of fonts).  So this is not something LilyPond devs
should fix, Apple devs should.

Cheers,
Xavier

-- 
Xavier Scheuer 

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


Re: release candidate planning

2011-04-06 Thread Phil Holmes
What problems do you have?  Could you supply tiny examples?


Phil Holmes


  - Original Message - 
  From: Bernardo Barros 
  To: Graham Percival 
  Cc: lilypond-user lilypond-user 
  Sent: Wednesday, April 06, 2011 3:20 PM
  Subject: Re: release candidate planning


  Hi Graham,


  Nice to know! The git version has a LOT of really great new features.


  But with the git version I still have serious issues with vertical spacing 
that force me to downgrade to 2.12. Even if I try to tweak the vertical spacing 
I can't. Is there new ways to control this with 2.14? If I can workaround this 
problem I could test 2.13 more consistently.


  Best!
  Bernardo


--


  ___
  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: release candidate planning

2011-04-06 Thread Bernardo Barros
2011/4/6 Phil Holmes 

>  What problems do you have?  Could you supply tiny examples?
>
>

I'm copying a piece for ensemble, I would like to use some features like the
woodwind fingerings and the svg backend, but I can't the staffs fit
correctly on paper. There are too many instruments to have two systems in
the same page, and too few to fill the page. I get a ungly black space on
bottom of the page. I also like to have more extra space between staffs,
since I do more modern music, I usually need more pace for extra stuff.

With the 2.12 version I can do this:

  \context { \Staff
\override VerticalAxisGroup #'minimum-Y-extent = #'(-8 . 8)
  }

and I can fit the music on a a3 paper, with a good size and not with much
whitespace on the bottom. But the same code do nothing with the git version.
Maybe there is another way to configure vertical layout with the devel
version?
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: release candidate planning

2011-04-06 Thread Bernardo Barros
2011/4/6 Phil Holmes 

>  The spacing specification has changed completely.  Please have a look at:
>
>

Ok, I will try 2.13 again. Thanks!
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: release candidate planning

2011-04-06 Thread Janek Warchoł
2011/4/6 Bernardo Barros :
>
> 2011/4/6 Phil Holmes 
>>
>> What problems do you have?  Could you supply tiny examples?
>
>
> I'm copying a piece for ensemble, I would like to use some features like the
> woodwind fingerings and the svg backend, but I can't the staffs fit
> correctly on paper. There are too many instruments to have two systems in
> the same page, and too few to fill the page. I get a ungly black space on
> bottom of the page.

What about using ragged-bottom = ##f?

> I also like to have more extra space between staffs,
> since I do more modern music, I usually need more pace for extra stuff.
> With the 2.12 version I can do this:
>   \context { \Staff
>     \override VerticalAxisGroup #'minimum-Y-extent = #'(-8 . 8)
>   }
> and I can fit the music on a a3 paper, with a good size and not with much
> whitespace on the bottom. But the same code do nothing with the git version.
> Maybe there is another way to configure vertical layout with the devel
> version?

Have you read about new vertical spacing mechanism? The syntax has
changed substantially.
see 
http://lilypond.org/doc/v2.13/Documentation/notation/flexible-vertical-spacing-within-systems

HTH,
Janek

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


Re: release candidate planning

2011-04-06 Thread Phil Holmes
The spacing specification has changed completely.  Please have a look at:

http://lilypond.org/doc/v2.13/Documentation/notation/vertical-spacing


Phil Holmes


  - Original Message - 
  From: Bernardo Barros 
  To: Phil Holmes 
  Cc: Graham Percival ; lilypond-user lilypond-user 
  Sent: Wednesday, April 06, 2011 3:51 PM
  Subject: Re: release candidate planning





  2011/4/6 Phil Holmes 

What problems do you have?  Could you supply tiny examples?






  I'm copying a piece for ensemble, I would like to use some features like the 
woodwind fingerings and the svg backend, but I can't the staffs fit correctly 
on paper. There are too many instruments to have two systems in the same page, 
and too few to fill the page. I get a ungly black space on bottom of the page. 
I also like to have more extra space between staffs, since I do more modern 
music, I usually need more pace for extra stuff.


  With the 2.12 version I can do this:


\context { \Staff
  \override VerticalAxisGroup #'minimum-Y-extent = #'(-8 . 8)
}


  and I can fit the music on a a3 paper, with a good size and not with much 
whitespace on the bottom. But the same code do nothing with the git version. 
Maybe there is another way to configure vertical layout with the devel version?



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


Re: release candidate planning

2011-04-06 Thread Bernardo Barros
2011/4/6 Janek Warchoł 
>
> Have you read about new vertical spacing mechanism? The syntax has
> changed substantially.
> see
> http://lilypond.org/doc/v2.13/Documentation/notation/flexible-vertical-spacing-within-systems
>
>
Thanks, I will read this throughout  :-)
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ottavation

2011-04-06 Thread m...@apollinemike.com
On Apr 6, 2011, at 9:26 AM, Peter O'Doherty wrote:

> Thanks. 
> The code you sent applies \ottava #1 to the whole score, whereas I also have 
> instances of 8vb and 15va etc. All I need is a way to change the property to 
> print only 8 or 15 without va, vb etc. to save me typing \set 
> Staff.ottavation = #"8" each time.
> Thanks,
> Peter
> 
> \score { \new Staff {
>  {
> {
>   \ottava #1
>   %\set Staff.ottavation = #"8"
>   c''1
>   \ottava #-1
>   %\set Staff.ottavation = #"8"
>   c,1
> }
> 
> }}
> \layout { 
>   \context {  
> % \Score ottavation=#"8" % this does not work
> } }}
> 
> 
> 
> 
> On 04/06/2011 01:51 PM, m...@apollinemike.com wrote:
>> 
>> On Apr 6, 2011, at 7:22 AM, James Lowe wrote:
>> 
>>> From: Peter O'Doherty [mailto:k.p.odohe...@gmail.com] 
>>> Sent: 06 April 2011 12:21
>>> To: James Lowe
>>> Subject: Re: ottavation
>>> 
>>> Thanks for your reply, James. My question wasn't very clear - there are 
>>> numerous instances of ottava passages in the score, but not the whole score 
>>> so \clef "treble_8" is not suitable. It's not the ottava instruction as 
>>> such I want to use in the \layout { } but the format, i.e. just an "8" 
>>> instead of "8va".
>>> Regards,
>>> Peter
>>> 
>>> On Wed, Apr 6, 2011 at 12:27 PM, James Lowe  wrote:
>>> Hello,
>>> 
>>> )-Original Message-
>>> )From: lilypond-user-bounces+james.lowe=datacore@gnu.org
>>> )[mailto:lilypond-user-bounces+james.lowe=datacore@gnu.org] On
>>> )Behalf Of Peter O'Doherty
>>> )Sent: 06 April 2011 09:51
>>> )To: lilypond-user
>>> )Subject: ottavation
>>> )
>>> )Hi,
>>> )
>>> )How can I adjust \set Staff.ottavation = #"8" to include it in the layout
>>> )section so it applies to the whole score?
>>> Can't you just use
>>> 
>>> \clef "treble_8" in your score
>>> 
>>> http://lilypond.org/doc/v2.13/Documentation/notation/displaying-pitches#clef
>>> 
>>> Instead of using a \layout { } construct?
>>> 
>>> james
>> \score { \new Staff {
>> \relative c'' {
>> a b c d
>> }}
>> \layout { \context { \Score ottavation=#"8" } }}
>> 
>> Cheers,
>> MS
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>> 

Kinda kludgy, but it works!  Automating this type of truncating can likely 
become part of LilyPond for 2.15/2.16.  In the meantime, this should do the 
trick.

#(define (make-ottava-set-short music)
  (let ((octavation (ly:music-property music 'ottava-number)))

(list (context-spec-music
   (make-apply-context
(lambda (context)
  (let ((offset (* -7 octavation))
(string (assoc-get octavation '((2 . "15")
(1 . "8")
(0 . #f)
(-1 . "8")
(-2 . "15")
(set! (ly:context-property context 'middleCOffset) offset)
(set! (ly:context-property context 'ottavation) string)
(ly:set-middle-C! context
   'Staff


shortOttava = #(define-music-function (parser location octave) (integer?)
(make-music 'OttavaMusic 'ottava-number octave 'elements-callback 
make-ottava-set-short))

\score { \new Staff {
\relative c'' {
\shortOttava #1 a b c d \shortOttava #0 a b c d
}}}___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Drums : align triplets to eights in other voice

2011-04-06 Thread Wim Van Dijck
Interesting! Very nice thank you!

I'm trying to write down a swing (it's written as eighths, but played as 
triplets without the middle third) on the ride, 
while playing triplets on the bass and the snare, as an exercise. 
So while playing, the last triplet of the snare should be played together with 
the second eighth on the ride. 
(Hope that made sense)

This will do nicely! :)
Next, I'd like to get the stem lengths to be the same, but I think I can figure 
that out by myself ;)

I'm new to Lilypond, in case you hadn't noticed ;) But loving it already

Kind regards,
Wim

On 06 Apr 2011, at 15:38, Janek Warchoł wrote:

> swing = \drummode { cymr4 cymr8*4/3 cymr8*2/3 cymr4 cymr8*4/3 cymr8*2/3 }
> down = \drummode { \times 2/3 { bd8 sn sn } \times 2/3 { << bd hhp >>
> sn sn } \times 2/3 { bd sn sn } \times 2/3 { << bd hhp >> sn sn } }
> 
> \score {
>   \new DrumStaff {
> <<
>   \new DrumVoice { \voiceOne << \swing \down >> }
>>> 
>   }
> }


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


Re: ottavation

2011-04-06 Thread Nick Payne

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

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

Thanks,
Peter

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

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


Why not just define something like

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

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

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