[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: change notehead without changing duration
From:       "mike () apollinemike ! com" <mike () apollinemike ! com>
Date:       2012-06-26 4:58:54
Message-ID: 2C5CC0E6-0CB9-48DA-A5CA-7C2053A6B3B3 () apollinemike ! com
[Download RAW message or body]

On 26 juin 2012, at 00:08, Jeffrey Trevino wrote:

> Huzzah! Like a charm. A sort-of related question: Is there a straightforward \
> tutorial somewhere about creating custom noteheads and flags? There's a good \
> snippet about new flags, but I have yet to see something about creating new \
> notehead sets with Scheme.  
> thanks for your help,
> Jeff
> 
> On Mon, Jun 25, 2012 at 2:14 PM, David Kastrup <dak@gnu.org> wrote:
> "mike@apollinemike.com" <mike@apollinemike.com> writes:
> 
> > On 25 juin 2012, at 23:02, Jeffrey Trevino wrote:
> > 
> > > Hi there,
> > > 
> > > Is there a straightforward way to change a notehead glyph without
> > > changing the note's duration? I'm doing a beamless, stemless
> > > notation, and I'd like to make some half notes look like quarter
> > > notes, although they should still be half notes to Lilypond.
> > > 
> > > thank ya,
> > > Jeff
> > > 
> > 
> > \relative c'' {
> > \override NoteHead #'duration-log = #1
> > a4 a a a
> > \override NoteHead #'duration-log = #2
> > a2 a a a
> > }
> > 
> > Go Cardinal!
> 
> Seems like a4*2 and a2*1/2 are a bit simpler to use.
> 
> --
> David Kastrup
> 
> 
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> 
> -- 
> γ€Šγ€ γ€‹γ€‘γ€Άγ€γ€–γ€ γ€—γ€Άγ€›γ€·γ€š
> Jeff TreviΓ±o
> PhD Candidate in Music Composition
> @ the University of California, San Diego
> γ€–γ€ γ€—γ€Άγ€›γ€·γ€šγ€Šγ€ γ€‹γ€‘γ€Ά
> Skype: jeffreytrevino
> E-mail: jeffrey.trevino@gmail.com
> γ€šγ€Šγ€ γ€‹γ€‘γ€Άγ€γ€–γ€ γ€—γ€Άγ€›γ€·
> 9310H Redwood Dr.
> La Jolla, CA 92037
> USA
> γ€–γ€ γ€—γ€Άγ€›γ€·γ€šγ€Šγ€ γ€‹γ€‘γ€Άγ€
> 
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

\relative c'' {
  \override NoteHead #'stencil = #(make-circle-stencil 0.4 2 #f)
  a a c c
  \override NoteHead #'style = #'petrucci % for centered stems
  a a c c
}

Or whatever custom stencil floats your boat!

Cheers,
MS


[Attachment #3 (unknown)]

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; "><br><div><div>On 26 juin 2012, at 00:08, \
Jeffrey Trevino wrote:</div><br class="Apple-interchange-newline"><blockquote \
type="cite">Huzzah! Like a charm. A sort-of related question: Is there a \
straightforward tutorial somewhere about creating custom noteheads and flags? There's \
a good snippet about new flags, but I have yet to see something about creating new \
notehead sets with Scheme. <br> <br>thanks for your help,<br>Jeff<br><br><div \
class="gmail_quote">On Mon, Jun 25, 2012 at 2:14 PM, David Kastrup <span \
dir="ltr">&lt;<a href="mailto:dak@gnu.org" target="_blank">dak@gnu.org</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"> <div class="HOEnZb"><div class="h5">"<a \
href="mailto:mike@apollinemike.com">mike@apollinemike.com</a>" &lt;<a \
href="mailto:mike@apollinemike.com">mike@apollinemike.com</a>&gt; writes:<br> <br>
&gt; On 25 juin 2012, at 23:02, Jeffrey Trevino wrote:<br>
&gt;<br>
&gt;&gt; Hi there,<br>
&gt;&gt;<br>
&gt;&gt; Is there a straightforward way to change a notehead glyph without<br>
&gt;&gt; changing the note's duration? I'm doing a beamless, stemless<br>
&gt;&gt; notation, and I'd like to make some half notes look like quarter<br>
&gt;&gt; notes, although they should still be half notes to Lilypond.<br>
&gt;&gt;<br>
&gt;&gt; thank ya,<br>
&gt;&gt; Jeff<br>
&gt;&gt;<br>
&gt;<br>
&gt; \relative c'' {<br>
&gt; &nbsp; \override NoteHead #'duration-log = #1<br>
&gt; &nbsp; a4 a a a<br>
&gt; &nbsp; \override NoteHead #'duration-log = #2<br>
&gt; &nbsp; a2 a a a<br>
&gt; }<br>
&gt;<br>
&gt; Go Cardinal!<br>
<br>
</div></div>Seems like a4*2 and a2*1/2 are a bit simpler to use.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
David Kastrup<br>
<br>
<br>
_______________________________________________<br>
lilypond-user mailing list<br>
<a href="mailto:lilypond-user@gnu.org">lilypond-user@gnu.org</a><br>
<a href="https://lists.gnu.org/mailman/listinfo/lilypond-user" \
target="_blank">https://lists.gnu.org/mailman/listinfo/lilypond-user</a><br> \
</div></div></blockquote></div><br><br clear="all"><br>-- <br>γ€Šγ€ γ€‹γ€‘γ€Άγ€γ€–γ€ \
γ€—γ€Άγ€›γ€·γ€š<br>Jeff TreviΓ±o<br>PhD Candidate in Music Composition<br>@ the \
University of California, San Diego<br>γ€–γ€ γ€—γ€Άγ€›γ€·γ€šγ€Šγ€ γ€‹γ€‘γ€Ά<br>Skype: \
jeffreytrevino<br>E-mail: <a href="mailto:jeffrey.trevino@gmail.com" \
target="_blank">jeffrey.trevino@gmail.com</a><br> γ€šγ€Šγ€ γ€‹γ€‘γ€Άγ€γ€–γ€ \
γ€—γ€Άγ€›γ€·<br>9310H Redwood Dr.<br>La Jolla, CA 92037<br>USA<br>γ€–γ€ \
γ€—γ€Άγ€›γ€·γ€šγ€Šγ€ γ€‹γ€‘γ€Άγ€<a href="http://www.jeffreytrevino.com/" \
target="_blank"><br></a><br> \
_______________________________________________<br>lilypond-user mailing list<br><a \
href="mailto:lilypond-user@gnu.org">lilypond-user@gnu.org</a><br>https://lists.gnu.org/mailman/listinfo/lilypond-user<br></blockquote></div><br><div><div>\relative \
c'' {</div><div>&nbsp; \override NoteHead #'stencil = #(make-circle-stencil 0.4 2 \
#f)</div><div>&nbsp; a a c c</div><div>&nbsp; \override NoteHead #'style = #'petrucci \
% for centered stems</div><div>&nbsp; a a c \
c</div><div>}</div><div><br></div></div><div>Or whatever custom stencil floats your \
boat!</div><div><br></div><div>Cheers,</div><div>MS</div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic