Re: Extracting pitch names from music

2010-12-09 Thread Michael Ellis
Just found the markup macro in the docs. Changing (ly:grob-set-property! grob 'text new-name) to (ly:grob-set-property! grob 'text (markup #:italic #:smaller new-name)) does what I'm looking for. Is this the right way to handle issues like this? By that question, I think I really

Re: Extracting pitch names from music

2010-12-09 Thread Valentin Villenave
On Thu, Dec 9, 2010 at 7:02 PM, Michael Ellis michael.f.el...@gmail.com wrote: Putting the \midi block inside a separate \score block solved the audio doubling issue. I could still use some suggestions regarding how to control the font properties of the NoteNames output. With lyrics, I can do

Re: Extracting pitch names from music

2010-12-09 Thread Michael Ellis
Putting the \midi block inside a separate \score block solved the audio doubling issue. I could still use some suggestions regarding how to control the font properties of the NoteNames output. With lyrics, I can do things like \context { \Lyrics %% Pack stanzas a little closer

Extracting pitch names from music

2010-12-07 Thread Michael Ellis
/questions/4378228/lilypond-extracting-pitch-names-from-music but I'm not sure how many LilyPond gurus are active there, so it seems worthwhile to ask the same question here. Thanks, Mike ___ lilypond-user mailing list lilypond-user@gnu.org http

Re: Extracting pitch names from music

2010-12-07 Thread Valentin Villenave
On Tue, Dec 7, 2010 at 4:35 PM, Michael Ellis michael.f.el...@gmail.com wrote: It seems to me that the best solution would be to use LilyPond's built-in Scheme interpreter to extract the pitch names while the file is being processed. I've made some attempts to use map with ly:note-pitchname,

Re: Extracting pitch names from music

2010-12-07 Thread Michael Ellis
Thanks Valentin, that's quite helpful. I ended up taking an approach you suggested in a previous posthttp://lists.gnu.org/archive/html/lilypond-user/2010-10/msg00687.htmlto this list. Using the NoteNames context with alternative note names seems to be doing pretty much everything I want. Here's