On 6/18/10 4:08 PM, Arle Lommel wrote:
Dmytro, how well defined are the contexts where these occur? If the patterns
are well enough defined, you could probably automate all the replacements with
\partial by using a regular expression across all the files that is centered on
looking for the s2
> On 6/18/10 12:32 PM, Dmytro O. Redchuk wrote:
>> Why not:
>> % [...]
>> d4. e8 fis4 e |
>> \partial 2
>> d2 \bar ":|:"
>> fis2 g |
>> % [...]
>>
>
> Yes. That would be the solution if I could start from scratch. The
> problem is that I have more than 1000 melodies in which the
> invisible
On Fri 18 Jun 2010, 15:44 Peter Van Kranenburg wrote:
> It does.
>
> I got the bar number printed using a little hack:
>
> stopThisMeasure = \applyContext
> #(lambda (x)
> (ly:context-set-property!
> (ly:context-property-where-defined x 'measurePosition)
> 'measurePosition
> (ly
On 6/18/10 3:19 PM, Dmytro O. Redchuk wrote:
I've found http://lsr.dsi.unimi.it/LSR/Snippet?id=333 and tried this:
%-8<-
stopThisMeasure = \applyContext
#(lambda (x)
(ly:context-set-property!
(ly:context-property-where-defined x 'measurePosition)
On Fri 18 Jun 2010, 14:57 Peter Van Kranenburg wrote:
> On 6/18/10 2:10 PM, Dmytro O. Redchuk wrote:
> >Looks like " " would do.
> >
>
> Only for meters like 4/4 or 2/2. Not for meters like 3/4 or 6/8.
>
> So the question remains, how to set Timing.measurePosition to the
> value of Timing.measur
On 6/18/10 2:10 PM, Dmytro O. Redchuk wrote:
Is it possible to set the measurePosition to the measureLength
manually? I am lacking lisp skills. How to access
Timing.measurelength? This does not work:
\set Timing.measurePosition = Timing.measureLength
Looks like " " would do.
Only for meters
On Fri 18 Jun 2010, 13:43 Peter Van Kranenburg wrote:
> From the reference:
>
> -
> measurePosition
> The point within the measure where we currently are. This quantity
> is reset by subtracting measureLength whenever measureLength is
> reached or exceeded. When that happens, currentBarNumber
On Fri 18 Jun 2010, 12:40 Peter Van Kranenburg wrote:
> On 6/18/10 12:32 PM, Dmytro O. Redchuk wrote:
> >Why not:
> > % [...]
> > d4. e8 fis4 e |
> > \partial 2
> > d2 \bar ":|:"
> > fis2 g |
> > % [...]
> >
>
> Yes. That would be the solution if I could start from scratch. The
> probl
On Fri 18 Jun 2010, 12:23 Peter Van Kranenburg wrote:
> These partial measures can occur anywhere. Not only at te beginning
> (see attached example). And, no, there are no barline checks
> encoded.
>
> The example has been encoded as (starting at second system):
>
> [...] d4. e8 fis4 e d2 s2 \bar
On 2010-06-18 12:23, Peter Van Kranenburg wrote:
The example has been encoded as (starting at second system):
[...] d4. e8 fis4 e d2 s2 \bar ":|:" fis2 g [...]
So, my question is how to prevent the s2 from occupying horizontal space.
You might try d2*2 instead of d2 s2. Which looks not quite
Hi Peter,
> adding *0 to s[0-9]+ is easy. To add the \partial command, it is necessary to
> figure out the current time signature from the context, to find the start of
> the measure and to figure out the length of the partial bar, which is not
> easy. One has to write a lilypond parser for tha
Hi Peter,
> Thank you. That triggered the right solution. r4*0 does not work. The rest
> collides with the following note.
You can make it transparent.
> I have around 1000 melodies in which partial measures were solved by
> inserting invisible rests (s) instead of using \partial. With this so
Hi Peter,
> On closer look, I see it does not work... The bar lines after the invisible
> rest are shifted. This takes no score time and no space.
> In the Notation Reference I found how to set Score.measurePosition. Is it
> also possible to increase Score.measurePosition?
I think so… but to so
On 6/15/10 11:34 PM, Peter Van Kranenburg wrote:
Thank you. That triggered the right solution. r4*0 does not work. The
rest collides with the following note. But, s4*0 works for me. And that
is exactly what I need. I have around 1000 melodies in which partial
measures were solved by inserting inv
Graham Percival writes:
> On Tue, Jun 15, 2010 at 08:59:45PM +0200, Peter Van Kranenburg wrote:
>>
>> \skip and s consume score time, but both print some horizontal space.
>> How can I insert an invisible rest that does not take horizontal space?
>> I searched the manuals and snippet repository
On 6/15/10 10:05 PM, Kieren MacMillan wrote:
Hi Richie,
\skip and s consume score time, but both print some horizontal space.
How can I insert an invisible rest that does not take horizontal space?
I searched the manuals and snippet repository, but no clue...
Use
r4*0
You may have to put
Hi Richie,
> > \skip and s consume score time, but both print some horizontal space.
> > How can I insert an invisible rest that does not take horizontal space?
> > I searched the manuals and snippet repository, but no clue...
Use
r4*0
You may have to put
\once \override Rest #'X-extent =
> Hi all,
>
> \skip and s consume score time, but both print some horizontal space.
> How can I insert an invisible rest that does not take horizontal space?
> I searched the manuals and snippet repository, but no clue...
>
> Thanks!
>
> Peter van Kranenburg
You can't, because I think Lily
On Tue, Jun 15, 2010 at 08:59:45PM +0200, Peter Van Kranenburg wrote:
>
> \skip and s consume score time, but both print some horizontal space.
> How can I insert an invisible rest that does not take horizontal space?
> I searched the manuals and snippet repository, but no clue...
My first insti
On 15.06.2010, at 20:59, Peter Van Kranenburg wrote:
Hi all,
\skip and s consume score time, but both print some horizontal
space. How can I insert an invisible rest that does not take
horizontal space?
I searched the manuals and snippet repository, but no clue...
Thanks!
Peter van Kran
20 matches
Mail list logo