Re: Separating pitch and rhythm

2012-03-26 Thread Janek Warchoł
On Sun, Mar 25, 2012 at 11:52 PM, David Kastrup d...@gnu.org wrote:
 Janek Warchoł janek.lilyp...@gmail.com writes:

 Thanks for this!  I'll keep it bookmarked.

 You can remove the definition of for-some-music: that's defined in
 LilyPond properly by now.

Yeah, i remember an issue about it.
thanks,
Janek

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


Re: [Frescobaldi] Re: Help needed creating a Mac OS X installer for Frescobaldi

2012-03-26 Thread Wilbert Berendsen
Op Sun, 25 Mar 2012 15:37:27 +0200
Rodolfo Zitellini xhero...@gmail.com schreef:

 if this thing works for others too I have a couple of files to add
 (info.plist and qt.conf) and we should decide how to merge the mac
 part in freeze.py :)

Many, many thanks for your effort! I just follow it, and indeed it
might be nice to merge it in freeze.py.


-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: Help needed creating a Mac OS X installer for Frescobaldi

2012-03-26 Thread Siska Ádám
Hi,

On 2012.03.25., at 15:37, Rodolfo Zitellini wrote:

 Hi All,
 I did some quick and quite dirty esperimenting with cx_freeze, and I
 should have something more or less working which I'd like to test on
 other systems:
 
 http://www.xhero.org/frescobaldi.zip
 
 this was compiled on macos 10.7.3 intel with qt 4.8 from macports. The
 archive should contain everything and on my machine works - more or
 less, there are many issues, but I can load a lilypond doc and
 navigate the pdf (with point and click too).
 If someone wants to download the archive and give a try, I will be
 grateful for every feedback (hoping it does not crash instantly on
 other machines!).
 
 The icon file is still missing (at least, it is there but on my
 machine it does not work, next thing to do :)
 
 For Wilbert:
 if this thing works for others too I have a couple of files to add
 (info.plist and qt.conf) and we should decide how to merge the mac
 part in freeze.py :)
 
 Ciao!
 Rodolfo

A few comments (although I've never seen Frescobaldi before, so I'm not sure 
whether the problems come from the software itself or the port):
- The first letter of the executable is not capitalized (it says 'frescobaldi' 
instead of 'Frescobaldi'), which is not very common with Mac software (unless 
they start with 'i'). Not a bug, though.
- Hitting the 'Engrave' button I get the following in the log window:
 Starting lilypond  [test01.ly]...
Could not start lilypond.
Please check path and permissions.
- In Preferences/LilyPond Preferences one can't set the LilyPond include path, 
as the file open dialog won't let the user open the contents of the LilyPond 
application bundle and the input field can't be edited by typing into the list 
of LilyPond include paths.
- If one sets the appropriate path in the frescobaldi.plist file (for me, this 
would be /Applications/LilyPond/LilyPond.app/bin), after running frescobaldi, 
it would revert my modification to /Applications/LilyPond.
- The Preference File 'frescobaldi.plist' should be called 
'org.frescobaldi.plist' to meet Apple's naming conventions.

The weird thing is that the bin library of LilyPond is included in my user path 
(so I can run LilyPond in Terminal directly without needing to specify the 
folder where it is located), so I don't really understand why Frescobaldi 
wouldn't find the executables...


Hope this helps,
Ádám


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


Re: Help needed creating a Mac OS X installer for Frescobaldi

2012-03-26 Thread Stefan Vollmar
Dear Rodolfo,
dear Wilbert,

it works out-of-the-box on my system which is running MacOS X 10.6.8 - very, 
very neat - thank you! (nice logo, too)

Warm regards,
 Stefan

On 25.03.2012, at 15:37, Rodolfo Zitellini wrote:

 Hi All,
 I did some quick and quite dirty esperimenting with cx_freeze, and I
 should have something more or less working which I'd like to test on
 other systems:
 
 http://www.xhero.org/frescobaldi.zip
 
 this was compiled on macos 10.7.3 intel with qt 4.8 from macports. The
 archive should contain everything and on my machine works - more or
 less, there are many issues, but I can load a lilypond doc and
 navigate the pdf (with point and click too).
 If someone wants to download the archive and give a try, I will be
 grateful for every feedback (hoping it does not crash instantly on
 other machines!).
 
 The icon file is still missing (at least, it is there but on my
 machine it does not work, next thing to do :)
 
 For Wilbert:
 if this thing works for others too I have a couple of files to add
 (info.plist and qt.conf) and we should decide how to merge the mac
 part in freeze.py :)
 
 Ciao!
 Rodolfo
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: voll...@nf.mpg.de   http://www.nf.mpg.de








