Re: Beam groupings

2013-09-08 Thread Trevor Daniels

Eluze wrote Sunday, September 08, 2013 10:04 AM

> I can't reproduce the error(s).
> 
> I suppose your full code is something like 
> 
> *code above*
> }
> {\vibestopstaff}
> 
> then it compiles perfectly in 2.16.0 and higher.
> 
> only when removing or postponing the /\time 2/4/ then errors raise

Yes, \time resets all the beaming parameters for the specified time signature.

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


Re: Beam groupings

2013-09-08 Thread Eluze
EdBeesley wrote
> Rachael the version is 2.16.2.
> 
> I've now got the code to work, but the fix for this seems rather strange.
> If I put the code before any declared notes in a part it doesn't work,
> e.g: 
> 
> vibestopstaff = \relative c'' { \time  2/4
>   \set Timing.baseMoment = #(ly:make-moment 2 4) 
>\setvibestopstaff Timing.beatStructure = #'(1) 
>\set Timing.beamExceptions = #'() 
>   c8 ( bes   a f ) |
>   

I can't reproduce the error(s).

I suppose your full code is something like 

*code above*
}
{\vibestopstaff}

then it compiles perfectly in 2.16.0 and higher.

only when removing or postponing the /\time 2/4/ then errors raise

Eluze





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Beam-groupings-tp150417p150447.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


Re: Beam groupings

2013-09-08 Thread David Kastrup
EdBeesley  writes:

