Re: lilypond-user Digest, Vol 97, Issue 111

2010-12-23 Thread Valentin Villenave
On Thu, Dec 23, 2010 at 4:39 AM, MING TSANG tsan...@rogers.com wrote:
 I try all three links and I got the following error message:

 The requested URL
 /archive/html/lilypond-user/attachments/20101222/441958db/svgdance.bin was
 not found on this server.

Try here:
http://old.nabble.com/Lily-dances-p30515146.html

Cheers,
Valentin.

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


Re: Lily Dances -- lilypond-user Digest, Vol 97, Issue 111

2010-12-23 Thread Mike Solomon
Dear Gordon,

The links in this posting are in fact attached files that should be downloaded 
to your local machine, not websites on the Internet.  If you look in the folder 
in which attachments are saved on your machine, you should be able to find and 
open them.

Cheers,
MS

On Dec 22, 2010, at 9:28 PM, Father Gordon Gilbert wrote:

 Hi all,
 
 Maybe it's my andediluvian dialup connection, but when I click on the
 links in this posting, or on similar ones lately, I get a 404 -- not
 found error.
 
 Is there something *I* and doing wrong, or what do I need to do to go
 where these links are suggesting?
 
 Gordon+
 
 On 22/12/2010, lilypond-user-requ...@gnu.org
 lilypond-user-requ...@gnu.org wrote:
 Send lilypond-user mailing list submissions to
  lilypond-user@gnu.org
 
 To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.gnu.org/mailman/listinfo/lilypond-user
 or, via email, send a message with subject or body 'help' to
  lilypond-user-requ...@gnu.org
 
 You can reach the person managing the list at
  lilypond-user-ow...@gnu.org
 
 When replying, please edit your Subject line so it is more specific
 than Re: Contents of lilypond-user digest...
 
 
 Today's Topics:
 
   1. Lily dances (Mike Solomon)
 
 
 --
 
 Message: 1
 Date: Wed, 22 Dec 2010 16:30:40 +0100
 From: Mike Solomon mike...@ufl.edu
 Subject: Lily dances
 To: lilypond-user lilypond-user@gnu.org, lilypond-de...@gnu.org
 Message-ID: 4ce8af93-f7a8-4cdd-b244-a7775807f...@ufl.edu
 Content-Type: text/plain; charset=us-ascii
 
 Hey all,
 
 I am embarking on a new project to make lily dance.
 
 Attached are 3 files:
 
 1) svgdance.svg (best viewed in something that's not Internet Explorer -
 click on the notes and/or accidentals and see what happens!)
 -- next part --
 A non-text attachment was scrubbed...
 Name: svgdance.svg
 Type: image/svg+xml
 Size: 10925 bytes
 Desc: not available
 Url :
 http://lists.gnu.org/archive/html/lilypond-user/attachments/20101222/441958db/svgdance.bin
 -- next part --
 
 2) svgdance.ly (which makes svgdance.svg after having applied...)
 -- next part --
 A non-text attachment was scrubbed...
 Name: svgdance.ly
 Type: application/octet-stream
 Size: 5087 bytes
 Desc: not available
 Url :
 http://lists.gnu.org/archive/html/lilypond-user/attachments/20101222/441958db/svgdance.obj
 -- next part --
 
 3) 0001-Implements-metadata-for-SVG-manipulation.patch (needs to be applied
 to the current master - then, recompile everything in lily and scm and
 install)
 -- next part --
 A non-text attachment was scrubbed...
 Name: 0001-Implements-metadata-for-SVG-manipulation.patch
 Type: application/octet-stream
 Size: 23802 bytes
 Desc: not available
 Url :
 http://lists.gnu.org/archive/html/lilypond-user/attachments/20101222/441958db/0001-Implements-metadata-for-SVG-manipulation.obj
 -- next part --
 
 I think the applications of this are broader than making grobs dance.  I am
 going to use it for a composition, but I think it can also be used for
 animated Schenker graphs, annotated scores, pedagogical sites, etc..
 
 As always with my side projects, I could use some help!  If you are
 interested in this sorta thing and want to help make the code better, lemme
 know.  Before I work on integrating this into the post-2.14 source, I'd like
 for several people to play with it and share their thoughts!
 
 Cheers,
 Mike
 
 --
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user
 
 
 End of lilypond-user Digest, Vol 97, Issue 111
 **
 
 
 
 -- 
 Fr. Gordon Gilbert
 Penetanguishene, ON


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


Re: Lily dances