smime.p7s
Description: S/MIME cryptographic signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re:Help needed creating a Mac OS X installer for Frescobaldi

2012-03-26 Thread vic hug

hello,
seems to work here (mbpro 15 early 2011 osx 10.6.8), but can't find Lilypond, 
asks to check for lily path and permissions and i don't see where i should 
indicate the path. Anyway, i'm starting with updating Lilypond, which i haven't 
done in quite a time. And does lilypond work on osx 10.7 ? because download 
page says no...
thanks for porting frescobaldi to mac btw :)
  ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fine with dashed double barline occurring in middle of bar

2012-03-26 Thread Robin Bannister
Nick Payne: 

Is it possible to get a dashed double barline?


I don't think that there is anything set up for this. 
One way to do it is to ask for a double portion. 


You can test barDoubled.ly for authenticity
by comparing \barDoubled | with \bar ||. 



Cheers, 
Robin\version 2.15.25

barDoubled = #(define-music-function (parser location glyph) (string?)
  (define (bar-gap-bar grob)
(let* (
  (layout (ly:grob-layout grob))
  (weight (ly:output-def-lookup layout 'line-thickness 0.1))
  (raw-gap (ly:grob-property grob 'thin-kern))
  (gap (* raw-gap weight))
  )
  (ly:stencil-combine-at-edge (ly:bar-line::print grob)
X RIGHT (ly:bar-line::print grob) gap)))
  #{
\bar $glyph 
\once \override Score.BarLine #'stencil = $bar-gap-bar
  #}
  )

\relative c'' {
  
{ e b g4 r \barDoubled dashed e4. dis8 }
\\
{ e,,4 r r2 }
  
}
attachment: barDoubled.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Question about missing accidentals, and banishing stems

2012-03-26 Thread Michael Welsh Duggan
I was writing some experimental lilypond in preparation for writing some
music functions.  The following lilypond file creates two variables
which contain a line of notes and a line of lyrics together in a cons
cell.  The score attempts to join the two.  Output is attached.  The
question is, why is the e-flat in the second part not getting its
accidental printed?  (The e-flat in the first part prints just fine.)


Sub-question: I got rid of stems by removing the stem engraver.  The
slurs, however, look like they are trying to take into account the
missing stems.  How can I avoid this?


\include english.ly

l = {}  % Please ignore this for now.

aa = #(cons #{ 
   \relative f' 
   { g( a g f) f a( bf c) \l c( bf) a( bf) \l g( \l a) \bar | 
   f( a) c \l c( d ef d c d c) bf( a) bf( c) \l a \bar | } #}
   #{ \lyricmode { Qui -- a e -- du -- xi __ te __ de __ ter -- ra __
   Ae -- gy -- pti; } #} )

bb = #(cons #{
   \relative f'
   { f( a) \l c( d ef d c d c) a bf( c) a( bf c bf \l a) \bar |
   bf( a) bf c( d c) bf c( bf) a( \l bf \l c) \bar || } #}
   #{ \lyricmode { pa -- ra -- sti Cru -- cem __
   Sal -- va -- to -- ri tu -- o. __ } #} )


\paper {
  indent = 0
  oddFooterMarkup=##f
  oddHeaderMarkup=##f
  bookTitleMarkup = ##f
  scoreTitleMarkup = ##f
}

\score { 
  
\new Staff \with { \remove Time_signature_engraver }
{ \clef treble \key f \major \cadenzaOn
  \new Voice = voice \with { \remove Stem_engraver }
  { $(car aa) \break $(car bb) \break } }
\new Lyrics \lyricsto voice { $(cdr aa) $(cdr bb) }
  
}

inline: PopuleMeus.png
-- 
Michael Welsh Duggan
(m...@md5i.com)
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help needed creating a Mac OS X installer for Frescobaldi

2012-03-26 Thread Stefan Vollmar
Dear Rodolfo,

On 25.03.2012, at 20:04, Rodolfo Zitellini wrote:

 [...]
 I will try to recompile everything on a system with 10.5 and see if it
 works on 10.6 and 10.7 too, but it will take me some time.

you are probably better of with two different versions of frescobaldi - 10.5 
has been around for some time and you will loose some Qt features otherwise, I 
believe. -

When dropping a ly-file onto Frescobaldi, your Mac version works beautifully. 
It also works, if frescobaldi.app is not located in the /Applications directory.

However, when I change something in the source window and then do an Engrave 
(preview) I get this error:

Could not start lilypond.
Please check path and permissions.

Warm regards,
 Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: voll...@nf.mpg.de   http://www.nf.mpg.de








smime.p7s
Description: S/MIME cryptographic signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Question about missing accidentals, and banishing stems

2012-03-26 Thread Robert Schmaus
Hi Michael,

the whole music is defined in a single cadenza with manual barlines in
between. so, from pov of lilypond, all the music is in one bar, thus,
the second ees doesn't sport an accidental.

Use ees! to force the accidental ...

Best,
Robert



On Sun, Mar 25, 2012, at 09:01 PM, Michael Welsh Duggan wrote:
 I was writing some experimental lilypond in preparation for writing some
 music functions.  The following lilypond file creates two variables
 which contain a line of notes and a line of lyrics together in a cons
 cell.  The score attempts to join the two.  Output is attached.  The
 question is, why is the e-flat in the second part not getting its
 accidental printed?  (The e-flat in the first part prints just fine.)
 
 
 Sub-question: I got rid of stems by removing the stem engraver.  The
 slurs, however, look like they are trying to take into account the
 missing stems.  How can I avoid this?
 
 
 
 [Inline image]
 
 
 -- 
 Michael Welsh Duggan
 (m...@md5i.com)
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user
 Email had 2 attachments:
 + PopuleMeus.ly
   1k (text/x-lilypond)
 + PopuleMeus.png
   22k (image/png)

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


Re: Question about missing accidentals, and banishing stems

2012-03-26 Thread James
Hello,

On 26 March 2012 17:05, Robert Schmaus robert.schm...@web.de wrote:
 Hi Michael,

 the whole music is defined in a single cadenza with manual barlines in
 between. so, from pov of lilypond, all the music is in one bar, thus,
 the second ees doesn't sport an accidental.

 Use ees! to force the accidental ...


I've added a Doc Enhancement request here

http://code.google.com/p/lilypond/issues/detail?id=2438

James

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


Re: Aleatoric / modern notation

2012-03-26 Thread Siska Ádám
Hi developers,

On 2012.03.13., at 17:33, David Nalesnik wrote:

 Hi Mike,
 
 Excellent work!
 
 
 I'm glad you think so!
 
 
 
 I've attached a new file that addresses some of the issues you identify
 above:
 
 --) It uses axis-group::width to box accidentals
 
 
 Beautiful!  Now there's really no need for the extra padding properties.
 (I've kept them in the attached file, but combined them into a single
 property which takes a pair = 'extra-padding.)
 
 
 --) It creates a FrameStub grob to occupy the horizontal space that a
 frame line takes up (note that I don't know if this actually works - I'm
 not sure how to test it - but at least it doesn't crash!).  Whenever you
 have a spanner that somehow occupies horizontal space at its bounds, you
 can create stub grobs that approximate this space.  This technique also
 works for items that, for whatever reason, have heights that are difficult
 to approximate (see SpanBarStub and StemStub, for example).
 
 
 This works great for spacing on the left side.  It wasn't working on the
 right, so I added 'extender-length in (plus a slight correction accounting
 for arrow-length, etc., which should be fairly easy to calculate). Now it
 will push everything forward nicely.
 
 One thing I've noticed, though, is that the line will not cross a bar line.
 If I increase the length of the extender, the bar line is simply pushed to
 the right.  I figured out one way around this--namely, setting the X-extent
 of the bar line to (+inf.0 . -inf.0), which is what I do in the attached
 file. Of course this has other consequences.  Is there any other way?
 
 --) It gets rid of some dead or unused code.
 
 
 Thank you very much for your improvements and explanations--I think I've
 learned quite a bit!
 
 Best,
 David


