Re: Aleatoric / modern notation

2012-11-09 Thread Jeffrey Trevino
Hi all,

I'm trying to get the frameEngraver3.ly code from this aleatoric notation
thread going on Lilypond 2.16.0-1, and I get the following errors:

GNU LilyPond 2.16.0
Processing `frameEngraver.ly'
Parsing...
frameEngraver.ly:27:1: error: GUILE signaled an error for the expression
beginning here
#
 (define-event-class 'frame-event
Unbound variable: define-event-class
Interpreting music...
frameEngraver.ly:209:48: warning: Event class should be a list
  \once \override Frame #'right-extra-padding =
#0
frameEngraver.ly:210:23: warning: Event class should be a list
  \frameStart dis'8[ e
   f \frameEnd ges] s2
frameEngraver.ly:212:44: warning: Event class should be a list
  \once \override Frame #'extender-length =
#12
frameEngraver.ly:213:22: warning: Event class should be a list
  \frameStart d,,8[ e
  f \frameEnd g] s2
frameEngraver.ly:215:44: warning: Event class should be a list
  \once \override Frame #'extender-length =
#3.5
frameEngraver.ly:216:23: warning: Event class should be a list
  \frameStart f'8[ aes
   g \frameEnd bes] s4
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `frameEngraver.ps'...
Converting to `./frameEngraver.pdf'...
fatal error: failed files: "frameEngraver.ly"

I can't code in Scheme, and I've yet to find any tutorial in the Lilypond
docs that would get me to this level of Scheme integration with Lilypond.
But it seems to be the case that it throws an error once for a scheme
function and again because of expected typing. Since a subsequent (relative
to the message to which frameEngraver3.ly was attached) message in the
thread recommended revision to frameEngraver3.ly, specifically the addition
of "\frameStart" command marks after the frame's first pitch, I've attached
my copy of the file to make it clear which code exactly has generated these
errors.

This might be a good scheme lesson for me, right here, come to think of it.
I've got LISP, so maybe I'm not as far as I think.

best,
Jeff


On Tue, Mar 13, 2012 at 9:33 AM, David Nalesnik wrote:

> Hi Mike,
>
> Excellent work!
>
>
> I'm glad you think so!
>
>
>>
>> I've attached a new file that addresses some of the issues you identify
>> above:
>>
>> --) It uses axis-group::width to box accidentals
>>
>
> Beautiful!  Now there's really no need for the extra padding properties.
>  (I've kept them in the attached file, but combined them into a single
> property which takes a pair = 'extra-padding.)
>
>
>> --) It creates a FrameStub grob to occupy the horizontal space that a
>> frame line takes up (note that I don't know if this actually works - I'm
>> not sure how to test it - but at least it doesn't crash!).  Whenever you
>> have a spanner that somehow occupies horizontal space at its bounds, you
>> can create stub grobs that approximate this space.  This technique also
>> works for items that, for whatever reason, have heights that are difficult
>> to approximate (see SpanBarStub and StemStub, for example).
>>
>
> This works great for spacing on the left side.  It wasn't working on the
> right, so I added 'extender-length in (plus a slight correction accounting
> for arrow-length, etc., which should be fairly easy to calculate). Now it
> will push everything forward nicely.
>
> One thing I've noticed, though, is that the line will not cross a bar
> line.  If I increase the length of the extender, the bar line is simply
> pushed to the right.  I figured out one way around this--namely, setting
> the X-extent of the bar line to (+inf.0 . -inf.0), which is what I do in
> the attached file. Of course this has other consequences.  Is there any
> other way?
>
> --) It gets rid of some dead or unused code.
>>
>
> Thank you very much for your improvements and explanations--I think I've
> learned quite a bit!
>
> Best,
> David
>
>
> ___
> 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.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【



jeffsCopyOfFrameEngraver3.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Aleatoric / modern notation

2012-11-13 Thread Jeffrey Trevino
Whoa --

It's marvelous to see such a detailed response to my question.

Most importantly, frameEngraver4 works! I will study the differences
between 3 and 4 to see what changed.

As mentioned, it seems to me that the best course of action would be to
make dynamic spanner creation a high development priority and an expected
user interaction: Custom notational constructs like these have been around
for half a century or so, and it would be especially welcoming to
contemporary composers if the system were to facilitate them with some kind
of interface.

If this can't happen, I'm grateful to have threads like these to
perpetually modify my contemporary music spanners at each new release.

thank you for your attention,
Jeff

On Mon, Nov 12, 2012 at 11:33 PM, David Kastrup  wrote:

> Janek Warchoł  writes:
>
> >>> - you can pay one of the experienced developers to implement
> >>> specifically this feature.  But that would probably be expensive, as
> >>> programming work is expensive in general.  You'll probably need to
> >>> find several other people willing to pay for this.
> >>
> >> I'm confused, I thought David was a developer - no?
> >
> > Yes, he is.  Our most active one at the moment.
> >
> >> You said paying him would not be a likely path to seeing
> >> this boxed notation implemented further, but rather just to help
> LilyPond
> >> in general, progress as software.
> >
> > It depends.  You can add $10/month to the "general David fund", just
> > to enable David working on LilyPond in general (that's continouous
> > financial support).  Or you can negotiate a specific contract with him
> > - or someone else - where you'd give that person a significantly
> > bigger amount of money once and he'd implement something specific
> > (that's hiring a programmer to implement a feature).
>
> There is also David Nalesnik who has been the one doing the previous
> implementation IIRC.
>
> The situation with me is that LilyPond users and developers are keeping
> me financially afloat with the understanding that I spend my available
> time on improving LilyPond according to what I consider best at the
> moment.
>
> Since I am excellent at programming and awful at self-discipline, this
> arrangement tends to deliver quite better value for the money than
> actually hiring me for more specific tasks.  And if I got stuck on more
> specific tasks, that would be to the detriment of the people who are
> already contributing to my costs of living.
>
> So we are in the somewhat absurd situation that people tend to recommend
> my services in order to improve my finances, but that I actually don't
> feel like I can in good conscience offer to do non-trivial "side jobs"
> that can cause me to deadlock for longer times.
>
> --
> 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.trev...@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


trill spanner and bass clef mark interfering; parenthesized noteheads on every notehead of tie; full width trill spanners

2012-11-13 Thread Jeffrey Trevino
Hi there,

Three trill questions for you experts:

1) I'm having trouble spanning some notes with a trill spanner when the
first spanned note has a bass clef mark attached and the trill spanner has
a specified pitch in parentheses --

When my staff looks like,

\new Staff {
\pitchedTrill
\clef "bass"
c'1 ~ \startTrillSpan b'
c'1 \stopTrillSpan
}

, I get a "b" whole note followed by a "c" whole note, without a trill. But
when my staff looks like,

\new Staff {
\pitchedTrill
c'1 ~ \startTrillSpan b'
c'1 \stopTrillSpan

, everything seems to be working fine. What am I doing wrong here?

2) How can I parenthesize my specified pitch by every notehead in a tie
chain, if my trill spanner spans multiple noteheads? The current output
puts the parenthesized notehead at the first notehead only.

3) How can I get the trill spanner to draw the squiggly line to the right
through the full spatial duration of the note? Should I use proportional
notation? Or maybe I can set something to do this like I can with full
tuplet bracket width?

baffled as usual,
Jeff

-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@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


Re: Aleatoric / modern notation

2012-11-13 Thread Jeffrey Trevino
Hi David,

This is a very help description. Maybe you could describe for me: I see
both the box duration as a spacer duration and the line duration as
"extender length," in what seem to be unitless units.

Here is an addition -- although I'm not sure if it's an improvement -- that
might be important in some cases: It seems that it would be helpful to
describe the line length of the arrow in terms of spacers if possible, to
more easily describe the duration occupied by the entire frame construct.
Likewise, I would like to be able to draw a bracket over the frame's
graphic duration, with a note duration or series of tied durations above
the bracket, centered, to indicate the duration of the frame clearly. I
don't know how this would work; maybe it would be possible to use a bracket
spanner and then enter durations?

thank you for your help,
Jeff

On Wed, Nov 14, 2012 at 4:58 AM, David Nalesnik wrote:

> Hi Ben,
>
> On Tue, Nov 13, 2012 at 8:46 PM, SoundsFromSound
>  wrote:
> > I'm trying to wrap my head around the frameEngraver4 and can't quite
> grasp
> > the syntax and how to customize the code to suit my needs.
> >
> > Is there a guide or cheat-sheet that explains how to use frameEngraver to
> > it's fullest potential?  I feel like it's a bit over my head and I feel
> lost
> > when trying to make sense of it.
> >
> > Thanks for any feedback.
> >
>
> Well, there's no guide or cheat-sheet, but I can give you a brief run
> through--which amounts to what you see in the example at the bottom.
> Basically,  you include the engraver as I do in the \layout block..
> Then, you surround the notes in your frame with \frameStart and
> \frameEnd.  You control the length of the line-with-arrow by
> overriding the property 'extender-length.  This line unfortunately
> won't cross a bar line unless you override the barline's X-extent to
> '(+inf.0 . -inf.0) -- i.e., so it has no X-extent at all.  (This is
> one of the issues I'll have to look into.)
>
> There's not much customization that's possible at the moment.  It
> would be relatively easy to add a property to control the height of
> the extender-line relative to the box (right now it's always
> centered), and I'll see about doing that.  I'll need to add a
> provision for controlling the width of the box.  The implementation
> here is pretty rudimentary--just designed to get something working.
>
> As I say, I'll need to look at some scores to see the kinds of
> customizations which are desirable.  If you have any ideas, please let
> me know.
>
> Most of what's in this file (anything above the example) might be
> tucked away into a file which you include to cut down on the mess.
>
> Hope this is helpful--
> David
>
> ___
> 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.trev...@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


parentesized trill note colliding with ties

2012-11-16 Thread Jeffrey Trevino
Hi there,

I'm trying to get my parenthesized trill notes to stop colliding with ties,
and I think there are a couple things I can learn by solving this problem.

First, I can't tell why the collision is happening -- is there a best
practice for figuring out why elements collide?

Second, I know that some collisions happen because of engraver order. Is
there a place I can look to see the default order of engravers, and how I
can change this order?

If the collision should be avoided by changing padding, it looks like I
might want to add some overrides to the PitchedTrillEngraver's
TrillPitchGroup grob at the level of the voice context (according to the
Internals reference).

thanks for taking a look,
Jeff

-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@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


Re: parentesized trill note colliding with ties

2012-11-19 Thread Jeffrey Trevino
Thanks, Nathan,

The slurs look fine, and it's clear from the output that the parenthesized
trill note needs to go up higher. Maybe there is a way to do this with
padding or something else that will use Lilypond's automated spacing
correctly to move everything around without causing other collisions.

thanks for your advise,
Jeff

On Sat, Nov 17, 2012 at 6:28 AM, Nathan  wrote:

> On Fri, Nov 16, 2012 at 9:23 AM, Jeffrey Trevino <
> jeffrey.trevi...@gmail.com> wrote:
>
>> Hi there,
>>
>> I'm trying to get my parenthesized trill notes to stop colliding with
>> ties, and I think there are a couple things I can learn by solving this
>> problem.
>>
>> First, I can't tell why the collision is happening -- is there a best
>> practice for figuring out why elements collide?
>>
>> Second, I know that some collisions happen because of engraver order. Is
>> there a place I can look to see the default order of engravers, and how I
>> can change this order?
>>
>> If the collision should be avoided by changing padding, it looks like I
>> might want to add some overrides to the PitchedTrillEngraver's
>> TrillPitchGroup grob at the level of the voice context (according to the
>> Internals reference).
>>
>> thanks for taking a look,
>> Jeff
>>
>
> Here are two ways of fixing such collisions manually:
>
> \new Staff \relative c'' {
>   % Collision:
>   \pitchedTrill b1~\startTrillSpan d b1\stopTrillSpan
>
>   % Fixed by moving tie:
>   \once \override Tie #'Y-offset = #0.75
>   \pitchedTrill b1~\startTrillSpan d b1\stopTrillSpan
>
>   % Fixed by reshaping tie (2.16+):
>   \shape Tie #'((0 . 0.5) (0 . 0.75) (0 . 0.75) (0 . 0.5))
>   \pitchedTrill b1~\startTrillSpan d b1\stopTrillSpan
> }
>
> But it seems to me that you want an automated solution, so this probably
> isn't very helpful.
>
> Regards,
> Nathan
>



-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


pitched trill spanner always displays accidental?

2012-11-19 Thread Jeffrey Trevino
Hi there,

Is it normal for the pitched trill spanner to always display an accidental
for its parenthesized pitch, even if the parenthesized pitch is natural and
doesn't need one? Is there a way to override this? I'm finding it immensely
frustrating to get at any of the attributes of this parenthesized note.

best,
Jeff

-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@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


Re: pitched trill spanner always displays accidental?

2012-11-20 Thread Jeffrey Trevino
Hi Harm,

I should have used the word "default" instead of just asking about what is
"normal." I meant to ask how to change the default behavior of
TrillPitchAccidental: With the code you have written, and the attributes I
find in the IR pages, I can suppress a natural sign if the pitch is natural
but must manually do so anytime this is the case. If the trill pitch
accidental can behave like other accidentals in Lilypond, then the problem
goes away.

More concisely: Is it possible for the trill pitch accidental grob to
behave like the regular accidental grob?

sorry to frustrate you,
Jeff

On Tue, Nov 20, 2012 at 11:13 AM, Thomas Morley <
thomasmorle...@googlemail.com> wrote:

> 2012/11/20 Jeffrey Trevino :
> > Hi there,
> >
> > Is it normal for the pitched trill spanner to always display an
> accidental
> > for its parenthesized pitch, even if the parenthesized pitch is natural
> and
> > doesn't need one? Is there a way to override this? I'm finding it
> immensely
> > frustrating to get at any of the attributes of this parenthesized note.
> >
> > best,
> > Jeff
>
> Hi Jeff,
>
> have a look in the IR, chapters
> 3.1.120 TrillPitchAccidental
> 3.1.121 TrillPitchGroup
> 3.1.122 TrillPitchHead
>
> You may want to use some of the properties you'll find there for
> overriding.
>
> Example:
>
> \version "2.16.0"
>
> \relative c'' {
> \once \override TrillPitchAccidental #'stencil = ##f
> \pitchedTrill
> d2\startTrillSpan f?
> d2
> c2\stopTrillSpan
> r2
>
> \once \override TrillPitchAccidental #'color = #red
> \once \override TrillPitchHead #'stencil =
>   #(lambda (grob)
> (grob-interpret-markup grob
> #{
> \markup \circle { \with-color #red \rotate #90 "(-:" }
> #}))
> \pitchedTrill
> eis4\startTrillSpan fis
> eis4\stopTrillSpan
>
> \once \override TrillPitchHead #'duration-log = #0
> \pitchedTrill
> eis4\startTrillSpan cis
> eis4\stopTrillSpan
> }
>
>
> BTW, due to my bad english-skills I find it immensely frustrating
> trying to read a post without code-example.
>
> -Harm
>



-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arrow notehead and articulation

2012-11-20 Thread Jeffrey Trevino
Hi Orm,

It might not be the best way to go, but one solution is to override the
Y-offset of the Script object. I added this override into "pfeilzwei" in
the code below, and it works just fine on my machine:

pfeileins = {
  \once \override NoteHead  #'stencil = #ly:text-interface::print
  \once \override NoteHead #'stem-attachment = #'( 0.1 . 1 )
  \once \override NoteHead #'text =
\markup {
\fontsize #5 {
\arrow-head #Y #UP ##f }}}

pfeilzwei = {
  \once \override NoteHead  #'stencil = #ly:text-interface::print
  \once \override NoteHead #'stem-attachment = #'( 0.1 . -1 )
  \once \override NoteHead #'extra-offset = #'( 0 . 2 )
  \once \override Script #'Y-offset = #'8
  \once \override NoteHead #'text =
\markup {
\fontsize #5 {
\arrow-head #Y #UP ##f }}}

\relative c''' { \pfeileins f-. \pfeilzwei f-. }


grüße aus Berlin,
Jeff Treviño

On Tue, Nov 20, 2012 at 3:06 PM, Orm Finnendahl <
o.finnend...@inm.mh-freiburg.de> wrote:

> Hi,
>
>  I'm trying to replace a notehead above the staff by an arrow
> indicating a very high pitch. Here is my code, resulting in the
> attached example png:
>
> pfeileins = {
>   \once \override NoteHead  #'stencil = #ly:text-interface::print
>   \once \override NoteHead #'stem-attachment = #'( 0.1 . 1 )
>   \once \override NoteHead #'text =
> \markup {
> \fontsize #5 {
> \arrow-head #Y #UP ##f }}}
>
> pfeilzwei = {
>   \once \override NoteHead  #'stencil = #ly:text-interface::print
>   \once \override NoteHead #'stem-attachment = #'( 0.1 . -1 )
>   \once \override NoteHead #'extra-offset = #'( 0 . 2 )
>   \once \override NoteHead #'text =
> \markup {
> \fontsize #5 {
> \arrow-head #Y #UP ##f }}}
>
> \relative c''' { \pfeileins f-. \pfeilzwei f-. }
>
> Unfortunately in "pfeileins" the ledger lines are intersecting the
> arrow. Moving the notehead up with the extra-offset property as in
> "pfeilzwei" doesn't seem to be the right way as the staccato dot isn't
> shifted up as well.
>
> What's the right way to get this done?
>
> --
> Orm
>
>
>
>
> ___
> 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.trev...@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


Re: Aleatoric / modern notation

2012-11-24 Thread Jeffrey Trevino
Hi there,

The box construct from this thread is working fine on my machine, but I'd
like to know how to add one important feature to it: It's currently the
case that the arrow isn't "breakable," i. e. if the box's entire duration
exceeds the graphic space of the first line, the arrow stops on the first
line and you end up with a bunch of blank space on the second line. How can
the arrow break and continue on the second line? I know that many spanners
have a "breakable" attribute -- maybe there's a straightforward way to add
this ability to the box's arrow?

best,
Jeff

On Thu, Nov 15, 2012 at 2:10 PM, David Nalesnik wrote:

> Hi Jeffrey,
>
> On Wed, Nov 14, 2012 at 1:05 AM, Jeffrey Trevino
>  wrote:
> > Hi David,
> >
> > This is a very help description. Maybe you could describe for me: I see
> both
> > the box duration as a spacer duration and the line duration as "extender
> > length," in what seem to be unitless units.
>
> The way it's set up now, the extender length is measured in staff-spaces.
>
> >
> > Here is an addition -- although I'm not sure if it's an improvement --
> that
> > might be important in some cases: It seems that it would be helpful to
> > describe the line length of the arrow in terms of spacers if possible, to
> > more easily describe the duration occupied by the entire frame construct.
>
> Yes, that's a good idea.  I don't like having to fiddle with numbers
> to get it to look right.
>
> > Likewise, I would like to be able to draw a bracket over the frame's
> graphic
> > duration, with a note duration or series of tied durations above the
> > bracket, centered, to indicate the duration of the frame clearly. I don't
> > know how this would work; maybe it would be possible to use a bracket
> > spanner and then enter durations?
>
> This would be doable, but I think markup would be the way to go here.
> That way, you can specify the duration in clock time (which I've done
> when I've used this sort of notation).
>
> One concern I have here stems from the fact that frame notation isn't
> standardized, and there are many variants: there's no way everybody's
> favorite notation could be accommodated.  As one example, putting a
> box around the notes isn't the only way it's done: I have in front of
> me a piece by Bruce Saylor which puts an ellipse around the notes.  So
> I think the only workable approach is to offer some bare-bones
> implementation.  For more idiosyncratic notations, I guess the answer
> is to turn to Inkscape and the like.
>
> (In any case, I'd like to get something basic working first before
> adding frills.)
>
> -David
>



-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Aleatoric / modern notation

2012-11-24 Thread Jeffrey Trevino
Hi David,

Yes, I think it's reasonable to confine the frame to a single line, even
though the arrow must be breakable.

I'm also having problems using the construct on parallel staffs within a
score. It works fine for a single staff, but when I try to use the same
construct on two staffs simultaneously, I get, "

warning: No start to this box.
Preprocessing graphical objects...frameEngraver4.ly:124:23: In procedure
ly:grob-property in expression (ly:grob-property frame (quote
padding)):frameEngraver4.ly:124:23: Wrong type argument in position 1
(expecting Grob): ()

"

I don't know how the Scheme is working here, so maybe you can try out two
of these in parallel and let me know if it's working for you.

best,
Jeff

On Sat, Nov 24, 2012 at 8:10 AM, David Nalesnik wrote:

> Hi Jeffrey,
>
> On Sat, Nov 24, 2012 at 9:58 AM, Jeffrey Trevino
>  wrote:
> > Hi there,
> >
> > The box construct from this thread is working fine on my machine, but I'd
> > like to know how to add one important feature to it: It's currently the
> case
> > that the arrow isn't "breakable," i. e. if the box's entire duration
> exceeds
> > the graphic space of the first line, the arrow stops on the first line
> and
> > you end up with a bunch of blank space on the second line. How can the
> arrow
> > break and continue on the second line? I know that many spanners have a
> > "breakable" attribute -- maybe there's a straightforward way to add this
> > ability to the box's arrow?
>
> Yes, this is something which could be added.  It's a problem I've been
> aware of and wanted to fix.  (The issue at the moment is having the
> time to do it now that the end of the semester is here!
>
> The extender line certainly should have this capability, but I'm in
> doubt about the frame itself.  Would it make sense to insist that the
> frame be confined to a single line?
>
> -David
>



-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Note duration line (contemporary)

2012-11-28 Thread Jeffrey Trevino
Hi all,

It's good to know how to do this. For metric notation, I found that it's
also useful to stop the duration line before the barline, instead of
continuing it to a subsequent notehead, if the following note is in the
next bar:

#(define flat-gliss
  (lambda (grob)
(let ((left-Y (assoc-get 'Y (ly:grob-property grob 'left-bound-info
  (ly:grob-set-nested-property! grob '(right-bound-info Y) left-Y

\relative c'' {
  \override Glissando #'after-line-breaking = #flat-gliss
  \override Glissando #'thickness = #8
  \override Glissando #'to-barline = ##t
  c1\glissando
  g'\glissando
  g,
}

There's one more important tweak, remaining, though, and I can't figure it
out: Is there a way to make the ends of the lines square instead of round?
I don't see a property for this in line-interface.

best,
Jeff


On Tue, Nov 27, 2012 at 7:43 PM, David Nalesnik wrote:

> Hi Oscar,
>
> On Tue, Nov 27, 2012 at 8:58 PM, Oscar Dub  wrote:
> >> It looks like you might be able to use a glissando and override the
> style to be "line", then twiddle the thickness until it looks right?
> >
> > Using this glissando method mentioned, does anybody know of a specific
> override that would force the glissando line to be flat (i.e. ignore the y
> position of the right bound and instead use the y position of the left one)?
> >
> > If that's not simple then I was thinking this might be achievable with a
> simple-ish scheme callback, something like:
> > \override Glissando #'bound-details #'right #'Y = >> some nice
> function which returns the staff position of the note that the gliss is
> attached to <<
> >
> > A nudge in the right direction would be great!
> >
>
> I didn't get anything to work using an override of  #'bound-details
> #'right #'Y, but you can override 'after-line-breaking like so:
>
> \version "2.17.7"
>
> #(define flat-gliss
>   (lambda (grob)
> (let ((left-Y (assoc-get 'Y (ly:grob-property grob 'left-bound-info
>   (ly:grob-set-nested-property! grob '(right-bound-info Y) left-Y
>
> \relative c'' {
>   \override Glissando #'after-line-breaking = #flat-gliss
>   \override Glissando #'thickness = #5
>   c1\glissando
>   g'\glissando
>   g,
> }
>
> HTH,
> David
>
> ___
> 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.trev...@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


Re: Note duration line (contemporary)

2012-11-28 Thread Jeffrey Trevino
Thanks, Harm! That does just what we were trying to get at, I think.

It's a long-term goal of mine to learn enough about the Scheme side of
Lilypond to be able to design stencils, and custom notational constructs
more broadly, like you've just done. It seems like graphic flexibility with
\markup is documented really well, but I've yet to get the basics of how I
can use Scheme to control Lilypond at a low-level graphically as you've
just done. Do you -- or anyone else reading -- have a suggestion about
which source code or documentation I should take a look at to start
learning how? It seems like these are the basic things I need to learn how
to do:

0. learn the most basic line and shape drawing functions included in
Lilypond.
1. learn to access the position data of a staff's conventionally notated
elements (skip, rest, chord, or note, most importantly).
2. learn to describe the position of new lines, shapes, and glyphs, with
data from #1 acting as a sort of backbone for the new notations created
relative to them, in order to use the system's spacing algorithms
effectively.
3. learn to parameterize these constructs with hard-coded or user-specified
arguments that determine the extent, proportions, and appearance of #2,
especially to correlate the x-extent of a construct with a conventionally
specified duration (as a series of skips, for example).

This would be a way of creating custom notations as a sort of decoration of
simple elements on a staff, but maybe there's another paradigm that someone
with more experience might recommend as an alternative to this model.

thanks for all your help,
Jeff

On Wed, Nov 28, 2012 at 2:41 PM, Thomas Morley <
thomasmorle...@googlemail.com> wrote:

> 2012/11/28 Jeffrey Trevino :
> > Hi all,
> >
> > It's good to know how to do this. For metric notation, I found that it's
> > also useful to stop the duration line before the barline, instead of
> > continuing it to a subsequent notehead, if the following note is in the
> next
> > bar:
> >
> >
> > #(define flat-gliss
> >   (lambda (grob)
> > (let ((left-Y (assoc-get 'Y (ly:grob-property grob
> 'left-bound-info
> >   (ly:grob-set-nested-property! grob '(right-bound-info Y) left-Y
> >
> > \relative c'' {
> >   \override Glissando #'after-line-breaking = #flat-gliss
> >   \override Glissando #'thickness = #8
> >   \override Glissando #'to-barline = ##t
> >
> >   c1\glissando
> >   g'\glissando
> >   g,
> > }
> >
> > There's one more important tweak, remaining, though, and I can't figure
> it
> > out: Is there a way to make the ends of the lines square instead of
> round? I
> > don't see a property for this in line-interface.
> >
> > best,
> > Jeff
>
> AFAIK, there is none.
> But you can construct a new stencil via `make-filled-box-stencil´
>
> \version "2.17.6"
>
> #(define flat-gliss
>   (lambda (grob)
> (let* ((left-Y (assoc-get 'Y (ly:grob-property grob 'left-bound-info)))
>(stencil (ly:line-spanner::print grob))
>(stencil-x-ext (ly:stencil-extent stencil X))
>(line-thickness (ly:staff-symbol-line-thickness grob))
>(staff-space (ly:staff-symbol-staff-space grob))
>(half-gliss-thick (- (/ staff-space 2) line-thickness))
>(new-stencil (make-filled-box-stencil
> (interval-widen stencil-x-ext (* line-thickness 1))
> (interval-widen (cons left-Y left-Y)
> half-gliss-thick
>
>   (ly:grob-set-property! grob 'stencil new-stencil)
>   (ly:grob-set-nested-property! grob '(right-bound-info Y)
> left-Y
>
> \relative c'' {
>   \override Glissando #'after-line-breaking = #flat-gliss
>   \override Glissando #'to-barline = ##t
>
>   c1\glissando
>   g'\glissando
>   g,
>   f'2\glissando
>   e'
> }
>
> Please note: I hardcoded the Glissando-thickness depending on
> staff-space and staff-symbol-line-thickness.
> This could be done for 'to-barline, too.
> Or create a function to gain more flexibility.
>
> Cheers,
>   Harm
>



-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Note duration line (contemporary)

2012-11-29 Thread Jeffrey Trevino
Thanks for helpful leads, everyone. In response to Matthew's wish, Joram
Berger recently shared his super helpful "Lilypond on one page," which
presents tons of basic interface information in dense, efficient, but
readable graphic+text format (even color-coded!) -- would it make sense to
make a similar placemat/cheatsheet that makes clear how some of David's
elusive Scheme "procedures" relate to the tuneable aspects of
notation/drawing in Lilypond? Or perhaps documented tutorials are a better
format for this kind of information?

best,
Jeff

On Thu, Nov 29, 2012 at 9:58 AM, Matthew Probst  wrote:

> I find myself wishing for an O'Reilly style book "Hacking Lilypond".  The
> user guide and the reference are fine as is, but a book with some extended
> examples of how to _architect_ solutions in Lilypond would be great.
>
> I already know Scheme the language, and have a basic understanding of the
> Lilypond data structures, but advanced knowledge of Lilypond data
> structures and knowledge of its many functions escapes me for now.
>
> Quite often I find myself wondering "What _api_ do we use to access _this_
> data structure?" In the past I found the answer was often unclear without
> asking for assistance.  Some data structures just get manipulated with the
> usual list functions, other areas some kind of function/iterator needed
> calling.
>
> Things appear to be getting better on the Scheme front, though, with some
> of the recent improvements in integration between Lilypond markup and
> Scheme code.
>
> On Thu, Nov 29, 2012 at 10:51 AM, David Nalesnik  > wrote:
>
>> Hi Jeffrey,
>>
>> On Wed, Nov 28, 2012 at 11:52 PM, Paul Morris 
>> wrote:
>> > On Nov 28, 2012, at 7:02 PM, Jeffrey Trevino <
>> jeffrey.trevi...@gmail.com>
>> > wrote:
>> >
>> > It's a long-term goal of mine to learn enough about the Scheme side of
>> > Lilypond to be able to design stencils, and custom notational constructs
>> > more broadly, like you've just done. It seems like graphic flexibility
>> with
>> > \markup is documented really well, but I've yet to get the basics of
>> how I
>> > can use Scheme to control Lilypond at a low-level graphically as you've
>> just
>> > done. Do you -- or anyone else reading -- have a suggestion about which
>> > source code or documentation I should take a look at to start learning
>> how?
>>
>>
>> There are plenty of online resources for learning Scheme.  I've
>> learned a lot by reading the manual for Guile 1.8 (am still learning!)
>>
>> The big difficulty for me was not in learning the language, but rather
>> learning to work with the various procedures (such as the ones you see
>> in the code in this thread), for which there is little documentation.
>> There's a list of Scheme functions here:
>>
>> http://www.lilypond.org/doc/v2.16/Documentation/internals/scheme-functions
>>
>> but, as you can see, this is by no means a tutorial.  In the absence
>> of "how-tos," I've used trial-and-error, searched online for uses of
>> particular functions, and searched the code base.
>>
>> There are plenty of useful procedures in files such as
>> scm/lily-library.scm and scm/stencil.scm -- you just need to look
>> around.
>>
>> HTH,
>> David
>>
>> ___
>> 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.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


changing spacing between title and first system

2012-12-05 Thread Jeffrey Trevino
Hi there,

Could someone please show me a short, working example of an .ly that sets
the spacing between the title and the first system? I was about to give it
a shot myself, until I saw, under "known issues and warnings" for version
2.16,

"The titles (from the \header block) are treated as a system, so
ragged-bottom and ragged-last-bottom will add space between the titles and
the first system of the score. "

If this is the case, then how can I change the spacing between the title --
to Lilypond, the "first system," I guess -- and the first system of music,
without disturbing the spacing between the systems of actual music? Looking
at past versions' documentation, it seems like this used to be easier to do.

thank you,
Jeff

-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@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


Re: changing spacing between title and first system

2012-12-05 Thread Jeffrey Trevino
... curious -- there's also this, in section 4.1 (spacing issues), which
seems to contradict the statement in the "known issues and warnings"
section;

"Note that the \paper variables discussed in this section do not control
the spacing of staves within individual systems. Within-system spacing is
controlled by grob properties, with settings typically entered inside a
\score or \layout block, and not inside a \paper block. See Flexible
vertical spacing within
systems<http://www.lilypond.org/doc/v2.16/Documentation/notation/flexible-vertical-spacing-within-systems>
."

Well, which is it? Is the title treated as a system, or not?
J

On Wed, Dec 5, 2012 at 1:39 PM, Jeffrey Trevino
wrote:

> Hi there,
>
> Could someone please show me a short, working example of an .ly that sets
> the spacing between the title and the first system? I was about to give it
> a shot myself, until I saw, under "known issues and warnings" for version
> 2.16,
>
> "The titles (from the \header block) are treated as a system, so
> ragged-bottom and ragged-last-bottom will add space between the titles
> and the first system of the score. "
>
> If this is the case, then how can I change the spacing between the title
> -- to Lilypond, the "first system," I guess -- and the first system of
> music, without disturbing the spacing between the systems of actual music?
> Looking at past versions' documentation, it seems like this used to be
> easier to do.
>
> thank you,
> Jeff
>
> --
> 《〠》】〶【〖〠〗〶〛〷〚
> Jeff Treviño
> PhD Candidate in Music Composition
> @ the University of California, San Diego
> 〖〠〗〶〛〷〚《〠》】〶
> Skype: jeffreytrevino
> E-mail: jeffrey.trev...@gmail.com
> 〚《〠》】〶【〖〠〗〶〛〷
> 9310H Redwood Dr.
> La Jolla, CA 92037
> USA
> 〖〠〗〶〛〷〚《〠》】〶【
> <http://www.jeffreytrevino.com/>
>



-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: changing spacing between title and first system

2012-12-05 Thread Jeffrey Trevino
PPS -- alright, I've found how to manipulate the spacing as I wanted;
however, it would be nice to hear a resolution to the above contradiction,
if one exists. J
On Wed, Dec 5, 2012 at 1:44 PM, Jeffrey Trevino
wrote:

> ... curious -- there's also this, in section 4.1 (spacing issues), which
> seems to contradict the statement in the "known issues and warnings"
> section;
>
> "Note that the \paper variables discussed in this section do not control
> the spacing of staves within individual systems. Within-system spacing is
> controlled by grob properties, with settings typically entered inside a
> \score or \layout block, and not inside a \paper block. See Flexible
> vertical spacing within 
> systems<http://www.lilypond.org/doc/v2.16/Documentation/notation/flexible-vertical-spacing-within-systems>
> ."
>
> Well, which is it? Is the title treated as a system, or not?
> J
>
>
> On Wed, Dec 5, 2012 at 1:39 PM, Jeffrey Trevino <
> jeffrey.trevi...@gmail.com> wrote:
>
>> Hi there,
>>
>> Could someone please show me a short, working example of an .ly that sets
>> the spacing between the title and the first system? I was about to give it
>> a shot myself, until I saw, under "known issues and warnings" for version
>> 2.16,
>>
>> "The titles (from the \header block) are treated as a system, so
>> ragged-bottom and ragged-last-bottom will add space between the titles
>> and the first system of the score. "
>>
>> If this is the case, then how can I change the spacing between the title
>> -- to Lilypond, the "first system," I guess -- and the first system of
>> music, without disturbing the spacing between the systems of actual music?
>> Looking at past versions' documentation, it seems like this used to be
>> easier to do.
>>
>> thank you,
>> Jeff
>>
>> --
>> 《〠》】〶【〖〠〗〶〛〷〚
>> Jeff Treviño
>> PhD Candidate in Music Composition
>> @ the University of California, San Diego
>> 〖〠〗〶〛〷〚《〠》】〶
>> Skype: jeffreytrevino
>> E-mail: jeffrey.trev...@gmail.com
>> 〚《〠》】〶【〖〠〗〶〛〷
>> 9310H Redwood Dr.
>> La Jolla, CA 92037
>> USA
>> 〖〠〗〶〛〷〚《〠》】〶【
>> <http://www.jeffreytrevino.com/>
>>
>
>
>
> --
> 《〠》】〶【〖〠〗〶〛〷〚
> Jeff Treviño
> PhD Candidate in Music Composition
> @ the University of California, San Diego
> 〖〠〗〶〛〷〚《〠》】〶
> Skype: jeffreytrevino
> E-mail: jeffrey.trev...@gmail.com
> 〚《〠》】〶【〖〠〗〶〛〷
> 9310H Redwood Dr.
> La Jolla, CA 92037
> USA
> 〖〠〗〶〛〷〚《〠》】〶【
> <http://www.jeffreytrevino.com/>
>



-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: changing spacing between title and first system

2012-12-05 Thread Jeffrey Trevino
Thanks, everyone. That's exactly the solution I found, yes. J

On Wed, Dec 5, 2012 at 2:00 PM, Nick Payne wrote:

> On 06/12/12 08:39, Jeffrey Trevino wrote:
>
>> Hi there,
>>
>> Could someone please show me a short, working example of an .ly that sets
>> the spacing between the title and the first system?
>>
>
> \version "2.16.1"
>
> \header {
>   title = "Title"
>   composer = "Composer"
> }
>
> \paper {
>   markup-system-spacing #'padding = #12
>   ragged-bottom = ##f
>   ragged-last-bottom = ##f
>   ragged-last = ##f
> }
>
> \relative c'' {
>   \repeat unfold 1000 { c4 }
>
> }
>
> __**_
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/**listinfo/lilypond-user<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.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Aleatoric / modern notation

2012-12-06 Thread Jeffrey Trevino
Hi all,

Could someone please take a look at the latest scheme code in this thread
and figure out how we can use this frame engraver construct on multiple
staffs in the same score simultaneously? It's pretty important for
preceding in my work, and I can't figure out how to get it working.

thank you,
Jeff

On Sun, Nov 25, 2012 at 5:19 PM, David Nalesnik wrote:

> Hi Jeffrey,
>
> On Sat, Nov 24, 2012 at 11:47 AM, Jeffrey Trevino
>  wrote:
> > Hi David,
> >
> > Yes, I think it's reasonable to confine the frame to a single line, even
> > though the arrow must be breakable.
> >
> > I'm also having problems using the construct on parallel staffs within a
> > score. It works fine for a single staff, but when I try to use the same
> > construct on two staffs simultaneously, I get, "
> >
> > warning: No start to this box.
> > Preprocessing graphical objects...frameEngraver4.ly:124:23: In procedure
> > ly:grob-property in expression (ly:grob-property frame (quote
> > padding)):frameEngraver4.ly:124:23: Wrong type argument in position 1
> > (expecting Grob): ()
> >
> > "
> >
> > I don't know how the Scheme is working here, so maybe you can try out
> two of
> > these in parallel and let me know if it's working for you.
> >
>
> Nope, I get the same error...  Argh!  I'm not sure why this is
> happening.  As soon as I get some time, I'll need to go over the
> engraver with a fine-toothed comb.  I know how to approach the issue
> of the broken extender line, but I want to make sure I'm working from
> a sound base first.
>
> -David
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: A question of list etiquette and images.

2012-12-18 Thread Jeffrey Trevino
How will this impact users who receive the list in digest mode each week?
(I don't get it this way, so I don't know)
Jeff

On Mon, Dec 17, 2012 at 11:37 PM, Werner LEMBERG  wrote:

>
> >> Given that, does anyone have any suggestions to how behave nicely
> >> for list members like Harm when images are involved?
> >
> > Hi Arle, Hmmm...  one possible solution is to post your images in
> > flickr, dropbox, or your online storage provider of choice, and then
> > include links to them in your messages.
>
> Naa, far too complicated!  IMHO, it's a failure of some e-mail clients
> not being able to properly handle inline images, and those guys should
> ideally update...  David K. also uses inline images in some of his
> e-mails, and nobody has ever complained IIRC.
>
> In case this is *really* such a big problem (which I don't believe),
> I think it is fully sufficient if the email starts with
>
>   [ATTENTION: INLINE IMAGES]
>
> or something like that.
>
>
> Werner
>
> ___
> 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.trev...@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


Re: For those who need new features and bug fixes...

2012-12-21 Thread Jeffrey Trevino
Dear Mikey,
Some chunk of this time might be usefully spent writing a crystal clear,
step-by-step Scheme tutorial that explains how to create custom engravers
and grobs, query position information of objects in the process, and use
these in-line in lilypond code. Thanks for asking and happy holidays,
Mikey!

cheers,
Jeff

On Fri, Dec 21, 2012 at 12:03 AM, m...@mikesolomon.org  wrote:

> Hey all,
>
> I have two 16ish-hour flights this holiday season and I'll be filling them
> with composition, Sudoku, and LilyPond programming.  So, this is the time
> to send me:
>
> 1) Features you need implemented.
> 2) Bugs you need fixed.
> 3) Things you need reviewed.
>
> I'll get as many of them done as I can on the flight.
>
> Cheers,
> MS
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Aleatoric / modern notation

2013-01-12 Thread Jeffrey Trevino
Hi David,

I just saw this fix. Thanks for spending so much time tweaking this. Maybe
there's a way it can be integrated into the Lilypond code, since you've
spent so much time developing it. I'll be using it in a score soon.

cheers,
Jeff

On Tue, Dec 11, 2012 at 3:04 PM, David Nalesnik wrote:

> On Sat, Dec 8, 2012 at 7:21 PM, David Nalesnik 
> wrote:
>
> [...]
>
> >
> > Trying to work out the problem, I've done a little rewriting so I'll
> > include the engraver here.  You can just substitute this in the
> > problematic file.
> >
>
> Well, I did break something.  Here's the fix:
>
> frameEngraver =
> #(lambda (context)
>   (let ((span '())
> (stub '())
> (event-drul (cons '() '(
> (make-engraver
>   (listeners ((frame-event engraver event)
>   (if (= START (ly:event-property event 'span-direction))
>   (set-car! event-drul event)
>   (begin
> (set-cdr! event-drul event)
> (set-car! event-drul '())
>   (acknowledgers
> ((note-column-interface engraver grob source-engraver)
>  (if (ly:spanner? span)
>  (begin
>(ly:pointer-group-interface::add-grob span 'elements grob)
>(add-bound-item span grob)))
>  (if (ly:item? stub)
>  (ly:pointer-group-interface::add-grob stub 'elements grob)))
> ((script-interface engraver grob source-engraver)
>  (if (ly:spanner? span)
>  (ly:pointer-group-interface::add-grob span 'elements grob))
>  (if (ly:item? stub)
>  (ly:pointer-group-interface::add-grob stub 'elements grob)))
> ((dynamic-interface engraver grob source-engraver)
>  (if (ly:spanner? span)
>  (ly:pointer-group-interface::add-grob span 'elements grob))
>  (if (ly:item? stub)
>  (ly:pointer-group-interface::add-grob stub 'elements grob)))
> ((inline-accidental-interface engraver grob source-engraver)
>  (if (ly:spanner? span)
>  (ly:pointer-group-interface::add-grob span 'elements grob))
>  (if (ly:item? stub)
>  (ly:pointer-group-interface::add-grob stub 'elements grob
>
>   ((process-music trans)
>(if (ly:stream-event? (car event-drul))
>(begin
>  (set! span (ly:engraver-make-grob trans 'Frame (car
> event-drul)))
>  (set! stub (ly:engraver-make-grob trans 'FrameStub (car
> event-drul)))
>  (ly:grob-set-object! stub 'frame span)
>  (ly:grob-set-property! stub 'direction LEFT)
>  (set-car! event-drul '(
>(if (ly:stream-event? (cdr event-drul))
>(if (null? span)
>(ly:warning "No start to this box.")
>(begin
>  (set! stub (ly:engraver-make-grob trans 'FrameStub
> (cdr event-drul)))
>  (ly:grob-set-property! stub 'direction RIGHT)
>  (ly:grob-set-object! stub 'frame span)
>  (ly:engraver-announce-end-grob trans span (cdr
> event-drul))
>
>   ((stop-translation-timestep trans)
>(if (ly:stream-event? (cdr event-drul))
>(begin
>  (set! span '())
>  (set-cdr! event-drul '(
>(set! stub '())
>



-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@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


Re: Aleatoric / modern notation

2013-01-15 Thread Jeffrey Trevino
Hi David,

I really hope this ends up in Lilypond; you've clearly put a ton of work
into this. And it's even commented now! Brilliant.

It seems to be working just fine; I'll holler if there are troubles.

cheers,
Jeff

On Sat, Jan 12, 2013 at 10:23 AM, David Nalesnik
wrote:

> Hi Jeff,
>
> On Sat, Jan 12, 2013 at 11:37 AM, Jeffrey Trevino <
> jeffrey.trevi...@gmail.com> wrote:
>
>> Hi David,
>>
>> I just saw this fix. Thanks for spending so much time tweaking this.
>> Maybe there's a way it can be integrated into the Lilypond code, since
>> you've spent so much time developing it. I'll be using it in a score soon.
>>
>
> I've actually been working at this off and on since I sent you that fix,
> and I've added some functionality.  You no longer need to guess at the
> length of the extender line: you specify its endpoint with the command
> \frameExtenderEnd.  Also, the extender (now a separate grob called
> "FrameExtender") can be broken across lines.
>
> There are still some issues to resolve.  One of these problems is that the
> new stencil isn't taken into account in vertical spacing, and this can
> result in overlaps in extreme cases.  (Try moving some of the groups into
> regions with many ledger lines.) I'm guessing that the difficulty arises
> because the frame isn't an outside-staff object, but I'm unsure how to
> proceed.
>
> There's some test code in the attached file.  Mike Solomon suggested that
> I handle alignment between the component parts (the frame, the extender,
> and ultimately a bracket-with-timing affair to encompass the frame and
> extender) with an alignment grob (as DynamicLineSpanner and the like).
>  This is one angle I'm exploring.  (At the moment, uncommenting the
> \consists line will just draw boxes around the whole affair.)
>
> Anyway, I hope this proves helpful.  Please let me know if you have any
> suggestions, or run into difficulties.
>
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Requesting an addition

2013-01-21 Thread Jeffrey Trevino
"So what's the sanest course with regard to new articulations?"

>From the perspective of contemporary music, the sanest course is to provide
basic utilities for drawing arbitrarily complex symbols in specified
locations, which Lilypond sort of does/doesn't have.

On Mon, Jan 21, 2013 at 12:59 AM, David Kastrup  wrote:

> Werner LEMBERG  writes:
>
> >> I'm not sure if this the right place to ask this, but I'd be willing
> >> to send somebody some money via Paypal to add the so-called "Haydn
> >> turn" (reversed turn with vertical slash) to Lilypond.
> >
> > Please provide a scan (or a link to it) of such a symbol which you
> > consider as good-looking..
> >
> >> I have no idea how much work this would take and what the going rate
> >> for a feature like this is.
> >
> > If an existing symbol can be reused, implementing this is rather
> > straightforward, and a few hours of work will do.  A design from
> > scratch probably needs three or four times as long.
>
> By the way: how is the relation to other music fonts?  If we invent a
> new articulation, music fonts from other sources will not know about it,
> or we won't know about what they have.  And even if we puzzle
> articulations together from pieces, they won't fit together just the
> same in other music fonts.
>
> So what's the sanest course with regard to new articulations?  This is
> not really related to this particular addition, but it generally makes
> me wonder.
>
> --
> 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.trev...@gmail.com
Web: www.jeffreytrevino.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


Re: ledger line crash with very high notes in first chord of system

2013-01-24 Thread Jeffrey Trevino
PS disregard "in first system" in the subject -- for a moment I thought
this was the case, but it happens regardless of a chord's position

On Thu, Jan 24, 2013 at 8:47 PM, Jeffrey Trevino  wrote:

> I think I've found a default behavior that could use a little work:
>
> When I make a chord that contains the interval of a major second or
> smaller, up high enough to warrant ledger lines, the ledger lines are
> lengthened, to accommodate the increased horizontal space needed to write
> this tiny interval legibly; however, if a third note requires an
> accidental, the accidental of this third note sometimes collides with these
> lengthened ledger lines. I've attached photos of some examples.
>
> fyi,
> Jeff
>
> --
> Jeff Treviño
> PhD Candidate in Music Composition
> @ the University of California, San Diego
> Skype: jeffreytrevino
> E-mail: jeffrey.trev...@gmail.com
> Web: www.jeffreytrevino.com
> Cell: (619)565-9611
> 9310H Redwood Dr.
> La Jolla, CA 92037
> USA
>



-- 
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
Web: www.jeffreytrevino.com
Cell: (619)565-9611
9310H Redwood Dr.
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


change staff for component notes of chord

2013-01-24 Thread Jeffrey Trevino
hi there,

I like the "change staff" interface for switching staffs and beaming across
them. Is there a similar interface available for chords, which allows the
user to specify that certain higher or lower notes should be drawn on a
different staff? I would find this much easier to use than the "cross-staff
stem" interface described in the keyboard writing section.

thank you,
Jeff

-- 
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
Web: www.jeffreytrevino.com
Cell: (619)565-9611
9310H Redwood Dr.
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ledger line crash with very high notes in first chord of system

2013-01-25 Thread Jeffrey Trevino
Hi there,

That's right: the accidentals should be moved to the left to avoid
collision with the ledger lines.

cheers,
Jeff

On Fri, Jan 25, 2013 at 1:17 AM, Phil Holmes  wrote:

> **
> I presume you don't like the fact that the accidentals are within the
> ledger lines, rather like they are in staff lines.  What would you want?
>
> --
> Phil Holmes
>
>
>
> - Original Message -
> *From:* Jeffrey Trevino 
> *To:* lilypond-user 
> *Sent:* Friday, January 25, 2013 4:47 AM
> *Subject:* ledger line crash with very high notes in first chord of system
>
> I think I've found a default behavior that could use a little work:
>
> When I make a chord that contains the interval of a major second or
> smaller, up high enough to warrant ledger lines, the ledger lines are
> lengthened, to accommodate the increased horizontal space needed to write
> this tiny interval legibly; however, if a third note requires an
> accidental, the accidental of this third note sometimes collides with these
> lengthened ledger lines. I've attached photos of some examples.
>
> fyi,
> Jeff
>
> --
> Jeff Treviño
> PhD Candidate in Music Composition
> @ the University of California, San Diego
> Skype: jeffreytrevino
> E-mail: jeffrey.trev...@gmail.com
> Web: www.jeffreytrevino.com
> Cell: (619)565-9611
> 9310H Redwood Dr.
> La Jolla, CA 92037
> USA
>
> --
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: change staff for component notes of chord

2013-01-25 Thread Jeffrey Trevino
Hi there,

Thanks for your responses. I'll make due with the current span stem
engraver, but I think that it would be easier to extend the functionality
of the \change Staff = "staffName" paradigm to do this more elegantly in
future versions.

cheers,
Jeff

On Fri, Jan 25, 2013 at 3:26 AM, Phil Holmes  wrote:

> - Original Message - From: "Xavier Scheuer" 
> To: "Jeffrey Trevino" 
> Cc: "lilypond-user" 
> Sent: Friday, January 25, 2013 10:50 AM
> Subject: Re: change staff for component notes of chord
>
>
>
>  On 25 January 2013 08:17, Jeffrey Trevino 
>> wrote:
>>
>>> hi there,
>>>
>>> I like the "change staff" interface for switching staffs and beaming
>>> across
>>> them. Is there a similar interface available for chords, which allows the
>>> user to specify that certain higher or lower notes should be drawn on a
>>> different staff? I would find this much easier to use than the
>>> "cross-staff
>>> stem" interface described in the keyboard writing section.
>>>
>>
>> Not yet, but there is an open feature request about this.
>> http://code.google.com/p/**lilypond/issues/detail?id=2270<http://code.google.com/p/lilypond/issues/detail?id=2270>
>>
>> Cheers,
>> Xavier
>>
>
> Just checking that you're aware that cross-staff stems were improved in
> late 2.15.  If you use 2.16 or 2.17 I think they work fairly well:
>
> http://lilypond.org/doc/v2.17/**Documentation/notation/common-**
> notation-for-keyboards#cross_**002dstaff-stems<http://lilypond.org/doc/v2.17/Documentation/notation/common-notation-for-keyboards#cross_002dstaff-stems>
>
> --
> Phil Holmes
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ledger line crash with very high notes in first chord of system

2013-01-28 Thread Jeffrey Trevino
Hi Keith,

Thanks for your report and your suggested override. I'll give it a shot; in
the meantime, I've gone for a popular contemporary music workaround: the
addition of a third staff with an octave treble clef, to eliminate the
ledger lines. (hence my post about changing staffs for the notes of a
chord...)

cheers,
Jeff

On Sat, Jan 26, 2013 at 12:10 PM, Keith OHara  wrote:

> Jeffrey Trevino  gmail.com> writes:
>
> > the accidentals should be moved to the left to avoid collision with the
> ledger
> lines.
>
> Yes, the ledger lines are discontinuous, so they hide the accidental much
> more
> than staff lines would.
> I added a bug report <
> http://code.google.com/p/lilypond/issues/detail?id=3141>
>
> Probably this can be fixed, when someone is able to spend the time.  An
> example of this situation in a printed score from some respected engraver
> would be help to get the spacing right.
>
> Until then, I can't think of a clear work-around, except telling LilyPond
> to treat the stem as if it were wider, nearly as wide as the ledgers
>  \once\override Stem #'minimum-X-extent = #'(-1.2 . 0)
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Woodwind Fingering diagrams problem

2013-01-28 Thread Jeffrey Trevino
Hi,

It should be pointed out that it's a common notational practice to hide the
unused non-center keys in fingering diagrams; this behavior is idiomatic.
(Although there's no reason why that means you can't display all the keys,
as you want.)

just sayin,
Jeff

On Mon, Jan 28, 2013 at 2:27 AM, Eluze  wrote:

> Wim van Dommelen-4 wrote
> > Hi,
> >
> > I'm trying to get some prints with the woodwind fingering diagrams on
> > it. When I use the basic diagram, all defined keys show up, but as
> > soon as I enter one hole to be used some of the keyholes (not of the
> > central one to six holes, but especially on the side keys) disappear
> > from the diagram.
> >
> > Is there some overide to stop (or influence) that behaviour?
>
> hi
>
> please send your code, the version number and everything needed to
> reproduce
> this behavior!
>
> Eluze
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Woodwind-Fingering-diagrams-problem-tp140182p140200.html
> Sent from the User mailing list archive at Nabble.com.
>
> ___
> 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.trev...@gmail.com
Web: www.jeffreytrevino.com
Cell: (619)565-9611
9310H Redwood Dr.
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ledger line crash with very high notes in first chord of system

2013-01-30 Thread Jeffrey Trevino
Hi Paul,

A great trick! It looks like beaming and slurring across staffs works well
with this technique, which is marvelous. This could be the way to go, but I
need to figure out a few more things with this paradigm before I can use it:

Is there a way to attach a "treble^8" clef at the beginning of the
additional staff?
Is there a way to display a chord with a stem across both staffs, which
notes on both staffs?

moving right along,
Jeff

On Mon, Jan 28, 2013 at 11:27 AM, Paul Morris  wrote:

> On Jan 28, 2013, at 11:24 AM, Eluze  wrote:
>
> > adding
> >
> > \stopStaff  \startStaff
> >
> > works
>
> Thanks!  I also added an override to keep the stems from being extended
> all the way down.  Not sure if this is the best approach, but good to know
> how to use it.
>
> -Paul
>
>
> \version "2.16.1"
>
> \relative c'' {
>   c a' c
>   \stopStaff \startStaff
>   \override Staff.StaffSymbol #'line-positions = #'( 18 16 14 12 10  4 2 0
> -2 -4 )
>   \override Stem  #'no-stem-extend = ##t
>   a' c a cis
>   \stopStaff \startStaff
>   \override Staff.StaffSymbol #'line-positions = #'( 4 2 0 -2 -4 )
>   \override Stem  #'no-stem-extend = ##f
>   a,, c
> }
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


force tuplet bracket to beam side

2013-01-30 Thread Jeffrey Trevino
Hi there,

I've got a rogue tuplet bracket trying to span notes on the note side
instead of the beam side, and I'd like to specify that the tuplet bracket
should always be on the beam side. Internals tell me that I need to
set ly:tuplet-bracket::calc-direction
equal to -1, but I'm not sure what the syntax for that would look like.

Here's code to reproduce the situation:

\relative c'' {
staff.override.tuplet_bracket = ly:tuplet-bracket::calc-direction = -1
\stemDown
  \times 4/5{c8[( \f a' \times 2/3{c8 \grace {a32 [ c b \p ]} a8
\afterGrace c {a32 [ c b ]}}}
  \stopStaff \startStaff
  \override Staff.StaffSymbol #'line-positions = #'( 18 16 14 12 10  4 2 0
-2 -4 )
  \override Stem  #'no-stem-extend = ##t
  \times 4/5{a' c a cis
  \stopStaff \startStaff
  \override Staff.StaffSymbol #'line-positions = #'( 4 2 0 -2 -4 )
  \override Stem  #'no-stem-extend = ##f
  a,,} c
  \stopStaff \startStaff
  \override Staff.StaffSymbol #'line-positions = #'( -10 -12 -14 -16 -18 )
  \override Stem  #'no-stem-extend = ##f
\time 3/8
   a,, c a c])
}

-- 
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
Web: www.jeffreytrevino.com
Cell: (619)565-9611
9310H Redwood Dr.
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: force tuplet bracket to beam side

2013-01-30 Thread Jeffrey Trevino
Sorry -- here is *working* code to reproduce the situation:

\relative c'' {
\stemDown
  \times 4/5{c8[( \f a' \times 2/3{c8 \grace {a32 [ c b \p ]} a8
\afterGrace c {a32 [ c b ]}}}
  \stopStaff \startStaff
  \override Staff.StaffSymbol #'line-positions = #'( 18 16 14 12 10  4 2 0
-2 -4 )
  \override Stem  #'no-stem-extend = ##t
  \times 4/5{a' c a cis
  \stopStaff \startStaff
  \override Staff.StaffSymbol #'line-positions = #'( 4 2 0 -2 -4 )
  \override Stem  #'no-stem-extend = ##f
  a,,} c
  \stopStaff \startStaff
  \override Staff.StaffSymbol #'line-positions = #'( -10 -12 -14 -16 -18 )
  \override Stem  #'no-stem-extend = ##f
\time 3/8
   a,, c a c])
}


On Wed, Jan 30, 2013 at 2:35 PM, Jeffrey Trevino  wrote:

> Hi there,
>
> I've got a rogue tuplet bracket trying to span notes on the note side
> instead of the beam side, and I'd like to specify that the tuplet bracket
> should always be on the beam side. Internals tell me that I need to set 
> ly:tuplet-bracket::calc-direction
> equal to -1, but I'm not sure what the syntax for that would look like.
>
> Here's code to reproduce the situation:
>
> \relative c'' {
> staff.override.tuplet_bracket = ly:tuplet-bracket::calc-direction = -1
> \stemDown
>   \times 4/5{c8[( \f a' \times 2/3{c8 \grace {a32 [ c b \p ]} a8
> \afterGrace c {a32 [ c b ]}}}
>   \stopStaff \startStaff
>   \override Staff.StaffSymbol #'line-positions = #'( 18 16 14 12 10  4 2 0
> -2 -4 )
>   \override Stem  #'no-stem-extend = ##t
>   \times 4/5{a' c a cis
>   \stopStaff \startStaff
>   \override Staff.StaffSymbol #'line-positions = #'( 4 2 0 -2 -4 )
>   \override Stem  #'no-stem-extend = ##f
>   a,,} c
>   \stopStaff \startStaff
>   \override Staff.StaffSymbol #'line-positions = #'( -10 -12 -14 -16 -18 )
>   \override Stem  #'no-stem-extend = ##f
> \time 3/8
>a,, c a c])
> }
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


chord partially tied to another chord

2013-01-30 Thread Jeffrey Trevino
Hi there,

I'm curious about the behavior of chords that tie partially to other chords.

Why does the tie go from the C to nothing here, when it should go from e to
e?:

\version "2.17.0"
\language "english"

\new Staff{
4
4

}

Things display correctly when the lower note doesn't need a ledger line:
\version "2.17.0"
\language "english"

\new Staff{
4 ~
4

}

cheers,
Jeff

-- 
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
Web: www.jeffreytrevino.com
Cell: (619)565-9611
9310H Redwood Dr.
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: allowing any horizontal collision in proportional notation

2013-02-07 Thread Jeffrey Trevino
Hi Michael,

Do you still want legible accidentals? In that case, you might just invent
an alternate notation that gives you exact horizontal spacing by
eliminating all traditionally placed accidentals and places them over the
notes instead.

or something,
Jeff

On Wed, Feb 6, 2013 at 12:57 PM, Michael Winter
wrote:

> Dear All,
>
> It seems that with proportional notation even strict spanning does not
> allow collisions of notehead and accidentals. Is it possible to allow any
> collision such that the resolution and accuracy are exact no matter what?
> Or maybe I am missing something
>
> Many thanks in advance,
>
> Mike
>
> ___
> 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.trev...@gmail.com
Web: www.jeffreytrevino.com
Cell: (619)565-9611
9310H Redwood Dr.
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Bassoon fingering charts O_o

2013-02-07 Thread Jeffrey Trevino
Hi there,

Could you please share the fingering catalogue code with the list, so that
we can make similar diagrams for the other instruments? It would be useful
to include a set of these in the documentation some how, come to think of
it.

cheers,
Jeff

On Wed, Feb 6, 2013 at 1:42 AM, James Harkins  wrote:

> On Feb 6, 2013 4:46 PM, "Wim van Dommelen"  wrote:
> >
> > Hi James,
> >
> > Note that the Lilypond diagrams are different, not such "squarisch", see
> the notation reference manual for details.
>
> The notation reference is the first place I went. Those details were
> helpful to get me started, but didn't answer my questions.
>
> > From the list for all bassoon keys, I just produced a diagram usiong the
> Lilypond diagram showing each and every of the keys, see PDF attached.
>
> Thanks -- this saved me hours. I grasped the syntax from the NR, but was
> confused about where the names appear in the diagram.
>
> Big help! Thanks --
> hjh
>
> ___
> 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.trev...@gmail.com
Web: www.jeffreytrevino.com
Cell: (619)565-9611
9310H Redwood Dr.
La Jolla, CA 92037
USA
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


is it possible to scale the horizontal width of a custom markup according to the graphic position of notes?

2013-02-13 Thread Jeffrey Trevino
Hi there,

I'm having trouble grasping how a horizontally spanning custom markup can
reliably correspond to the graphic space occupied by several notes, aside
from lots of trial-and-error coordinate tweaking.

I'd like to do something like,

my_horizontal_markup = #'(eleventy_lineto_commands)

\new Staff{
{c1 ~ c ~ c}^\markup {
  \path #0.18 #my_markup

and have the markup automatically scale to begin at the first note in the
container and end with the end of the container's last note's duration
space, regardless of the coordinates I've given in the original markup
definition. Instead, it looks like I can only attach the markup to a single
note, even though it spans horizontally, and then I've got to adjust
relative coordinates to make sure the end of the horizontally spanning
markup lands where I'd like; I also don't see any way to include the
spatial location of the final note's end in the markup definition, which
would also allow this to happen. Any thoughts?

I'm notating a gradually increasing diaphragmatic vibrato:

\version "2.17.0"

samplePath =
  #'(
 (moveto 0 2)
 (lineto 4 2)
 (lineto 4 0)
 (lineto 8 0)
 (lineto 8 2)
 (lineto 12 2)
(lineto 12 0)
(lineto 15 0)
(lineto 15 2)
(lineto 17 2)
(lineto 17 0)
(lineto 19 0)
(lineto 19 2)
(lineto 20 2)
(lineto 20 0)
(lineto 21 0)
(lineto 21 2)
(lineto 22 2)
(lineto 22 0)
(lineto 23 0)
(lineto 23 2)
(lineto 24 2)
(lineto 24 0)
(lineto 24.5 0)
(lineto 24.5 2)
(lineto 25 2)
(lineto 25 0)
(lineto 25.5 0)
(lineto 25.5 2)
(lineto 26 2)
(lineto 26 0)
(lineto 26.5 0)
(lineto 26.5 2)
(lineto 27 2)
(lineto 27 0)
(lineto 27.5 0)
(lineto 27.5 2)
(lineto 28 2)
(lineto 28 0)

 )
\new Staff{
c1^\markup {
  \path #0.18 #samplePath
} ~ c1 ~ c1 ~ c1 ~ c1
}

cheers,
Jeff
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


hide ledger lines for one notehead

2013-03-16 Thread Jeffrey Trevino
a yes or no question for y'all --
Is there a way to hide the ledger lines for a single notehead? I see that
it's possible to override a ledger lines stencil at the level of staff
context, but I don't see how to do it for a single notehead.

thanks,
Jeff
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


space after barline w/proportional spacing and grace notes before first note in bar

2012-01-17 Thread Jeffrey Trevino
Hi there,

How can I manually adjust the space between a barline and the first note in
the bar? I'm using proportional spacing with some grace notes attached to
the first note in the bar, and the grace notes are colliding with the
barline (because proportional spacing is putting the first note where it
thinks it ought to be).

thank you,
Jeff


-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@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


Re: hiding accidentals

2012-03-16 Thread Jeffrey Trevino
Mike!

Hey. That works. It creates a new problem, though: The grace note that
happens right after the hidden note *should* have an accidental -- but the
override seems to turn off the accidental engraver for both the main note
and any attached grace notes. Is there a way to turn off the accidental
engraver for a main note, without turning off the engraver for its attached
grace notes?

thanks for your help,
Jeff

On Thu, Mar 15, 2012 at 11:54 PM, m...@apollinemike.com <
m...@apollinemike.com> wrote:

> On Mar 16, 2012, at 7:16 AM, Jeffrey Trevino wrote:
>
> > Hi there,
> >
> > I'm having trouble hiding accidentals in the middle of a glissando,
> where there will be notes without slurs, noteheads, or accidentals. Why
> doesn't my "hide-accidental" override work here?:
> >
> >
> > \new Staff <<
> > \new Voice {
> > \voiceOne
> > \parenthesize
> > d'4 \glissando ~
> > {
> > s8. ~
> > s32
> > s32
> > s2 ~
> > }
> > \once \override NoteHead #'hide-accidental = #'#t
>
> Hey Jeff!
>
> \once \override Accidental #'stencil = ##f will give you what you're after.
> Also, I've never seen #'#t.  It seems to work, but I generally see ##f or
> ##t in scores.
>
> Go Cardinal!
> ~Mike
>
>


-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


dynamic/beam/stem/tuplet number/tuplet number collisions

2012-03-23 Thread Jeffrey Trevino
Hi there,

I'm rendering some dense notation, and there are lots of collisions between
beams, stems, dynamics, tuplet numbers, and tuplet brackets. I'd like to be
sure I'm aware of best practices with two questions:

1) What are the global actions I should take to keep this from happening
upon render (I think there's something called "padding" for most of the
grobs, according to the online documentation? Perhaps the order the things
are engraved?)?

2) Failing #1, what are the best ways to solve these problems by locally
moving these things around via position overrides after I see my mangled
output?

newbieliciously,
Jeff

-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@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


Re: change notehead without changing duration

2012-06-25 Thread Jeffrey Trevino
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  wrote:

> "m...@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.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


padding for shortInstrumentName

2012-06-30 Thread Jeffrey Trevino
Hey all,
I'm a bit confused by the relationship between InstrumentName and
ShortInstrumentName. In the internals reference, the former seems to be an
autonomous layout object, but ShortInstrumentName is somehow a property of
this first object -- or? I hope someone can clarify what's going on for me.
I'm mainly interested in changing the padding on ShortInstrumentName only,
so that it's a bit further away from a staff group bracket in my score.
Jeff

-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@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


consecutive downbow-upbow articulations

2012-09-03 Thread Jeffrey Trevino
Hi there,

I'd like to indicate that string instruments will need to re-bow during a
very long note, through a common symbol: A downbow followed immediately by
an upbow, appearing over a single note. (I guess string players might find
this obvious from the duration of a note, but I'm copying a score, so I
need this symbol to appear, because it appears in the original notation.)
>From the docs, I can see how to put many articulations in a stack on top of
one note, but I can't see how they can appear in the same line from left to
right. Again, I'd like there to be a downbow mark, followed to its
immediate right by an upbow mark, and for these to appear over a single
note. Does anyone know how I can do this?

thanks for your attention,
Jeff
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: consecutive downbow-upbow articulations

2012-09-03 Thread Jeffrey Trevino
Eluze! Exactly. Thank you so much. But the two symbols are overlapping with
one another. How do you think I should make sure that the upbow symbol
isn't drawn on top of the downbow symbol? J

On Mon, Sep 3, 2012 at 3:33 AM, eluze  wrote:

>
> Jeffrey Trevino wrote
> >
> > Hi there,
> >
> > I'd like to indicate that string instruments will need to re-bow during a
> > very long note, through a common symbol: A downbow followed immediately
> by
> > an upbow, appearing over a single note. (I guess string players might
> find
> > this obvious from the duration of a note, but I'm copying a score, so I
> > need this symbol to appear, because it appears in the original notation.)
> > From the docs, I can see how to put many articulations in a stack on top
> > of
> > one note, but I can't see how they can appear in the same line from left
> > to
> > right. Again, I'd like there to be a downbow mark, followed to its
> > immediate right by an upbow mark, and for these to appear over a single
> > note. Does anyone know how I can do this?
> >
> >
> do you mean something like
>
> ^\markup \concat { \musicglyph #"scripts.downbow" \musicglyph
> #"scripts.upbow" }
>
> or did I misunderstand your question?
>
> Eluze
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/consecutive-downbow-upbow-articulations-tp132050p132065.html
> Sent from the User mailing list archive at Nabble.com.
>
> ___
> 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.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


formatting rehearsal marks

2012-09-03 Thread Jeffrey Trevino
Hi there,

I'm having trouble finding the correct overrides to change rehearsal mark
formatting. I'd like to change the font name used for the marks, as well as
the amount of white space between the number and the drawn circle or box
(so that there is more white space between the number or letter and the
enclosing shape). Has anyone done this before?

thanks for your help,
Jeff
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: consecutive downbow-upbow articulations

2012-09-03 Thread Jeffrey Trevino
Thanks, Eluze and David! It looks just how I want it now. J

On Mon, Sep 3, 2012 at 6:20 PM, David Nalesnik wrote:

> Hi Jeffrey,
>
> On Mon, Sep 3, 2012 at 7:40 PM, Jeffrey Trevino
>  wrote:
> > Eluze! Exactly. Thank you so much. But the two symbols are overlapping
> with
> > one another. How do you think I should make sure that the upbow symbol
> isn't
> > drawn on top of the downbow symbol? J
> >
>
> What about:
>
> {
>   c'^\markup {
>\concat {
>  \musicglyph #"scripts.downbow" \hspace #2 \musicglyph
> #"scripts.upbow"
>}
>   }
> }
>
> HTH,
> David
>



-- 
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trev...@gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


articulation vertical ordering

2012-09-03 Thread Jeffrey Trevino
Hi there,

How can I change the vertical order of articulation marks? I'd like tenuto
lines to be closest to notes, and accents further away, but I can only get
the reverse order. I see script priority in the docs, but it seems that
articulation marks would have equal script priorities -- right? I'm sure
someone's got this one.

thank you,
Jeff
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user