2010-12-23 Thread Mike Solomon
On Dec 22, 2010, at 5:10 PM, Federico Bruni wrote:

 2010/12/22 Mike Solomon mike...@ufl.edu
 Hey all,
 
 I am embarking on a new project to make lily dance.
 
 Attached are 3 files:
 
 1) svgdance.svg (best viewed in something that's not Internet Explorer - 
 click on the notes and/or accidentals and see what happens!)
 
 
 Cool!
 
 Actually, only clicks on notes work here (FF4 and Opera), nothing happens if 
 I click on accidentals.
 Opera is the best (as usual with SVG), because the cursor changes when 
 hovering upon clickable items.
 
 
 
 I think the applications of this are broader than making grobs dance.  I am 
 going to use it for a composition, but I think it can also be used for 
 animated Schenker graphs, annotated scores, pedagogical sites, etc..
 
 
 Well, I'm going to write some personal notes about LilyPond usage
 and I'd like to render examples as SVG instead of PNG. So I'm very
 interested in everything related to LilyPond and SVG :)
  
 And I'm looking forward to point-and-click in SVG:
 http://code.google.com/p/lilypond/issues/detail?id=1372
 
 Cheers,
 Federico

Point and click can likely be a subset of this metadata property.  What you 
would need to do is create a javascript function that opened the .ly file at a 
given point (where this point was an argument to the function), and then have 
each drawn grob pass this function it's line # (and even column #) via the 
onclick attribute in its svg tag.

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


Re: Lily dances

2010-12-23 Thread Mike Solomon

On Dec 22, 2010, at 10:21 PM, Jan Warchoł wrote:

 2010/12/22 Mike Solomon mike...@ufl.edu
 1) svgdance.svg (best viewed in something that's not Internet Explorer - 
 click on the notes and/or accidentals and see what happens!)
 
 Cool! Thanks for sharing :)
 
 cheers,
 Janek
 
 PS i opened it in Google Chrome and only the d flat was animated - when i 
 clicked on f sharp nothing happened...

Google Chrome is weird like that...in other versions I made, it omitted other 
graphical elements.  I suspect that it may be a bug in Chrome, although I am 
not sure.  The code works fine in other browsers.

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


Re: Can't use NoteNames twice in score block ??

