intervallic inversion

2010-09-30 Thread Stefan Thomas
Dear community,
has someone created a function, that could make autumaticalli an exact
intervallig inversion, like in the following example?
\version "2.12.2"
original = { g4 gis a bes g1 }
inversion = { g4 ges f e g1 }
\new Staff { \clef bass \original \inversion }
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Beaming to rests over system breaks

2010-09-30 Thread Keith E OHara

Mike,
  My plan A was to specify the beam positions.  However, the beam insists on 
staying horizontal regardless of the position override (probably for the same 
reason that it didn't work to simply giving the rest a pitch).

  Plan B would be to use hidden notes.  If we put them a bit earlier in time 
than the rest, there are no warnings, and the pitch of the hidden note can 
slope the beam appropriately.  Plan B opens up some horizontal space, but that 
might be a good thing around unusual notation.

I also made the first rest a r16*2/3 to squarely fill the first measure.
--
Keith


{ \override Staff.Stem #'stemlet-length = #0.60
  \override Beam #'breakable = ##t
  \relative c' {
r16*2/3 \repeat unfold 40
\times 2/3 {
%% plan A
% \once\override Beam #'positions = #'(2 . 2)
%  f8[ g16\rest]
%% plan B
  f8[ \hideNotes a16*1/2 \unHideNotes a\rest]
%%
}
  }
}


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


feedback on 2.13.35

2010-09-30 Thread 胡海鹏 - Hu Haipeng
Hello,
  Thanks for releasing 2.13.35, the spacing problem in 2.13.34 has been solved, 
and I'm 99% satisfied with it, except that the overture still compiles out 4 
pages more than 2.13.24. However, I'll jump to this version before 2.14's out.
Regards
Haipeng


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


notes sharing stems

2010-09-30 Thread James Wilkinson

\version 2.13.34

I've got three percussion voices sharing a staff. When I made the 
bottom two voices be \voiceTwo and \voiceFour, I got downward stems, 
but each note had its own stem. Then I tried making them both be 
\voiceTwo. That gave me the printed output that I wanted: when notes 
coincide, they share a stem. However, I got lots of "ignoring too 
many colliding note columns" warnings.


Warnings make me nervous. I'm considering putting both those parts in 
a single voice and writing chords when notes coincide.


Anybody have a better suggestion?

thanks

--
-
Jimmy Wilkinson| Professor Emeritus of Computer Science
ji...@cs.cofc.edu| The College of Charleston
(843) 953-8160 | Charleston  SC29424
http://www.cs.cofc.edu/~jimmy

If there is one word to describe me, that word would have to be 
"profectionist".

Any form of incompitence is an athema to me.
Metathesis??? Don't ax me.
Just between you and I, the grammar used by Americans are getting worse.
I can only help but wonder what the cause of this might be.
It just ceases to amaze me how it could be the case, but mostly I 
could care less.


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


Re: bar lines followed by barlines on a new line

2010-09-30 Thread Trevor Daniels


Sam Domonkos wrote Wednesday, September 29, 2010 6:17 PM


 I am definitely closer thanks to your visibility reference.  The 
remaining problem seems to come when a \bar "|." is followed by a 
\bar "|." even if they are separated by a \break. To confirm this 
I tried


\bar ".|" \bar "|." \bar ".|" \bar "|."

...and only the last is printed.


Yes, these are all at the same musical moment, so the later ones all
supersede the earlier ones.

Would using separate \score blocks around each section work for you?

Trevor





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


Re: bar lines followed by barlines on a new line

2010-09-30 Thread Sam Domonkos
 Well I am not sure I am any closer with this solution because the 
wrong type of bar is being printed?


\version "2.13.34"
#(define (always-single-printEnd grob) (set! (ly:grob-property grob 
'glyph-name) "|.")

