Re: Pitch with null duration?

2012-04-04 Thread Dossy Shiobara
Someone on IRC suggested a separate voice with hidden notes, just for
the slurs.  I ended up going with this approach because it yielded the
best visual result:

  \new Voice = intro_slurs {
\hideNotes
\override NoteColumn #'ignore-collision = ##t
\relative c' {
  \key f \major
  f g1 ~ | f g4
}
  }

Then, the other voices just started out with a { s1 | } ...


On 4/2/12 11:02 PM, Dossy Shiobara wrote:
 I know how to make a pitch transparent (e.g., \override Rest
 #'transparent = ##t) but is there a way to specify a pitch with a null
 duration (e.g., like g0 or somesuch)?

 The behavior I'm looking for is to start out a measure with a slur to
 the first note, as this is a continuation of a previous measure from a
 note that is slurred to the note that I'm interested in, that I am *not*
 including in my LilyPond document.

 The behavior of this null duration pitch would be very similar to the
 transparent pitch above, except:

 1) It has no horizontal spacing.

 2) It has no duration, thus doesn't generate annoying barcheck warnings,
 or otherwise screw up matching notes to lyrics, etc.

 If I haven't adequately explained myself, please ask questions and I
 will try to provide a better explanation and examples.  If this is in
 the documentation, I couldn't find it; I'm sorry.

 Thanks,

 Dossy


-- 
Dossy Shiobara |  He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on. (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


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


Re: Pitch with null duration?

2012-04-04 Thread Phil Holmes
- Original Message - 
From: Dossy Shiobara do...@panoptic.com

To: lilypond-user@gnu.org
Sent: Wednesday, April 04, 2012 3:27 PM
Subject: Re: Pitch with null duration?



Someone on IRC suggested a separate voice with hidden notes, just for
the slurs.  I ended up going with this approach because it yielded the
best visual result:

 \new Voice = intro_slurs {
   \hideNotes
   \override NoteColumn #'ignore-collision = ##t
   \relative c' {
 \key f \major
 f g1 ~ | f g4
   }
 }



I'd suggest not permanently overriding collision detection - in any complex 
score this is likely to lead to collisions.  \once \override where 
appropriate is safer.


--
Phil Holmes



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


Re: Pitch with null duration?

2012-04-04 Thread Dossy Shiobara
Oh, interesting -- coming from a traditional TeX background, LilyPond
really confuses me.  Is \override inside a \new Voice not confined to
the scope of that Voice?


On 4/4/12 10:53 AM, Phil Holmes wrote:
 I'd suggest not permanently overriding collision detection - in any
 complex score this is likely to lead to collisions.  \once \override
 where appropriate is safer. 

-- 
Dossy Shiobara |  He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on. (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


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


Re: Pitch with null duration?

2012-04-04 Thread Dossy Shiobara
Good point.  I've moved the #'ignore-collisions to before the chord that
matters and applied \once to it.  Thanks for the tip.

-- 
Dossy Shiobara |  He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on. (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


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


Re: Pitch with null duration?

2012-04-04 Thread Phil Holmes
- Original Message - 
From: Dossy Shiobara do...@panoptic.com

To: Phil Holmes m...@philholmes.net
Cc: lilypond-user@gnu.org
Sent: Wednesday, April 04, 2012 4:22 PM
Subject: Re: Pitch with null duration?



Oh, interesting -- coming from a traditional TeX background, LilyPond
really confuses me.  Is \override inside a \new Voice not confined to
the scope of that Voice?



Please don't top-post.

I'm sure you can find this out from the internals documentation, but it 
seems to me that, since it's trying to resolve collisions between stems in 
different voices, it can't be voice-local.


--
Phil Holmes



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


Re: Pitch with null duration?

2012-04-04 Thread David Kastrup
Dossy Shiobara do...@panoptic.com writes:

 On 4/4/12 10:53 AM, Phil Holmes wrote:
 I'd suggest not permanently overriding collision detection - in any
 complex score this is likely to lead to collisions.  \once \override
 where appropriate is safer. 


 Oh, interesting -- coming from a traditional TeX background, LilyPond
 really confuses me.  Is \override inside a \new Voice not confined to
 the scope of that Voice?

In this case, yes: \override Notecolumn is equivalent to \override
Bottom.Notecolumn, and Voice is a bottom context (not accepting other
contexts inside).

-- 
David Kastrup


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


Pitch with null duration?

2012-04-03 Thread Dossy Shiobara
I know how to make a pitch transparent (e.g., \override Rest
#'transparent = ##t) but is there a way to specify a pitch with a null
duration (e.g., like g0 or somesuch)?

The behavior I'm looking for is to start out a measure with a slur to
the first note, as this is a continuation of a previous measure from a
note that is slurred to the note that I'm interested in, that I am *not*
including in my LilyPond document.

The behavior of this null duration pitch would be very similar to the
transparent pitch above, except:

1) It has no horizontal spacing.

2) It has no duration, thus doesn't generate annoying barcheck warnings,
or otherwise screw up matching notes to lyrics, etc.

If I haven't adequately explained myself, please ask questions and I
will try to provide a better explanation and examples.  If this is in
the documentation, I couldn't find it; I'm sorry.

Thanks,

Dossy

-- 
Dossy Shiobara |  He realized the fastest way to change
do...@panoptic.com |   is to laugh at your own folly -- then you
http://panoptic.com/   |   can let go and quickly move on. (p. 70) 
  * WordPress * jQuery * MySQL * Security * Business Continuity *


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


Pitch with null duration?

2012-04-03 Thread Eluze

you can try something like

{
  \hideNotes
  \grace g''(
  \unHideNotes a1)
}

hth
Eluze

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


Re: Pitch with null duration?

2012-04-03 Thread Thomas Morley
Am 4. April 2012 00:56 schrieb Eluze elu...@gmail.com:
 you can try something like

 {
  \hideNotes
  \grace g''(
  \unHideNotes a1)
 }

 hth
 Eluze

Or perhaps:

\version 2.14.2

\relative c' {
d'4\repeatTie
}

and tweak the Tie, if necessary.

HTH,
  Harm

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