Re: Lilypond on iPhone

2010-02-05 Thread Eric Knapp
On Thursday, February 4, 2010, Dave Addey wrote: > > > Hi all, > > I’m wondering if anyone has built or tried to build the Lilypond library for > the iPhone platform, to render engraved music on an iPhone-OS-powered device? >  I’m considering this for an upcoming project, and wanted to ask a few

Re: Question about scheme engravers

2010-01-19 Thread Eric Knapp
Thanks, Carl. I am making a bit progress, but I haven't cracked the fingerings in a chord, yet. I'll post another with my source to the devel list. -Eric On Mon, Jan 18, 2010 at 4:49 PM, Carl Sorensen wrote: > On 1/18/10 2:41 PM, "Eric Knapp" wrote: > >> Hello

Question about scheme engravers

2010-01-18 Thread Eric Knapp
Hello, everyone. I'm working on creating engravers in scheme. I have the example from here: http://codereview.appspot.com/181109/show In the example file named, "scheme-engraver.ly" there is this piece of code: (cons 'rest-event (lambda (engraver event) (let* ((x (ly:en

Re: Trying to build latest dev version on OS X 10.6.2

2010-01-18 Thread Eric Knapp
I'll just use the new download on OS X and build it on linux when I need a nightly. Thanks, -Eric On Fri, Jan 15, 2010 at 4:43 PM, Eric Knapp wrote: > Hello, > > I'm having problems trying to build lilypond from source. I just got > the source with this: > >  gi

Trying to build latest dev version on OS X 10.6.2

2010-01-15 Thread Eric Knapp
Hello, I'm having problems trying to build lilypond from source. I just got the source with this: git clone git://git.sv.gnu.org/lilypond.git Then I followed the instructions from Nicholas Sceaux here: http://nicolas.sceaux.free.fr/index.php/2008/11/30/26-building-lilypond-from-git-source

Re: Staff Tab notation support?

2010-01-09 Thread Eric Knapp
On Sat, Jan 9, 2010 at 11:33 AM, Carl Sorensen wrote: > > > > > Eric Knapp asked about doing something for Chapman Stick in 2008, but as far > as I know, nothing ever came of it. > > I doubt that there are any developers here at LilyPond that will take the > lead in de

Re: Variable substitution in postscript?

2009-05-25 Thread Eric Knapp
Thanks, Mark. This works and will really help with the custom things I want to do. -Eric On Monday, May 25, 2009, Mark Polesky wrote: > > Eric Knapp wrote: >> What I want to do is have the value of the "thickness" variable >> replace the "0.25" in the

Variable substitution in postscript?

2009-05-25 Thread Eric Knapp
Hi, all. I'm attempting to create some music functions that have some postscript commands in them. Is there a way to pass an argument from the Scheme music function into the embedded postscript? Here's a simplified example that makes a hollow square notehead: The function: sample = #(define-musi

Re: leopard in the pond

2008-08-27 Thread Eric Knapp
If you have trouble doing this with macports please report the issues here, I would be glad to try to help. Macports can be fussy and there are way to make it behave if you have had to spend some time with it like I have. The dependencies were a mystery to me for a long time and since I really want

Re: point and click, was: Template: String Quartet (score-only), first draft

2008-08-17 Thread Eric Knapp
I have it working with Preview and TextMate. There are others with it working with other editors. It involves some applescript. There was a thread earlier this summer on it, here's the link to the thread: http://lists.gnu.org/archive/html/lilypond-user/2008-07/msg00031.html I was using LilypondToo

Re: Lilypond under Leopard

2008-07-19 Thread Eric Knapp
I have successfully compiled lilypond 2.11.50 and 2.11.52 on my mac. It is worth the effort since the resulting application is so much faster. How did your efforts fail? MacPorts can be fussy and I had to do some juggling of dependencies to get everything installed correctly. And a few of the requi

Re: Changing notes based on fingerings

2008-07-17 Thread Eric Knapp
Hello, Nicolas. On Thu, Jul 17, 2008 at 8:12 AM, Nicolas Sceaux <[EMAIL PROTECTED]> wrote: > > Do you mean a FingeringEvent music expression, or a Fingering grob? > Once you have grobs, it's too late for modifying music expressions. > You can navigate down music expressions, but not up. But see be

Changing notes based on fingerings

2008-07-16 Thread Eric Knapp
The next issue in trying to extend Lilypond for my instrument is that I want to change things in the Note based on the text in the Fingering. Here's an example, this displayMusic call results in the make-music call that is after it. I have code working that gives me the "2" from the FingeringEvent

Determining Fingering digit?

2008-07-15 Thread Eric Knapp
Hi, all. This is a working example that I got from the LSR. It is used with \applyOutput: #(define (mc-squared grob grob-origin context) (let* ( (ifs (ly:grob-interfaces grob)) (sp (ly:grob-property grob 'staff-position)) ) (if (memq 'note-head-interface ifs) (begin (ly:grob

Re: Creating Chorded Notes

2008-07-12 Thread Eric Knapp
'duration > (ly:make-duration 1 0 1 1) > 'pitch > (ly:make-pitch -1 5 0)) > (make-music > 'NoteEvent > 'duration > (ly:make-duration 1 0 1 1) >

Creating Chorded Notes

2008-07-12 Thread Eric Knapp
Hi, all. I'm trying to write a music function that creates chorded notes. I'm starting simply and I'm stumped. How would I create this simple music expression in a function? 2 Is there a grob for these? What I'm working on is being able to customize the individual NoteHead and Stem grobs for e

Re: Custom noteheads and chords

2008-07-09 Thread Eric Knapp
Music functions? Ah, ha! That may be the answer. I'm embarrassed to say it but I actually teach computer programming at a college and I didn't know about music functions. I think I will be using them a lot now that I have read about them. I can't believe that I haven't stumbled on them before. I wi

Special Markup Within Staff?

2008-07-09 Thread Eric Knapp
Hello, I'm trying to use lilypond to do the full notation of my instrument, the Chapman Stick. The one feature that I'm really struggling with are String Markers. The Chapman Stick has lots of strings, 8, 10, or 12, and its notation uses special markers on the staff lines to indicate strings. This

Custom noteheads and chords

2008-07-09 Thread Eric Knapp
Hello, With the help of a recent thread I have custom noteheads working just the way I want them except for one detail. I would like to have chords where each note in the chord has a different custom notehead. Here's an example. This works and each note has its own custom notehead. { \noteheadO

Re: defining custom note heads

2008-07-07 Thread Eric Knapp
08 at 3:06 PM, Neil Puttock <[EMAIL PROTECTED]> wrote: > Hi Eric, > > 2008/7/7 Eric Knapp <[EMAIL PROTECTED]>: >> I have one more piece of the puzzle to solve. How do you translate >> this markup command into scheme? >> >> \draw-line #'(4 . 4) >

Re: defining custom note heads

2008-07-07 Thread Eric Knapp
#ly:text-interface::print >> \once \override NoteHead #'text = #(markup #:combine #:halign >> -0.7 #:draw-circle 0.85 0.2 #f #:musicglyph "noteheads.s2cross") } >> >> >> \score{ >> { >> \relative c' >> {\headCircle c4.

Re: defining custom note heads

2008-07-07 Thread Eric Knapp
> > > \score{ >{ > \relative c' > {\headCircle c4. %%% just use musicglyph > \headTriW d %%% just draw > \headXinD e %%% combine drawing with musicglyph > f %%% normal notehead > } &

Re: defining custom note heads

2008-07-07 Thread Eric Knapp
doc/v2.11/Documentation/user/lilypond/The-Feta-font#The-Feta-font > > But you can also draw lines, circles, etc. basically anything you can > > do in a markup. See > > http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Text-markup-commands#Text-markup-commands > > >

Re: defining custom note heads

2008-07-07 Thread Eric Knapp
Hello, I'm trying to get the second option below to work. This is one where you use markup commands to create the notehead. I can't get the syntax right, could you also provide an example of that? Thanks, -Eric On Tue, Jun 3, 2008 at 10:20 AM, v!ictor [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrot

Lilypond working on Mac OS X 10.5, thanks

2008-07-02 Thread Eric Knapp
Hi, all. I used the excellent instructions from Nicolas Sceaux and was successful in building lilypond 2.11.50 on my new macbook pro. I'm only using it on the command line or with command line utilities and I'm really appreciating the speed. Many thanks to Nicolas and this list for steering me in

Re: Smaller PDF, shrinking away largeness

2007-12-14 Thread Eric Knapp
On Dec 13, 2007 12:18 PM, daf <[EMAIL PROTECTED]> wrote: > > In the interim, PDFCreator is a free win utility and does a great job of > stripping the extra bytes away: simply install, select PDFCreator as your > printer and print. The resulting output can be 80% smaller, or more. > > http://sourc

associatedVoice question

2007-08-07 Thread Eric Knapp
Hi, I'm still trying to get my lyrics centerered on notes and I'm trying to set the associatedVoice property. This is the warning I'm getting: "Lyric syllable does not have note. Use \lyricsto or associatedVoice." Since I want to use lyricmode I am trying to figure out where to put the \set

Re: Trying to center lyrics

2007-08-06 Thread Eric Knapp
On 8/6/07, Valentin Villenave <[EMAIL PROTECTED]> wrote: > I think the command you're looking for is > > \override LyricText #'self-alignment-X = #0 > > Does it help? > > Valentin > That doesn't seem to work. I think I did try that and everything else I could find in the manual before I sent this

Re: Trying to center lyrics

2007-08-06 Thread Eric Knapp
On 8/6/07, Eric Knapp <[EMAIL PROTECTED]> wrote: > Hi, all. > > Based on input from this list, I'm using lyrics to show fret postions > for the Chapman Stick. I have attached a full source file that is a > sample part of the piece I'm currently working on. I also

Trying to center lyrics

2007-08-06 Thread Eric Knapp
Hi, all. Based on input from this list, I'm using lyrics to show fret postions for the Chapman Stick. I have attached a full source file that is a sample part of the piece I'm currently working on. I also attached an image of what the file generates in lilypond 2.10.25. This is very close to what

Re: How do I make these measures?

2007-08-02 Thread Eric Knapp
On 8/1/07, Eric Knapp <[EMAIL PROTECTED]> wrote: > Hi, all. > > I have attached 2 images of measures that I would like to make in the > best way possible. OK, I guess I asked too vague of a question, again. I will repost with a more complete example of what I'

How do I make these measures?

2007-08-01 Thread Eric Knapp
Hi, all. I have attached 2 images of measures that I would like to make in the best way possible. Here is the code I'm currently using for sample 1: << { \setUpFingeringsDotted 2. } \\ { \setUpFingerings r4 2 } >> Here is sample 2: << { \setUpFingerings 4\< } \\ { \setUpFingeri

Re: Chord Font Size

2007-08-01 Thread Eric Knapp
On 8/1/07, Eric Knapp <[EMAIL PROTECTED]> wrote: > how do I change the font size for chord names? In another thread someone pointed me to this thread from the archive: http://lists.gnu.org/archive/html/lilypond-user/2006-03/msg00279.html >From that I am changing the size of th

Re: Can I make this chord?

2007-08-01 Thread Eric Knapp
On 8/1/07, Dominic Neumann <[EMAIL PROTECTED]> wrote: > > Thanks, Dominic. That works fine. Does anyone know where this syntax > > is documented? I would love to have a cheat sheet of all the chords. > > This is documented in the manual. I just found it in the manual and I intend to make myself a

Re: Can I make this chord?

2007-08-01 Thread Eric Knapp
On 8/1/07, Dominic Neumann <[EMAIL PROTECTED]> wrote: > Hi, type > > c:6.9/d > Thanks, Dominic. That works fine. Does anyone know where this syntax is documented? I would love to have a cheat sheet of all the chords. Now if I could only figure out how to make the font size smaller for the chord n

Can I make this chord?

2007-08-01 Thread Eric Knapp
Hi, all. Is it possible to create this chord name? I have attached an image of what I want. Thanks, -Eric <>___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Chord Font Size

2007-08-01 Thread Eric Knapp
Hi, all. The more I learn about LilyPond the more I like it, thanks to all. My next questions is how do I change the font size for chord names? I am getting them to appear in the correct place and I have altered the maj7 symbol to my liking, so I'm making progress. Thanks, -Eric __

Re: Another midi2ly question

2007-07-11 Thread Eric Knapp
e that directory and run lilypond again. Cheers, - Graham Eric Knapp wrote: > Correction. I am now getting the same error with my own files. The one > piece of information I forgot to mention is that I was originally > running the PPC version of lilypond and when I realized that I wen

Re: Another midi2ly question

2007-07-11 Thread Eric Knapp
? Thanks, -Eric On 7/11/07, Eric Knapp <[EMAIL PROTECTED]> wrote: Hi, all. I am on Mac OS X on Intel and I'm using LilyPond 2.10.25-2. I am trying to convert some midi files to .ly files. The midi2ly script works and then I use convert-ly and it works too. The resulting .ly file loo

Another midi2ly question

2007-07-11 Thread Eric Knapp
Hi, all. I am on Mac OS X on Intel and I'm using LilyPond 2.10.25-2. I am trying to convert some midi files to .ly files. The midi2ly script works and then I use convert-ly and it works too. The resulting .ly file looks fine but when I run the lilypond script against the file I get this error out

lyrics above the staff

2007-07-09 Thread Eric Knapp
Hi, all. I would to place some text as lyrics above a staff. I'm doing this for vertical alignment. I am reading everything I can find about lyrics and can't find it. Thanks, -Eric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gn

aligning text with example

2007-07-09 Thread Eric Knapp
Hello, My first post to the list was ignored. I'm guessing that my question was too broad and basic and I apologize for that. I will now try some more focused questions. Here's the first. How would I align the text at the bottom of this example? http://dovetailcomputing.com/images/fretsExample.

Chapman Stick StaffTab notation

2007-06-29 Thread Eric Knapp
Hello, I am new to this list and have been lurking for a while. I am a computer programmer and a musician and I play the Chapman Stick (http://www.stick.com/). Please accept my apologies if this question has been covered. There is a newer notation system for the Stick that beautifully combines t