[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"><<a href="mailto:dak@gnu.org" target="_blank">dak@gnu.org</a>></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>" <<a \
href="mailto:mike@apollinemike.com">mike@apollinemike.com</a>> writes:<br> <br>
> On 25 juin 2012, at 23:02, Jeffrey Trevino wrote:<br>
><br>
>> Hi there,<br>
>><br>
>> Is there a straightforward way to change a notehead glyph without<br>
>> changing the note's duration? I'm doing a beamless, stemless<br>
>> notation, and I'd like to make some half notes look like quarter<br>
>> notes, although they should still be half notes to Lilypond.<br>
>><br>
>> thank ya,<br>
>> Jeff<br>
>><br>
><br>
> \relative c'' {<br>
> \override NoteHead #'duration-log = #1<br>
> a4 a a a<br>
> \override NoteHead #'duration-log = #2<br>
> a2 a a a<br>
> }<br>
><br>
> 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> \override NoteHead #'stencil = #(make-circle-stencil 0.4 2 \
#f)</div><div> a a c c</div><div> \override NoteHead #'style = #'petrucci \
% for centered stems</div><div> 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