(ly:bar-line::print grob))
endBar = { \once \override Staff.BarLine #'stencil = 
#always-single-printEnd \bar "|." \break }


#(define (always-single-printStart grob) (set! (ly:grob-property grob 
'glyph-name) ".|")

(ly:bar-line::print grob))
startBar = { \once \override Staff.BarLine #'stencil = 
#always-single-printStart \bar ".|" }


#(define (always-single-printBar grob) (set! (ly:grob-property grob 
'glyph-name) "|")

(ly:bar-line::print grob))
singleBar = { \once \override Staff.BarLine #'stencil = 
#always-single-printBar \bar "|" }


\relative c''' {
\override Score.BarLine #'break-visibility = #all-visible

\cadenzaOn
  \startBar c1  \singleBar c1 \endBar %wrong bar type here
  \startBar c1 \endBar
}

where as this solution is only missing the ending bar on the first line 
not the starting


\version "2.13.34"
\relative c''' {
\override Score.BarLine #'break-visibility = #all-visible
  \cadenzaOn
  \bar ".|" c1 \bar "|." \break
  \bar ".|" c1 \bar "|."
}

I believe when there are two bars in a row the first is ignore, does 
anyone know of any legitimate ways of avoiding/disabling this 
functionality.  I can think of a work around where I put an invisible 
note with a partial to separate the two bars, but it would seem there 
should be a better way to do this.


--Sam


On 2010-09-29 13:11, Vicente Solsona wrote:

On Wed, 29 Sep 2010 19:17:56 +0200, Sam Domonkos  wrote:

  I am definitely closer thanks to your visibility reference.  The 
remaining problem seems to come when a \bar "|." is followed by a 
\bar "|." even if they are separated by a \break. To confirm this I 
tried


\bar ".|" \bar "|." \bar ".|" \bar "|."

...and only the last is printed.



the Notation Reference states that "Bar lines cannot be printed at 
start of line."


perhaps this thread might be helpful:

http://lists.gnu.org/archive/html/lilypond-user/2009-04/msg00908.html

but I'm running out of ideas beyond that, maybe others can help you 
better...


greetings,

Vicente




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


Beaming to rests over system breaks

2010-09-30 Thread Mike Solomon
Hey Lilyponders,
Below I have two solutions to the same problem: one seems like it should
work but doesn't, whereas the other is kludgy and makes lily irate with
warnings but works.  Any suggestions for a happy medium?

\version "2.13.35"

% seems like it should work but doesn't
\score {
  \new Staff {
\override Staff . Stem #'stemlet-length = #0.60
\relative c' { r16 \repeat unfold 40 \times 2/3 { f8 [ r16 ] } } }
  \layout { 
\context {
  \Voice
  \remove  Forbid_line_break_engraver
}
\context {
  \Staff
  \override Beam #'breakable = ##t }}}

% does work but lily doesn't like it...
\score {
  \new Staff {
\override Staff . Stem #'stemlet-length = #0.60
\relative c' { r16 \repeat unfold 40
   << { \times 2/3 { f8
[ \override Staff . Stem #'stemlet-length = #0.60
\once \override Voice . NoteHead #'transparent = ##t f16 ] } }
  { \times 2/3 { s8 g16\rest } } >> } }
  \layout { 
\context {
  \Voice
  \remove  Forbid_line_break_engraver
}
\context {
  \Staff
  \override Beam #'breakable = ##t }}}



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


Re: center tempo mark on barline?

2010-09-30 Thread michael webster
thanks Phil: I am trying to build a set of re-useable metric modulations - and 
I'm favoring the Carter-style in which the '=' is centered on the barline. I 
have a music function which creates the appropriate \tempo \markup (and midi 
tempo changes thanks to Neil Puttock) from 2 durations, and I'd like to modify 
it to have it centered properly on the barline. The piece I am writing is long 
and has many dozens of such marks so I'm hoping to avoid scooting them all 
around manually... thanks again michael

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


Re: center tempo mark on barline?

2010-09-30 Thread Xavier Scheuer
On 30 September 2010 14:06, Phil Holmes  wrote:
>
> Do you want to have single command to ensure that it's centred on a bar
> line, or just a way of shifting a specific one so it appears to be aligned
> like that?

The single command to ensure that it's centred on a bar line does
not work for the moment.

  \override Score.MetronomeMark #'break-align-symbols = #'(staff-bar)
is one of the "failing cases" listed within #1276...
Issue 1276: MetronomeMark 'break-align-symbols should work with all objects
http://code.google.com/p/lilypond/issues/detail?id=1276

@michael:
You can use a RehearsalMark instead.  ;-)
http://lsr.dsi.unimi.it/LSR/Item?id=204

Cheers,
Xavier

-- 
Xavier Scheuer 

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


16-channel limit with larger scores

2010-09-30 Thread Jeff Barnes
I apologize if this question has been asked before.

I want to write a full score for big band and somehow overcome the 15 staff 
limit for midi playback. If I could merge the alto and tenor staves from 4 to 
1, and do the same for trumpets and bones, I would have few enough staves for 
midi output to work.

Is there some utility to combine staves for midi playback?

Regards,
Jeff

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


Re: How to set different bar number format every nth bar?

2010-09-30 Thread Antheo

I'd like to avoid to do:

\score {
% set the size of the first bar number larger
  \override Score.BarNumber #'font-size = #-2
  c d e f | % 1st measure
  % 5th other measures on the same staff
  \override Score.BarNumber #'font-size = #-4
 g a b c | c d e f | g a b c | c d e f | g a b c | 
  % and so on...
}

I've seen Neil's music function to set the visibility of the bar number
every odd measure but don't think this can be reused to set the font size.

links to documentation i may have missed or scheme functions are welcome.


Antheo wrote:
> 
> 
> I'd like to have bar numbers printed on every bar with the first bar
> number of each line bigger.
> I'd like to find if there is any way to set different bar number format
> with a function rather than inline with the music.
> 
> -Marc
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-to-set-different-bar-number-format-every-nth-bar--tp29834921p29846506.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: center tempo mark on barline?

2010-09-30 Thread Phil Holmes
- Original Message - 
From: "michael webster" 

To: 
Sent: Wednesday, September 29, 2010 5:47 PM
Subject: center tempo mark on barline?


hi all - wondering how I might align the center of a tempo mark on a 
barline? any way? tia


Do you want to have single command to ensure that it's centred on a bar 
line, or just a way of shifting a specific one so it appears to be aligned 
like that?


--
Phil Holmes



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


Re: synchronization of feathered beams

2010-09-30 Thread Phil Holmes
Top posting because of HTML original.

Stefan,

featherDurations changes the tempo of the notes.  Thus the notes at the start 
of the bar have a longer duration than those at the end, and I presume LilyPond 
is having a problem applying this to the longer rests.  This may not give the 
appearance you want, but shows that this will work with short duration rests.  
(I've replaced all your eighth notes with sixteenth, to show the beam 
feathering).

\version "2.12.3"
global = { \time 7/16 }
upper = { \global 
 \override Beam #'grow-direction = #RIGHT
 \featherDurations #(ly:make-moment 1 2)
 { des''16 -. [\p\< es''16 -. e''16 -. f''16 -. ges''16 -. as''16 -. c'''16 -> 
-. \f] } 
}
lower = { \global
   \override Beam #'grow-direction = #RIGHT
   \featherDurations #(ly:make-moment 1 2)
 { r16 r r r r r16 -> -. \sfz }
}
\score {
  << \new Staff \upper
\new Staff \lower >>
}


--
Phil Holmes


  - Original Message - 
  From: Stefan Thomas 
  To: lilypond-user 
  Sent: Thursday, September 30, 2010 9:42 AM
  Subject: synchronization of feathered beams


  Dear community,
  I have a problem with the synchronisation in the below quoted snippet.
  I expect to have the notes on the end of the bar on the same vertical height.
  How can I achieve it?
  Thanks for help,
  Stefan

  \version "2.12.3"
  global = { \time 7/8 }
  upper = { \global 
 \featherDurations #(ly:make-moment 1 2)
   { des''8 -. [\p\< es''8 -. e''8 -. f''8 -. ges''8 -. as''8 -. c'''8 -> -. 
\f] } 
  }
  lower = { \global
 \featherDurations #(ly:make-moment 1 2)
   { r2 r4   8 -> -. \sfz }
  }
  \score {
<< \new Staff \upper
  \new Staff \lower >>
  }





--


  ___
  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


synchronization of feathered beams

2010-09-30 Thread Stefan Thomas
Dear community,
I have a problem with the synchronisation in the below quoted snippet.
I expect to have the notes on the end of the bar on the same vertical
height.
How can I achieve it?
Thanks for help,
Stefan

\version "2.12.3"
global = { \time 7/8 }
upper = { \global
   \featherDurations #(ly:make-moment 1 2)
 { des''8 -. [\p\< es''8 -. e''8 -. f''8 -. ges''8 -. as''8 -. c'''8 -> -.
\f] }
}
lower = { \global
   \featherDurations #(ly:make-moment 1 2)
 { r2 r4   8 -> -. \sfz }
}
\score {
  << \new Staff \upper
\new Staff \lower >>
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user