I tried to use the frame engraver of this thread, but I was unable to do so. 
I'm constantly getting 'syntax error, unexpected EVENT_IDENTIFIER' errors and 
the LilyPond compiler won't recognize the \frameStart and \frameEnd commands. 
The only thing I changed was the version number itself, as I'm using the stable 
version (2.14.2). Do you have any idea what the problem could be? Or is this 
code using some specific feature of 2.15?


Thanks,
Ádám



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


Re: Aleatoric / modern notation

2012-03-26 Thread David Nalesnik
Hi Ádám,


 I tried to use the frame engraver of this thread, but I was unable to do
 so. I'm constantly getting 'syntax error, unexpected EVENT_IDENTIFIER'
 errors and the LilyPond compiler won't recognize the \frameStart and
 \frameEnd commands. The only thing I changed was the version number itself,
 as I'm using the stable version (2.14.2). Do you have any idea what the
 problem could be? Or is this code using some specific feature of 2.15?


I can't explain the difference in behavior, but with 2.14.2 you need to put
\frameEnd and \frameStart after the note.  So, the following can be
substituted into the file attached earlier in this thread:

\relative c'' {
  \override Stem #'transparent = ##t
  \override Beam #'transparent = ##t
  \once \override Frame #'extender-length = #8
   dis'8[ \frameStart e f  ges] \frameEnd s2
  \once \override Frame #'extender-length = #11
   d,8[ \frameStart e f  g] \frameEnd s2
  \once \override Staff.BarLine #'X-extent = #'(+inf.0 . -inf.0) % line can
cross bar line
  s2
  \once \override Frame #'extender-length = #3.5
   fis'8[ \frameStart bes,, aes, e''] \frameEnd
}

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


