Re: Auto-beaming in asymmetrical time signatures

2005-08-15 Thread Hans Aberg


On 15 Aug 2005, at 01:41, Han-Wen Nienhuys wrote:

Apparently one just adds a few more override-auto-beam-setting:
  \time 7/16
  #(override-auto-beam-setting '(end * * 7 16) 2 16)
  #(override-auto-beam-setting '(end * * 7 16) 4 16)
Sorry for bothering you with so simple matters.





Can one insert automated dotted bar-lines within the measure as well?



No, but I'd gladly add this as a sponsored feature! Let me know  
when you're interested.


I might supply it at a point I have deciphered how programming works  
in LilyPond. The suggestion by Mats Bengtsson works fine in the interim.


  Hans Aberg




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


Re: Auto-beaming in asymmetrical time signatures

2005-08-14 Thread Han-Wen Nienhuys

Hans Aberg wrote:


Apparently one just adds a few more override-auto-beam-setting:
  \time 7/16
  #(override-auto-beam-setting '(end * * 7 16) 2 16)
  #(override-auto-beam-setting '(end * * 7 16) 4 16)
Sorry for bothering you with so simple matters.




Can one insert automated dotted bar-lines within the measure as well?


No, but I'd gladly add this as a sponsored feature! Let me know when 
you're interested.



--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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


Re: Auto-beaming in asymmetrical time signatures

2005-08-09 Thread Hans Aberg

On 9 Aug 2005, at 00:50, Graham Percival wrote:

Apparently one just adds a few more override-auto-beam-setting:
  \time 7/16
  #(override-auto-beam-setting '(end * * 7 16) 2 16)
  #(override-auto-beam-setting '(end * * 7 16) 4 16)
Sorry for bothering you with so simple matters.

Can one insert automated dotted bar-lines within the measure as well?


Not without some scheme code.  I suggest using manual barlines  
instead.


OK. But it would nice to be able to automate it. It will be used for  
compound meters that will be repeated through the whole piece. For  
example, in the Bulgarian Sedi Donka, one has 25 = 7 + 7 + 11,  
where 7 and 11 are also compound.


  Hans Aberg




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


Re: Auto-beaming in asymmetrical time signatures

2005-08-09 Thread Mats Bengtsson

The easiest way to automate it is probably to do something like
(assuming the piece repeats this pattern 12 times)

barlines = { \repeat 12 {s8*7 \bar : s8*7 \bar : s8*11 | }

which you can add in one of your staves (since a \bar statement
applies to all staves, you can add it anywhere):

\score{
  ...
  \new Staff 
\barlines
\ordinaryMusicInThisStave
  
...
}

   /Mats

Hans Aberg wrote:

On 9 Aug 2005, at 00:50, Graham Percival wrote:


Apparently one just adds a few more override-auto-beam-setting:
  \time 7/16
  #(override-auto-beam-setting '(end * * 7 16) 2 16)
  #(override-auto-beam-setting '(end * * 7 16) 4 16)
Sorry for bothering you with so simple matters.

Can one insert automated dotted bar-lines within the measure as well?



Not without some scheme code.  I suggest using manual barlines  instead.



OK. But it would nice to be able to automate it. It will be used for  
compound meters that will be repeated through the whole piece. For  
example, in the Bulgarian Sedi Donka, one has 25 = 7 + 7 + 11,  where 
7 and 11 are also compound.


  Hans Aberg




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


--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


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


Re: Auto-beaming in asymmetrical time signatures

2005-08-09 Thread Hans Aberg


On 9 Aug 2005, at 13:42, Mats Bengtsson wrote:


The easiest way to automate it is probably to do something like
(assuming the piece repeats this pattern 12 times)

barlines = { \repeat 12 {s8*7 \bar : s8*7 \bar : s8*11 | }

which you can add in one of your staves (since a \bar statement
applies to all staves, you can add it anywhere):

\score{
  ...
  \new Staff 
\barlines
\ordinaryMusicInThisStave
  
...
}


This is working; then one, at least, does not have to write it in by  
hand in each measure, though one still has to fiddle around with the  
meter count a bit. Thank you. Corrected syntax:
  barlines = { \repeat unfold 12 {s8*7 \bar : s8*7 \bar : s8*11  
| } }


  Hans Aberg




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


Re: Auto-beaming in asymmetrical time signatures

2005-08-07 Thread Hans Aberg


On 7 Aug 2005, at 04:28, Graham Percival wrote:

How do I auto-beam in asymmetrical times signatures? For example,  
7/16 may decompose as (2+2+3)/16, (4+3)/16, (3+2+2)/16.




You look at doc section 6.4.4 Automatic beams
You follow the link to 8.6.2 Setting automatic beam behavior
You read that page.

You could also look at the tips and tricks documents (beam-auto- 
*.ly), or

search examples in LSR.


Thank you for the reply. The rule seems to only work when decomposing  
the time signature in two parts. For example 7 = 4 + 3 works fine using

  \time 7/16
  #(override-auto-beam-setting '(end * * 7 16) 4 16)
But what do I write if I want to use 7 = 2 + 2 + 3 (or 13 = 4 + 4 + 2  
+ 3)?


  Hans Aberg




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


Re: Auto-beaming in asymmetrical time signatures

2005-08-07 Thread Hans Aberg


On 7 Aug 2005, at 14:28, Hans Aberg wrote:

 The rule seems to only work when decomposing the time signature in  
two parts. For example 7 = 4 + 3 works fine using

  \time 7/16
  #(override-auto-beam-setting '(end * * 7 16) 4 16)
But what do I write if I want to use 7 = 2 + 2 + 3 (or 13 = 4 + 4 +  
2 + 3)?


Apparently one just adds a few more override-auto-beam-setting:
  \time 7/16
  #(override-auto-beam-setting '(end * * 7 16) 2 16)
  #(override-auto-beam-setting '(end * * 7 16) 4 16)
Sorry for bothering you with so simple matters.

Can one insert automated dotted bar-lines within the measure as well?

  Hans Aberg




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


Auto-beaming in asymmetrical time signatures

2005-08-06 Thread Hans Aberg
How do I auto-beam in asymmetrical times signatures? For example,  
7/16 may decompose as (2+2+3)/16, (4+3)/16, (3+2+2)/16.


  Hans Aberg




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


Re: Auto-beaming in asymmetrical time signatures

2005-08-06 Thread Graham Percival


On 5-Aug-05, at 7:31 AM, Hans Aberg wrote:

How do I auto-beam in asymmetrical times signatures? For example, 7/16 
may decompose as (2+2+3)/16, (4+3)/16, (3+2+2)/16.


You look at doc section 6.4.4 Automatic beams
You follow the link to 8.6.2 Setting automatic beam behavior
You read that page.

You could also look at the tips and tricks documents 
(beam-auto-*.ly), or

search examples in LSR.

Cheers,
- Graham



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