2010-12-23 Thread jakob lund
2010/12/23 Michael Ellis michael.f.el...@gmail.com:
 I'm clearly Scheme challenged. I've spent several hours trying different
 variations of the following.
 #(define (note? x)
      (eq? 'EventChord (ly:music-property x 'name)))
 #(define notesOnly
 ;; Remove anything that is not a note.
   (define-music-function (parser location music) (ly:music?)
         (music-filter (lambda (x)  (if (note? x) x #f) )  music)))
 If I run different versions \notesOnly  on music containing notes plus other
 things, I get either everything passing through unchanged or everything
 removed.  What's the right way to construct  a music filter that returns
 only the pitch-carrying elements?

You have to permit more types of music, that act as containers, as
well as the actual 'NoteEvent objects:

#(define (filterEvent event)
 (let ((name (ly:music-property event 'name)))
  (or
(eq? name 'EventChord)
(eq? name 'NoteEvent)
(eq? name 'RelativeOctaveMusic)
(eq? name 'SequentialMusic

onlynotes = #(define-music-function (P L M) (ly:music?)
(music-filter filterEvent M))

{ %\displayMusic
  \onlynotes
  \relative c'' { \key a \major cis d16 } }
-
the \displayMusic command is only for debugging your function - if
your music disappears you uncomment it and comment out \onlynotes, so
you get a text representation of the unfiltered music. For example,
adding  \relative c'' caused the music to be wrapped in a
'RelativeOctaveMusic

Jakob.



 Cheers,
 Mike


 On Wed, Dec 22, 2010 at 2:14 PM, Michael Ellis michael.f.el...@gmail.com
 wrote:

 Thanks, Carl.  This looks promising ...
 Cheers,
 Mike


 On Wed, Dec 22, 2010 at 10:46 AM, Carl Sorensen c_soren...@byu.edu
 wrote:

 On 12/22/10 8:08 AM, Michael Ellis michael.f.el...@gmail.com wrote:
 
 
  Putting this together with your workaround produces the code and output
  shown
  below.  This works quite well.  So the issue I'm wrestling with now is
  whether
  it's feasible to automate the editing of 400+ files to separate the
  clef and
  instrument names from the notation, detect the original key, and
  rewrite the
  score block to produce the desired results.
 
  Thanks again for your help and any suggestions for how proceed with the
  automation are more than welcome.

 You might try using music-filter to help you.  Since you already have
 blocks
 by voice, you could filter the full block to keep only EventChords (every
 note, whether or not it's in a chord, is in an EventChord) and used the
 filtered music for your NoteNames context.

 Note that I haven't tried this, and won't have time to try it today.

 You can see an example of how Valentin has done this here:

 http://repo.or.cz/w/opus_libre.git/blob/HEAD:/lib/libdynamic.scm#l58

 HTH,

 Carl






 ___
 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: Tweaking Jedit LilyPondTool?

2010-12-23 Thread Adam Good
On Wed, Dec 22, 2010 at 2:59 PM, Valentin Villenave
valen...@villenave.net wrote:
 On Wed, Dec 22, 2010 at 2:37 PM, Adam Good adamg...@adamgood.com wrote:
 Carl, can you elaborate on that? I just installed 2.13.43 and still
 see deutsch.ly , english.ly etc in

 lilypond/usr/share/lilypond/current/ly

 If you look inside these files, you'll see that they are now empty.
 The note names are defined in scm/define-note-names.scm.

By golly thanks Valentin for pointing it out, honestly the only file I
opened up was my beloved makam.ly file and it's still full of the
same.

Maybe it's been addressed somewhere but if you don't mind me asking
how will deutsch or nederlands languages be called up in the future?
Will the .ly files fall away?

Adam

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


Re: how to write a scheme function to override glissando properties

2010-12-23 Thread Marc Mouries


This slide function is great. I always have to tweak the glissando 
command because it is always too small.




On 12/19/2010 3:26 PM, jakob lund wrote:

I

2010/12/19 Marc Hohlm...@hohlart.de:

Am 16.12.2010 17:04, schrieb Patrick Schmidt:

[...]
Hi Marc,

thanks for your solution but I'm still trying to find out what's wrong
with the scheme function I posted. I discussed the need for this function
with Carl and he gave me some advice:
http://www.mail-archive.com/lilypond-devel@gnu.org/msg32745.html.

It might be impossible to find a general set of values for staves and tab
staves. If I don't succeed I learned something about writing scheme
functions, at least. Maybe you can spot the mistake in the function?

Hm, I don't know what's wrong - I tried something like

slide =
#(define-music-function (parser location len thick beg end) (number? number?
ly:music? ly:music?)
  #{
 \once \override Glissando #'minimum-length = $len
 \once \override Glissando #'thickness = $thick
 \once \override Glissando #'springs-and-rods =
#ly:spanner::set-spacing-rods
  $beg \glissando $end
  #})


myMusic = \relative c' {
  \slide #10 #5 a4 b4\3
}

\score {

  \new Staff {
   \new Voice {
 \clef treble_8
 \myMusic
   }
  }
  \new TabStaff {
   \new TabVoice {
 \myMusic
   }
  }
}

and that doesn't work either. I don't understand why ...


I think what happens is that the start note, passed to your function,
is already wrapped up in an object. \glissando is meant for use with a
single note, rather than with a music object.

You can use scheme to add the `start glissando' property to the object though:

\version 2.13.40

slide = #(define-music-function (parser location length startnote)
(number? ly:music?)
#{
  \once\override Voice.Glissando #'minimum-length = $length
  \once\override Voice.Glissando #'springs-and-rods =
#ly:spanner::set-spacing-rods
  #(begin
(set! (ly:music-property $startnote 'elements)
  (cons (make-music (quote GlissandoEvent))
(ly:music-property $startnote 'elements)
))
   (ly:export $startnote))
#})

{ \slide #7 a'' e'' }

this page contains a similar example
http://lilypond.org/doc/v2.13/Documentation/extending/adding-articulation-to-notes-_0028example_0029

Jakob

___
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: Can't use NoteNames twice in score block ??

2010-12-23 Thread Phil Hézaine
Le 22/12/2010 16:08, Michael Ellis a écrit :
 Carl, thanks for taking the time to figure it out!  I really appreciate the
 help. It's good to know there's a workaround.
 
 I'm undertaking a project to produce files containing all the Bach Chorales
 with solfege syllables (movable Do, La-based minor) under each part.  I'm
 starting with the MusicXML files created by Margaret Greentree at
 www.jsbchorales.net.  It turns out that MusesScore can be run in batch modes
 to produce LilyPond files.  I was able to convert all 400 of them in about
 10 minutes of run time.
 

Hi,

Welcome to the club! Thanks to Frescobaldi which saves me a lot of time,
I'm currently typesetting a bunch of Bach Chorales
from a Breitkopf  Härtel's edition. At this time I use the BWV
references of jsbchorales.net. but not the sources which are different
from mine.
It seems there are a lot of corrections but I don't know if it's allowed
to use them with the aim of a copyleft *publishing*. (Probably under a
Free Art license). More exactly whose sources are coming from? Are they
all authentified? No copyright editor behind the hood?  Has anyone more
informations?
My idea is to publish in a book different versions of a chorale one
after the other. I join 2 examples. And later, I'd like to upload the
voices as dictations in GNU Solfege.
I'm very curious of your batch modes. More about this? May be it could
be useful for a diff beetween my old reference and this new rather than
checking PDFs.

Regards.
Phil.



\version 2.12.2

 #(ly:set-option 'delete-intermediate-files #t)

  \paper {
%   between-system-padding = #0.1
%   ragged-bottom = ##f
%   ragged-last-bottom = ##f
}

  \header {
   title = (16) Es woll' uns Gott genädig sein - BWV 311
  }

  guidemidi = {
%%%\repeat volta 2 {
\tempo 4 = 78

%%%} % fin du repeat

}

  upper = {
\time 4/4
\key b \minor
\clef treble
\partial 4
\voiceOne
 { 
% SOPRANO
\set Voice.midiInstrument = acoustic grand
\relative c'' {
\repeat volta2 {
cis4 |
d4 cis b cis8 d |
e4 fis e d |
cis2\fermata r4 e |
d4 cis d b |
a4 fis8 g a4 g |
fis2.\fermata } %fin du repeat
a4 |
g4 fis e fis |
d4 e fis\fermata cis' |
d4 cis b cis8 d |
e4 d cis\fermata fis |
e8 d cis d e4 b |
a4 g! fis\fermata e |
a4 b cis8 d e4 |
d4 cis b\fermata d |
cis4 b a8 g fis g |
a4 g fis2 ~ |
fis2.\fermata
\bar |.
} % fin de relative
}

\context Voice=1 { \voiceTwo 
% ALTO
\set Voice.midiInstrument = acoustic grand
\relative c' {
\repeat volta2 {
fis4 |
fis4 fis g a |
g4 fis8 gis ais4 b |
ais2 r4 cis |
b8 a g4 a g8 fis |
e4 d8 e fis4 e8 d |
cis2. } %fin du repeat
cis4 |
d4 d cis cis |
d8 cis b4 cis fis |
fis8 gis ais4 b ais8 b |
cis8 fis, fis4 fis a! |
gis4 a e e |
e8 d e cis d4 cis |
cis8 dis e4 e8 fis g! fis |
fis8 gis a4 gis fis |
e8 fis g4 fis8 e d4 |
e2. d4 ~ |
d4 cis8 b cis4
\bar |.
} % fin de relative
\oneVoice
} 
}

  lower = {
\time 4/4
\key b \minor
\clef bass
\partial 4
\voiceOne
 { 
% TENOR
\set Voice.midiInstrument = acoustic grand
\relative c' {
\repeat volta2 {
ais4 |
b4 cis8 d e4 a, |
b8 cis d4 e fis |
fis2 r4 fis |
fis4 e d d |
e4 a,8 b c4 b |
ais2. } %fin du repeat
a4 |
b4 a a8 g fis4 |
fis4 b ais ais |
b4 e fis e8 d |
cis4 b ais! b |
b4 a b8 a gis4 |
a4 a a a |
a4 gis ais8 b cis4 ~ |
cis8 b8 e4 e a,8 b |
cis4 d d a |
a4 b cis! b ~ |
b4 ais8 gis ais4
\bar |.
} % fin de relative
}
\context Voice=1 { \voiceTwo 
% BASS
\set Voice.midiInstrument = acoustic grand
\relative c {
\repeat volta2 {
fis4 |
b4 a! g fis |
e4 d cis b |
fis'2\fermata r4 ais |
b4 e, fis g |
cis,4 d dis e |
fis2.\fermata } %fin du repeat
fis4 |
b,8 cis d4 a ais |
b4 g fis\fermata fis' |
b4 cis d cis8 b |
ais4 b fis\fermata dis |
e4 fis gis8 fis e d |
cis8 b cis a d4\fermata a'8 gis |
fis4 e8 d cis b ais4 |
b4 cis8 dis e4\fermata fis8 gis |
a4 b8 cis d4 d, |
c4 b ais b |
fis 2.\fermata
\bar |.
} % fin de relative
\oneVoice
} 
}


  \score { 

\new PianoStaff 
%\set PianoStaff.instrumentName = \markup{ \fontsize #6 { 

Re: Can't use NoteNames twice in score block ??

2010-12-23 Thread Michael Ellis
Thanks, Jakob! I didn't understand that a music-filter acts recursively on
containers and their contents.  I had some vague notion that it simply
passed or rejected elements at the top  level of a list.  Your example is
what I needed.  For my purposes I needed to add RestEvent and
TransposedMusic to the list of types but that was a logical extension once I
saw the pattern.

#(define (filterEvent event)
(let ((name (ly:music-property event 'name)))
 (or
   (eq? name 'EventChord)
   (eq? name 'NoteEvent)
   (eq? name 'RestEvent)
   (eq? name 'RelativeOctaveMusic)
   (eq? name 'TransposedMusic)
   (eq? name 'SequentialMusic

With this, I can now create multiple staff scores with solfege symbols under
each staff.  The only problem remaining is that the page layout is
apparently not taking into account the extra vertical space needed for the
solfege text, so I get incomplete systems at the bottom of the page. The
layout has no problems if I remove the NoteNames contexts that generate the
solfege.

Do I need to add some other types to my filter or is this another problem
altogether?

Cheers,
Mike


On Thu, Dec 23, 2010 at 5:15 AM, jakob lund jakob.be...@gmail.com wrote:

 #(define (filterEvent event)
 (let ((name (ly:music-property event 'name)))
  (or
(eq? name 'EventChord)
(eq? name 'NoteEvent)
(eq? name 'RelativeOctaveMusic)
(eq? name 'SequentialMusic

 onlynotes = #(define-music-function (P L M) (ly:music?)
(music-filter filterEvent M))

 { %\displayMusic
  \onlynotes
  \relative c'' { \key a \major cis d16 } }
 -

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


Re: Can't use NoteNames twice in score block ??

2010-12-23 Thread Michael Ellis
Hi Phil! Thanks for the encouragement. I'll try to respond to all your
questions later,  but for now here's the python script I used to invoke
MuseScore (command line name is mscore) on the files I downloaded from
Margaret Greentree's site. I'm running on a Mac with OS 10.6 so this should
work on Linux, too and possibly on Windows with appropriate changes to
accommodate the differences in path specs.

 cat xml2ly.py
#!/usr/bin/env python

Script that invokes mscore to convert MusicXml files in current directory
to Lilypond files.

import os, sys
from subprocess import Popen
import glob
xmlfiles = glob.glob(*.xml)

## Replace with path to mscore on your system
mscore = /Applications/MuseScore.app/Contents/MacOS/mscore

for x in xmlfiles:
print Converting %s ...%x
ly = os.path.splitext(x)[0] + .ly
cmd = %(mscore)s %(x)s -o %(ly)s%locals()
print cmd
p = Popen(cmd,shell=True)
p.wait()
print Done



Cheers,
Mike


On Thu, Dec 23, 2010 at 10:28 AM, Phil Hézaine philippe.heza...@free.frwrote:

 Le 22/12/2010 16:08, Michael Ellis a écrit :
  Carl, thanks for taking the time to figure it out!  I really appreciate
 the
  help. It's good to know there's a workaround.
 
  I'm undertaking a project to produce files containing all the Bach
 Chorales
  with solfege syllables (movable Do, La-based minor) under each part.  I'm
  starting with the MusicXML files created by Margaret Greentree at
  www.jsbchorales.net.  It turns out that MusesScore can be run in batch
 modes
  to produce LilyPond files.  I was able to convert all 400 of them in
 about
  10 minutes of run time.
 

 Hi,

 Welcome to the club! Thanks to Frescobaldi which saves me a lot of time,
 I'm currently typesetting a bunch of Bach Chorales
 from a Breitkopf  Härtel's edition. At this time I use the BWV
 references of jsbchorales.net. but not the sources which are different
 from mine.
 It seems there are a lot of corrections but I don't know if it's allowed
 to use them with the aim of a copyleft *publishing*. (Probably under a
 Free Art license). More exactly whose sources are coming from? Are they
 all authentified? No copyright editor behind the hood?  Has anyone more
 informations?
 My idea is to publish in a book different versions of a chorale one
 after the other. I join 2 examples. And later, I'd like to upload the
 voices as dictations in GNU Solfege.
 I'm very curious of your batch modes. More about this? May be it could
 be useful for a diff beetween my old reference and this new rather than
 checking PDFs.

 Regards.
 Phil.



 ___
 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: lilypond-user Digest, Vol 97, Issue 114

2010-12-23 Thread Patrick Karl



Message: 1
Date: Wed, 22 Dec 2010 19:39:19 -0800 (PST)
From: MING TSANGtsan...@rogers.com
Subject: Re: lilypond-user Digest, Vol 97, Issue 111
To: lilypond-user@gnu.org
Message-ID:842388.24231...@web88007.mail.re2.yahoo.com
Content-Type: text/plain; charset=us-ascii

I try all three links and I got the following error message:


Not Found
The requested URL
/archive/html/lilypond-user/attachments/20101222/441958db/svgdance.bin was not
found on this server.

I am running firefox 3.6.13
That is a constant, ongoing problem with the Lilypond-user Digest.  I 
think it may be a function of the format of the Digest you signed up 
for.  Apparently, the format you and I have chosen is malformed, 
resulting in all the attachments pointing to nonexistent files on the 
Internet.  I have raised this issue before and got no satisfactory 
answer.  The way I deal with the problem is this:


* When I get the Not Found message, trim the URL in your address 
window in your browser to:


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

* This gives you a list of all the digests in the following format:

. 2010-12: [Date]  [Thread]
. 2010-11: [Date]  [Thread]
etc.

* Click on the [Date] link for the month the digest you're interested 
in, in this case the first one, which contains all the digests for the 
month of December, 2010.  You will get a list similar to:


   * *December 23, 2010*
 o Re: Can't use NoteNames twice in score block ??
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00625.html,
   /Michael Ellis/, 11:25
 o Re: Lily dances
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00620.html,
   /Mike Solomon/, 04:49
 o Re: Lily dances
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00619.html,
   /Mike Solomon/, 04:48
 o Re: Lily Dances -- lilypond-user Digest, Vol 97, Issue 111
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00618.html,
   /Mike Solomon/, 04:44
 o Re: lilypond-user Digest, Vol 97, Issue 111
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00617.html,
   /Valentin Villenave/, 03:12
   * *December 22, 2010*
 o Re: lilypond-user Digest, Vol 97, Issue 111
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00616.html,
   /MING TSANG/, 22:39
 o Re: Can't use NoteNames twice in score block ??
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00606.html,
   /Carl Sorensen/, 10:46
 o Lily dances
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00605.html,
   /Mike Solomon/, 10:31
 o Lily dances
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00604.html,
   /Mike Solomon/, 10:30
 o Re: Can't use NoteNames twice in score block ??
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00603.html,
   /Michael Ellis/, 10:08
 o Re: pb with 2.13 with doc example fret diagram
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00589.html,
   /David Kastrup/, 01:19
   * *December 21, 2010*
 o Re: Can't use NoteNames twice in score block ??
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00588.html,
   /Carl Sorensen/, 22:18
 o Re: pb with 2.13 with doc example fret diagram
   
http://lists.gnu.org/archive/html/lilypond-user/2010-12/msg00587.html,
   /Carl Sorensen/, 21:43


  *  In this case we are interested in the entry by Mike Solomon with 
the Subject:  Lily dances which was digested on 22 Dec 2010.  I don't 
know why there are two such entries, but they seem to be identical.  
Click on either one and you will get the original entry with valid links 
that are clickable and will actually function correctly


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


Re: lilypond-user Digest, Vol 97, Issue 111

2010-12-23 Thread Patrick Karl

Message: 2

Date: Thu, 23 Dec 2010 09:12:43 +0100
From: Valentin Villenavevalen...@villenave.net
Subject: Re: lilypond-user Digest, Vol 97, Issue 111
To: MING TSANGtsan...@rogers.com
Cc: lilypond-user@gnu.org
Message-ID:
aanlktimtv6p=ea6keotxbk-i7dptsks+fvgno0ps0...@mail.gmail.com
Content-Type: text/plain; charset=UTF-8

On Thu, Dec 23, 2010 at 4:39 AM, MING TSANGtsan...@rogers.com  wrote:

I try all three links and I got the following error message:

The requested URL
/archive/html/lilypond-user/attachments/20101222/441958db/svgdance.bin was
not found on this server.

Try here:
http://old.nabble.com/Lily-dances-p30515146.html

Yes, that works great!  But you answer only solves this one problem, 
which is constant and ongoing.  Almost every Digest I receive contains 
links that point to nonexistent files.  How, in general, can I find the 
intended file?  (And why wasn't that link in the Digest rather than the 
faulty one?)



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


Re: lilypond-user Digest, Vol 97, Issue 111

2010-12-23 Thread Patrick Karl

Message: 3

Date: Thu, 23 Dec 2010 10:44:38 +0100
From: Mike Solomonmike...@ufl.edu
Subject: Re: Lily Dances -- lilypond-user Digest, Vol 97, Issue 111
To: Father Gordon Gilbertfatherg...@gmail.com
Cc: lilypond-user@gnu.org
Message-ID:286acb8f-27bf-4429-8d37-35d26c403...@ufl.edu
Content-Type: text/plain; charset=us-ascii

Dear Gordon,

The links in this posting are in fact attached files that should be downloaded 
to your local machine, not websites on the Internet.  If you look in the folder 
in which attachments are saved on your machine, you should be able to find and 
open them.
I have this same problem whether I am reading the Digest with the Mac 
OSX Mail client or with Firefox on Windows Vista.  I have no idea what 
you're talking about when you refer to ...the folder in which 
attachments are saved on your machine.  Most normal emails that contain 
links to files on the Internet don't behave in the manner you indicate.


I have to say it:  what kind of cockamamie scheme is this?  The files we 
are talking about actually live in the Internet on the lists.gnu.org 
server.  And in some cases they might be so large that I wouldn't want 
them to be routinely downloaded onto my machine.  Why can't the actual, 
correct URLs be used in the Digest rather than these fictitious ones?


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


Re: Can't use NoteNames twice in score block ??

2010-12-23 Thread Phil Hézaine
Le 23/12/2010 18:05, Michael Ellis a écrit :
 Hi Phil! Thanks for the encouragement. I'll try to respond to all your
 questions later,  but for now here's the python script I used to invoke
 MuseScore (command line name is mscore) on the files I downloaded from
 Margaret Greentree's site. I'm running on a Mac with OS 10.6 so this should
 work on Linux, too and possibly on Windows with appropriate changes to
 accommodate the differences in path specs.
 
 cat xml2ly.py
 #!/usr/bin/env python
 
 Script that invokes mscore to convert MusicXml files in current directory
 to Lilypond files.
 
 import os, sys
 from subprocess import Popen
 import glob
 xmlfiles = glob.glob(*.xml)
 
 ## Replace with path to mscore on your system
 mscore = /Applications/MuseScore.app/Contents/MacOS/mscore
 
 for x in xmlfiles:
 print Converting %s ...%x
 ly = os.path.splitext(x)[0] + .ly
 cmd = %(mscore)s %(x)s -o %(ly)s%locals()
 print cmd
 p = Popen(cmd,shell=True)
 p.wait()
 print Done
 
 
 
 Cheers,
 Mike

Thanks Michael for sharing it. I will try it later on my Gentoo-Linux.
Cheers.

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


Re: Tweaking Jedit LilyPondTool?

2010-12-23 Thread Valentin Villenave
On Thu, Dec 23, 2010 at 12:34 PM, Adam Good adamg...@adamgood.com wrote:
 Maybe it's been addressed somewhere but if you don't mind me asking
 how will deutsch or nederlands languages be called up in the future?
 Will the .ly files fall away?

.ly files will be kept for quite a while, I think. The reason behind
this change is that it's much, much easier for a new user to type

\language italiano

than

\include italiano.ly

Cheers,
Valentin.

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


Re: Can't use \clef inside NoteNames and similar contexts

2010-12-23 Thread Reinhold Kainhofer
Am Mittwoch, 22. Dezember 2010, um 16:08:10 schrieb Michael Ellis:
 Carl, thanks for taking the time to figure it out!  I really appreciate the
 help. It's good to know there's a workaround.

Yes, there is a workaround (which causes lot of work for you!), but I would 
regard this as a bug in the clef command, so bug squad please open a bug 
report (I'm cc'ing the bug-lilypond list).

In particular, the problem appears not only with NoteNames, but with any other 
context that is used without a surrounding staff, i.e. FiguredBass, 
ChordNames, etc. The offending code can be found in line 138 of scm/parser-
clef.scm (function make-clef-set):

  (context-spec-music seq 'Staff))

If you use \clef inside a music expression that is not surrounded by a staff, 
lilypond tries to fine the surrounding staff. As that fails, apparently, it 
simply picks up the first Staff context it finds...

The problem happens with all of the following contexts:
  -) NoteNames
  -) FiguredBass
  -) ChordNames
  -) FretBoards
  -) even with Lyrics!

A small example showing the problems with any of these contexts is attached. 
Note that the first two staves in that example should have a treble clef. 
However, any of the 5 example contexts will cause the first staff to employ a 
bass clef instead (i.e. the clef given in the clef command inside the 
NoteNames/FiguredBAss/ChordNames/FretBoards/Lyrics context!)

Cheers,
Reinhold
-- 
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/
 * Financial  Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
\version 2.13.41
% \include deutsch.ly
musicI = \relative c' { \clef treble c4 dis }
musicII = \relative c { \clef bass dis4 es }

\score { 
  \new Staff \new Voice \musicI
  \new Staff \new Voice \musicI
  \new Staff \new Voice \musicII
  % Any of the following lines causes the very first staff to use a bass 
  % clef instead of a treble clef:
%   \new NoteNames \musicII
%   \new FiguredBass \figuremode { \clef bass 32 }
%   \new ChordNames \chordmode { \clef bass c4 }
%   \new FretBoards \chordmode { \clef bass c4 }
  \new Lyrics \lyricmode { \clef bass Ich4 bin4 }
}


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


Re: lilypond-user Digest, Vol 97, Issue 114

2010-12-23 Thread MING TSANG
Thank you for the tip.






From: Patrick Karl pck...@mac.com
To: lilypond-user@gnu.org; tsan...@rogers.com
Sent: Thu, December 23, 2010 12:24:13 PM
Subject: Re: lilypond-user Digest, Vol 97, Issue 114

 

Message: 1
Date: Wed, 22 Dec 2010 19:39:19 -0800 (PST)
From: MING TSANG tsan...@rogers.com Subject: Re: lilypond-user Digest, Vol 
97, 
Issue 111 To: lilypond-user@gnu.org Message-ID: 
842388.24231...@web88007.mail.re2.yahoo.com Content-Type: text/plain; 
charset=us-ascii  I try all three links and I got the following error 
message:   
Not Found The requested URL  
/archive/html/lilypond-user/attachments/20101222/441958db/svgdance.bin was not 
 
found on this server.  I am running firefox 3.6.13 

That is a constant, ongoing problem with the Lilypond-user Digest.  I think 
it may be a function of the format of the Digest you signed up for.  
Apparently, the format you and I have chosen is malformed, resulting in all 
the attachments pointing to nonexistent files on the Internet.  I have 
raised this issue before and got no satisfactory answer.  The way I deal 
with the problem is this:

* When I get the Not Found message, trim the URL in your address window 
in 
your browser to:

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

* This gives you a list of all the digests in the following format:

. 2010-12: [Date]  [Thread]
. 2010-11: [Date]  [Thread]
etc.

* Click on the [Date] link for the month the digest you're interested in, 
in 
this case the first one, which contains all the digests for the month of 
December, 2010.  You will get a list similar to:


* December 23, 2010 
* Re:   Can't use NoteNames twice in score block ??, 
Michael   
Ellis, 11:25
* Re:   Lily dances, Mike Solomon, 04:49
* Re:   Lily dances, Mike Solomon, 04:48
* Re:   Lily Dances -- lilypond-user Digest, Vol 97, Issue 
111, 
Mike Solomon, 04:44
* Re:   lilypond-user Digest, Vol 97, Issue 111, Valentin   

Villenave, 03:12
* December 22, 2010 
* Re:   lilypond-user Digest, Vol 97, Issue 111, MING   

TSANG, 22:39
* Re:   Can't use NoteNames twice in score block ??, Carl   

Sorensen, 10:46
* Lily   dances, Mike Solomon, 10:31
* Lily   dances, Mike Solomon, 10:30
* Re:   Can't use NoteNames twice in score block ??, 
Michael   
Ellis, 10:08
* Re:   pb with 2.13 with doc example fret diagram, David   

Kastrup, 01:19
* December 21, 2010 
* Re:   Can't use NoteNames twice in score block ??, Carl   

Sorensen, 22:18
* Re:   pb with 2.13 with doc example fret diagram, Carl
   
Sorensen, 21:43
  *  In this case we are interested in the entry by Mike Solomon with the 
Subject:  Lily dances which was digested on 22 Dec 2010.  I don't know why 
there are two such entries, but they seem to be identical.  Click on either 
one and you will get the original entry with valid links that are clickable 
and will actually function correctly___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Can't use NoteNames twice in score block ??

2010-12-23 Thread jakob lund
2010/12/23 Michael Ellis michael.f.el...@gmail.com:
 Thanks, Jakob! I didn't understand that a music-filter acts recursively on
 containers and their contents.  I had some vague notion that it simply
 passed or rejected elements at the top  level of a list.  Your example is
 what I needed.  For my purposes I needed to add RestEvent and
 TransposedMusic to the list of types but that was a logical extension once I
 saw the pattern.
 #(define (filterEvent event)
         (let ((name (ly:music-property event 'name)))
              (or
                (eq? name 'EventChord)
                (eq? name 'NoteEvent)
                (eq? name 'RestEvent)
                (eq? name 'RelativeOctaveMusic)
                (eq? name 'TransposedMusic)
                (eq? name 'SequentialMusic
 With this, I can now create multiple staff scores with solfege symbols under
 each staff.  The only problem remaining is that the page layout is
 apparently not taking into account the extra vertical space needed for the
 solfege text, so I get incomplete systems at the bottom of the page. The
 layout has no problems if I remove the NoteNames contexts that generate the
 solfege.

that sounds strange -- from what you write, it sounds like a problem
with the NoteNames context rather than with what you feed into it...
Can you give a simple example where that happens? Have you tried if
something simple like
  \context NoteNames { \repeat unfold 40 c'4 }
can provoke the same problem?

 Do I need to add some other types to my filter or is this another problem
 altogether?
 Cheers,
 Mike


 On Thu, Dec 23, 2010 at 5:15 AM, jakob lund jakob.be...@gmail.com wrote:

 #(define (filterEvent event)
         (let ((name (ly:music-property event 'name)))
              (or
                (eq? name 'EventChord)
                (eq? name 'NoteEvent)
                (eq? name 'RelativeOctaveMusic)
                (eq? name 'SequentialMusic

 onlynotes = #(define-music-function (P L M) (ly:music?)
                                    (music-filter filterEvent M))

 { %\displayMusic
  \onlynotes
  \relative c'' { \key a \major cis d16 } }
 -


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


fretboard with fingers on the same string / scale

2010-12-23 Thread Marc Mouries


  
  
Lilyponders,

I might be pushing the fretboard to its limit but i just found a
very useful use after a discussion with my Violin teacher and I'd
like to know if it's possible to print fingers dot on the same
strings.

It can also be used to print scales like the following on guitar:


I tried the following but that did not product the expected outcome:
violinTuning = #'(16 9 2 -5)

patternA = g d' bf' g'' 
patternB =  g\4 d'\3 bf'\2 g'\1 bf'\1

\storePredefinedDiagram #default-fret-table \patternA
 #violinTuning
 #"o;o;1-1;3-2;"

\storePredefinedDiagram #default-fret-table \patternB
 #violinTuning
 #"4-o-o;3-o-o;2-1-1;1-2-3;1-6-4;"


The patternB adds a B flat on the E string (6th) with the 4th
finger.



-Marc

  

\version 2.13.18
\language english
#(set-global-staff-size 26)

\header{
	title = Patterns Bach Presto
	composer = 
	tagline = 
}

violinTuning = #'(16 9 2 -5)

patternA= g   d' bf' g'' 
patternB=  g\4  d'\3  bf'\2  g'\1 bf'\1

\storePredefinedDiagram #default-fret-table \patternA
#violinTuning
#o;o;1-1;3-2;

\storePredefinedDiagram #default-fret-table \patternB
#violinTuning
#4-o-o;3-o-o;2-1-1;1-2-3;1-6-4;
		

patterns = {
  \patternA   s8  \patternB
}
		
\score {
  
\new FretBoards {
  \set stringTunings = #violinTuning
  \override FretBoard #'(fret-diagram-details string-count) = #'4
  \override FretBoard #'(fret-diagram-details finger-code) = #'in-dot
	  \override FretBoard #'(fret-diagram-details orientation) = #'landscape
  \patterns
}
\new Staff {
	  \relative g'' {
\clef treble
\time 3/8
\key d \minor
\repeat volta 2 { %begin 1st section
	  	  %{#  1 %} g16  [ bf  g   d   g   d  ]
	  	  %{#  2 %}	bf16 [ d   bf  g   bf  g  ]	
}
  }
}
  
}___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user