Re: defining custom note heads

2018-07-27 Thread rodrigo
I was searching how to do the same thing and found this thread. I know this is an old post, but following the example of Lilypond documentation for using numbers instead of note names, I created the following snippet to show custom note names: #(define Note_name_engraver_pt (make-engraver

Re: defining custom note heads

2008-07-07 Thread Eric Knapp
Thank you, Neil. That is a very good point and I'm now switching to standard \markup usage. An thanks to everyone who chimed in here. I have been trying to develop a way to notate for my instrument, the Chapman Stick, for a long time. I really made a big leap today. -Eric On Mon, Jul 7, 2008 at 3

Re: defining custom note heads

2008-07-07 Thread Neil Puttock
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) #:draw-line '(4 . 4) or #:draw-line (cons 4 4) > Some of the markup commands call for pairs of numbers. I can't find

Re: defining custom note heads

2008-07-07 Thread Eric Knapp
I have one more piece of the puzzle to solve. How do you translate this markup command into scheme? \draw-line #'(4 . 4) Some of the markup commands call for pairs of numbers. I can't find any docs for how the pairs are coded in scheme. Thanks, -Eric On Mon, Jul 7, 2008 at 1:31 PM, Eric Knap

Re: defining custom note heads

2008-07-07 Thread Eric Knapp
Thanks, Victor! I see the correct syntax now and I have it working. This is really great, I've been trying to do this for a long time. -Eric On Mon, Jul 7, 2008 at 1:23 PM, V!ctor Adán <[EMAIL PROTECTED]> wrote: > Hello Eric, > > here are a few more examples. > The first (headCircle) is the one

Re: defining custom note heads

2008-07-07 Thread V!ctor Adán
Hello Eric, here are a few more examples. The first (headCircle) is the one I had given before. It just calls musicgryph inside a markup. The second (headTriW) just draws a triangle. Notice how you can set the size with the fontsize command. The third (headXinD) combines (with the combine directi

Re: defining custom note heads

2008-07-07 Thread James E. Bailey
On Mon, Jul 7, 2008 at 12:09 PM, James E. Bailey <[EMAIL PROTECTED]> wrote: On Tue, Jun 3, 2008 at 10:20 AM, v!ictor [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello Brian, There are two things you need to do to create arbitrary noteheads from within lilypond: 1. change the NoteH

Re: defining custom note heads

2008-07-07 Thread Eric Knapp
I have it working when you define glyphs, like this: headCircle = {\once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = #(markup #:musicglyph "scripts.flageolet" ) } What I can't get to work is what Victor mentioned but didn't give and e

Re: defining custom note heads

2008-07-07 Thread James E. Bailey
On Tue, Jun 3, 2008 at 10:20 AM, v!ictor [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello Brian, There are two things you need to do to create arbitrary noteheads from within lilypond: 1. change the NoteHead stencil to the text interface: \once \override NoteHead #'stencil = #ly:text-

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

Re: defining custom note heads

2008-06-03 Thread v!ctor [EMAIL PROTECTED]
Hello Valentin, > Thanks Victor (nice to see you again :-) you too! > > I have added your example to the LSR: > http://lsr.dsi.unimi.it/LSR/Item?id=475 excellent! > > Your workaround with the tuplets (on the other thread) is really nice, > feel free to add it to the LSR if you want (I'd have

Re: defining custom note heads

2008-06-03 Thread Valentin Villenave
2008/6/3 v!ictor [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > There are two things you need to do to create arbitrary noteheads from > within lilypond: Thanks Victor (nice to see you again :-) I have added your example to the LSR: http://lsr.dsi.unimi.it/LSR/Item?id=475 Your workaround with the tup

Re: defining custom note heads

2008-06-03 Thread v!ictor [EMAIL PROTECTED]
Hello Brian, There are two things you need to do to create arbitrary noteheads from within lilypond: 1. change the NoteHead stencil to the text interface: \once \override NoteHead #'stencil = #ly:text-interface::print 2. define the text attribute of the NoteHead. you can put any markup command yo

defining custom note heads

2008-05-23 Thread Brian Kidd
is there a way to define or import custom note heads? i'm interested in using specific symbols to indicate rhythmic notation in hand drumming. a picture of the symbols that i'd like to use for note heads is attached. sadly this image wasn't created in lilypond, but i figure it ought to be p