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

2011-02-11 Thread Michael Ellis
On Fri, Feb 11, 2011 at 8:53 AM, Phil Holmes wrote: > > Michael, > > Did you make any progress with creating a Tiny example of this issue? > No. I tried for a while and then decided to let it sleep. It's not impacting the things I'm currently doing with LilyPond. Thanks for asking! If it's a r

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

2011-02-11 Thread Phil Holmes
- Original Message - From: Michael Ellis I'm not having much luck reducing it down to a minimal example. I have family visiting for the next few days, so I'll try to pick it back up after Christmas. Cheers and happy holidays to all!, Mike Michael, Did you make any progress with

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

2010-12-24 Thread Michael Ellis
Hi Jakob, I'm not having much luck reducing it down to a minimal example. I have family visiting for the next few days, so I'll try to pick it back up after Christmas. Cheers and happy holidays to all!, Mike On Thu, Dec 23, 2010 at 4:28 PM, jakob lund wrote: > 2010/12/23 Michael Ellis : > >

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

2010-12-23 Thread jakob lund
2010/12/23 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

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

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

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 t

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

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

2010-12-23 Thread jakob lund
2010/12/23 Michael Ellis : > 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 (p

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

2010-12-22 Thread Michael Ellis
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?)

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

2010-12-22 Thread Michael Ellis
Thanks, Carl. This looks promising ... Cheers, Mike On Wed, Dec 22, 2010 at 10:46 AM, Carl Sorensen wrote: > On 12/22/10 8:08 AM, "Michael Ellis" wrote: > > > > > > Putting this together with your workaround produces the code and output > shown > > below. This works quite well. So the issue

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

2010-12-22 Thread Carl Sorensen
On 12/22/10 8:08 AM, "Michael Ellis" 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 > instrum

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

2010-12-22 Thread 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. 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

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

2010-12-21 Thread Carl Sorensen
On 12/21/10 5:14 PM, "Michael Ellis" wrote: > On Tue, Dec 21, 2010 at 7:12 PM, Michael Ellis > wrote: >> While working with a much larger version of the score below  (BWV 206 chorale >> in 4 voices),  I tried using the NoteNames engraver to put note names under >> each voice.  For some reason

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

2010-12-21 Thread Michael Ellis
Oops wrong image for ok.png in previous msg. Cheers, Mike On Tue, Dec 21, 2010 at 7:12 PM, Michael Ellis wrote: > While working with a much larger version of the score below (BWV 206 > chorale in 4 voices), I tried using the NoteNames engraver to put note > names under each voice. For some re

Can't use NoteNames twice in score block ??

2010-12-21 Thread Michael Ellis
While working with a much larger version of the score below (BWV 206 chorale in 4 voices), I tried using the NoteNames engraver to put note names under each voice. For some reason, invoking it twice causes the clef and instrument name to change on the top staff. The notes (and the note names)