Re: Aleatoric / modern notation

2012-03-26 Thread Siska Ádám
Hi David,

On 2012.03.26., at 23:05, David Nalesnik wrote:

 Hi Ádám,
 
 
 I tried to use the frame engraver of this thread, but I was unable to do
 so. I'm constantly getting 'syntax error, unexpected EVENT_IDENTIFIER'
 errors and the LilyPond compiler won't recognize the \frameStart and
 \frameEnd commands. The only thing I changed was the version number itself,
 as I'm using the stable version (2.14.2). Do you have any idea what the
 problem could be? Or is this code using some specific feature of 2.15?
 
 
 I can't explain the difference in behavior, but with 2.14.2 you need to put
 \frameEnd and \frameStart after the note.  So, the following can be
 substituted into the file attached earlier in this thread:
 
 \relative c'' {
  \override Stem #'transparent = ##t
  \override Beam #'transparent = ##t
  \once \override Frame #'extender-length = #8
   dis'8[ \frameStart e f  ges] \frameEnd s2
  \once \override Frame #'extender-length = #11
   d,8[ \frameStart e f  g] \frameEnd s2
  \once \override Staff.BarLine #'X-extent = #'(+inf.0 . -inf.0) % line can
 cross bar line
  s2
  \once \override Frame #'extender-length = #3.5
   fis'8[ \frameStart bes,, aes, e''] \frameEnd
 }
 
 -David


Thanks A LOT!!! For this, and for the frame itself as well.


Best,
Ádám


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


Re: Question about missing accidentals, and banishing stems

2012-03-26 Thread Michael Welsh Duggan
Robert Schmaus robert.schm...@web.de writes:

 the whole music is defined in a single cadenza with manual barlines in
 between. so, from pov of lilypond, all the music is in one bar, thus,
 the second ees doesn't sport an accidental.

Thank you.  Quite clear, and fixed in my sources.

 On Sun, Mar 25, 2012, at 09:01 PM, Michael Welsh Duggan wrote:
 I was writing some experimental lilypond in preparation for writing some
 music functions.  The following lilypond file creates two variables
 which contain a line of notes and a line of lyrics together in a cons
 cell.  The score attempts to join the two.  Output is attached.  The
 question is, why is the e-flat in the second part not getting its
 accidental printed?  (The e-flat in the first part prints just fine.)

-- 
Michael Welsh Duggan
(m...@md5i.com)


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


Re: Question about missing accidentals, and banishing stems

2012-03-26 Thread Michael Welsh Duggan
Michael Welsh Duggan m...@md5i.com writes:

 Sub-question: I got rid of stems by removing the stem engraver.  The
 slurs, however, look like they are trying to take into account the
 missing stems.  How can I avoid this?

It appears that setting the stems to be transparent is superior to
removing the engraver.  I'll leave it up to someone wiser than I am to
explain why.

-- 
Michael Welsh Duggan
(m...@md5i.com)


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


Fw: inner-outer margin two-sided print

2012-03-26 Thread MING TSANG
I miss sending the snippet.  Here it is.

 
Blessing in+,

- Forwarded Message -
From: MING TSANG tsan...@rogers.com
To: lilypond-usermailinglist lilypond-user@gnu.org 
Sent: Thursday, March 22, 2012 7:50:26 PM
Subject: inner-outer margin two-sided print
 



 pdf is too big so I screen print.


Blessing in+,



png _a1  a2 uses the following in the snippet

inner-margin = .25/in
outer-margin = .75/in


png _b1  b2 uses  the following in the snippet
inner-margin = .75/in
outer-margin = .25/in


In both cases the output is the same.  I try to produce two-sided prints 
showing left margin more on page 1 (odd page #)  right margin more on page 
2 (even page #). ( I want left hole punch) 



How can I do this?  Thanks for the help. 



Blessing in+,
Ming.







attachment: 2012-03-22_192748a2.pngattachment: 2012-03-22_192722a1.pngattachment: 2012-03-22_193033b1.png

inner-outer_margin_snippet.ly
Description: Binary data


inner-outer_margin_snippet.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user