> Rachael the version is 2.16.2.
>
> I've now got the code to work, but the fix for this seems rather strange. If
> I put the code before any declared notes in a part it doesn't work, e.g: 
>
> vibestopstaff = \relative c'' { \time  2/4
>   \set Timing.baseMoment = #(ly:make-moment 2 4) 
>\set Timing.beatStructure = #'(1) 
>\set Timing.beamExceptions = #'() 
>   c8 ( bes   a f ) |

Fixed in 2.17.12
http://code.google.com/p/lilypond/issues/detail?id=3140>

In the mean time, do something like \context Voice { \time 2/4 ...

or similar to get the Score context set up properly before the commands
register.

-- 
David Kastrup


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


Re: Beam groupings

2013-09-08 Thread EdBeesley
Rachael the version is 2.16.2.

I've now got the code to work, but the fix for this seems rather strange. If
I put the code before any declared notes in a part it doesn't work, e.g: 

vibestopstaff = \relative c'' { \time  2/4
  \set Timing.baseMoment = #(ly:make-moment 2 4) 
   \set Timing.beatStructure = #'(1) 
   \set Timing.beamExceptions = #'() 
  c8 ( bes   a f ) |
  
Whereas if I insert it after the first couple of notes it works as intended: 

 c8 ( bes \set Timing.baseMoment = #(ly:make-moment 2 4) 
   \set Timing.beatStructure = #'(1) 
   \set Timing.beamExceptions = #'()   a f ) |

Is this supposed to happen? I don't understand the necessity of having to
interleave it with notes before it's acknowledged by the parser

Peter your code didn't work at first, maybe I was putting it in the wrong
place. I tried combining it with the advice in the manual and inserted it
here:

 \new Staff = "VibesT" {
\overrideTimeSignatureSettings
 2/4
 2/4   
  #'(1)  
  #'()
 
   \vibestopstaff

This also works as intended. 

Thanks for the help everyone, I'm a recent convert from Sibelius and whilst
I love the quality of the output from Lilypond it sure is a steep learning
curve!



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Beam-groupings-tp150417p150443.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


Re: Beam groupings

2013-09-07 Thread Peter Crighton
At the moment I can't give you a reason why this would work instead of the
code posted earlier, but here's the code I use in my current projects.

Put a \layout block somewhere inside your \score block with the following
contents (adjust it to your needs – this produces beamed groups with a
length of 1/4 each in a 4/4 measure):

\layout {
  \context {
\Score
\overrideTimeSignatureSettings
  4/4
  1/4
  #'(1 1 1 1)
  #'()
  }
}

--
Peter Crighton | Musician & Music Engraver based in Mainz, Germany
http://www.petercrighton.de
Am 08.09.2013 03:28 schrieb "EdBeesley" :

> Thanks everyone for your continued help. Rachael I'm afraid your example
> didn't work. I did actually study the relevant section of the manual for a
> good half hour, and I can see why your example should work, but
> unfortunately it doesn't :(
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Beam-groupings-tp150417p150426.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
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Beam groupings

2013-09-07 Thread Rachael Thomas Carlson

Hi Ed:

You have not told us what version you are running.  What version of 
LilyPond are you running?


This code should work for 2.14, 2.16, and 2.17.

Rachael

On 09/07/2013 08:28 PM, EdBeesley wrote:

Thanks everyone for your continued help. Rachael I'm afraid your example
didn't work. I did actually study the relevant section of the manual for a
good half hour, and I can see why your example should work, but
unfortunately it doesn't :(



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Beam-groupings-tp150417p150426.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



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


Re: Beam groupings

2013-09-07 Thread EdBeesley
Thanks everyone for your continued help. Rachael I'm afraid your example
didn't work. I did actually study the relevant section of the manual for a
good half hour, and I can see why your example should work, but
unfortunately it doesn't :( 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Beam-groupings-tp150417p150426.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


RE: Beam groupings

2013-09-07 Thread Mark Stephen Mrotek
Ed:

 

In the manual

http://www.lilypond.org/doc/v2.16/Documentation/notation/beams#setting-autom
atic-beam-behavior

is a discussion on changing how automatic beaming works. Scroll down until
you see the phrases:

 

\set Timing.baseMoment = #(ly:make-moment 1 8)

\set Timing.beatStructure = #'(3 3 2)

 

See how the numbers relate to the example that follows. This should give you
an idea how to adjust the numbers to suit your score.

 

Mark

 

 

From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
EdBeesley
Sent: Saturday, September 07, 2013 5:38 PM
To: lilypond-user@gnu.org
Subject: Re: Beam groupings

 

Thanks Andrew I was going to do that but the whole part I'm writing has the
same beaming pattern throughout, so to keep it tidy I was hoping to avoid
doing it manually for every bar. And I figured I might as well try and
understand how it works now rather than later!

 

On Sun, Sep 8, 2013 at 1:27 AM, Andrew Bernard [via Lilypond] <[hidden
email]> wrote:

You could use manual beaming, for example. 

\relative c'' { 
   \time 2/4 

   c8 b a g | 
   c[ b a g] | 
} 


Andrew 



___ 
lilypond-user mailing list 
[hidden email] <http://user/SendEmail.jtp?type=node&node=150418&i=0>  
https://lists.gnu.org/mailman/listinfo/lilypond-user



  _  

If you reply to this email, your message will be added to the discussion
below:

http://lilypond.1069038.n5.nabble.com/Beam-groupings-tp150417p150418.html 

To unsubscribe from Beam groupings, click here.
 
<http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_
viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.Bas
icNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.templat
e.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant
_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML


 

 

  _  

View this message in context: Re: Beam groupings
<http://lilypond.1069038.n5.nabble.com/Beam-groupings-tp150417p150419.html> 
Sent from the User mailing list archive
<http://lilypond.1069038.n5.nabble.com/User-f3.html>  at Nabble.com.

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


Re: Beam groupings

2013-09-07 Thread Rachael Thomas Carlson

Hello Ed:

On 09/07/2013 07:38 PM, EdBeesley wrote:

Thanks Andrew I was going to do that but the whole part I'm writing has
the same beaming pattern throughout, so to keep it tidy I was hoping to
avoid doing it manually for every bar. And I figured I might as well try
and understand how it works now rather than later!




The relevant section of the manual is:
http://www.lilypond.org/doc/v2.16/Documentation/notation/beams#setting-automatic-beam-behavior

subsection: "beaming based on baseMoment and beatStructure"

from the manual: "If a common time signature is being used, 
beamExceptions must be disabled to enable beatStructure to work. The 
\set Timing.beamExceptions = #'() command can always be included if 
beaming is being determined by beatStructure. "


I responded earlier with the code to automatically change the beaming 
structure.  I jumped at the opportunity to assist with this list as it 
has been so very helpful to me in the past.


Rachael

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


Re: Beam groupings

2013-09-07 Thread Andrew Bernard

To do that, refer to the manual section 1.2.4 on beaming.

Andrew


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


Re: Beam groupings

2013-09-07 Thread Rachael Thomas Carlson

Hello Ed:



2/4 all 4 quavers will be beamed together.



\version "2.16.2"
\relative c'' {
\time 2/4
c8 b a g |
  \set Timing.baseMoment = #(ly:make-moment 2 4)
  \set Timing.beatStructure = #'(1)
  \set Timing.beamExceptions = #'()
c b a g |
}

Rachael

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


Re: Beam groupings

2013-09-07 Thread EdBeesley
Thanks Andrew I was going to do that but the whole part I'm writing has the
same beaming pattern throughout, so to keep it tidy I was hoping to avoid
doing it manually for every bar. And I figured I might as well try and
understand how it works now rather than later!


On Sun, Sep 8, 2013 at 1:27 AM, Andrew Bernard [via Lilypond] <
ml-node+s1069038n150418...@n5.nabble.com> wrote:

> You could use manual beaming, for example.
>
> \relative c'' {
>\time 2/4
>
>c8 b a g |
>c[ b a g] |
> }
>
>
> Andrew
>
>
> ___
> lilypond-user mailing list
> [hidden email] 
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
> http://lilypond.1069038.n5.nabble.com/Beam-groupings-tp150417p150418.html
>  To unsubscribe from Beam groupings, click 
> here
> .
> NAML
>




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Beam-groupings-tp150417p150419.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


Re: Beam groupings

2013-09-07 Thread Andrew Bernard

You could use manual beaming, for example.

\relative c'' {
  \time 2/4

  c8 b a g |
  c[ b a g] |
}


Andrew


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