Re: Spacer Rests Global Confusion

2018-04-26 Thread Br. Samuel Springuel
On 4/26/18 12:02 PM, R wrote: This shows the default duration as a sixteenth note which should be NOT even considered since it's within an uncalled variable. So why is this spacer value magically applied to music when it resides it a completely uncalled variable? This makes no sense to me. Even

Re: Spacer Rests Global Confusion

2018-04-26 Thread David Wright
On Thu 26 Apr 2018 at 12:20:34 (-0400), R wrote: > On 4/26/2018 12:13 PM, Simon Albrecht wrote: > >On 26.04.2018 18:02, R wrote: > >>When the duration of the called variable is explicitly given, > >>everything is correct. However, if you remove the duration and > >>have it default to the normal

Re: Spacer Rests Global Confusion

2018-04-26 Thread David Kastrup
R writes: > When the duration of the called variable is explicitly given, > everything is correct. However, if you remove the duration and have it > default to the normal quarter note, this causes a problem. But it > shouldn't. > > % this snippet has 16th notes which is

Re: Spacer Rests Global Confusion

2018-04-26 Thread R
Kieren MacMillan wrote: Hi, it's an uncalled variable. Why should it output anything or impact anything that's called? 1. It doesn’t output anything on its own — only when you call it. What it impacts in that case depends on where and how you call it. 2. The input code contained in a

Re: Spacer Rests Global Confusion

2018-04-26 Thread Jacques Menu Muzhic
Hello R., A variable is nothing more than a name for a value, a piece of text in the case of Lily. Using it with a backslash ahead of its name leads to this value being inserted at this point in the Lily code. It’s the same as in all programming languages, there no implied magic at at all

Re: Spacer Rests Global Confusion

2018-04-26 Thread R
On 4/26/2018 12:13 PM, Simon Albrecht wrote: On 26.04.2018 18:02, R wrote: When the duration of the called variable is explicitly given, everything is correct. However, if you remove the duration and have it default to the normal quarter note, this causes a problem. If you don’t give an

Re: Spacer Rests Global Confusion

2018-04-26 Thread Kieren MacMillan
Hi, > it's an uncalled variable. Why should it output anything or impact anything > that's called? 1. It doesn’t output anything on its own — only when you call it. What it impacts in that case depends on where and how you call it. 2. The input code contained in a variable sets up certain

Re: Spacer Rests Global Confusion

2018-04-26 Thread R
On 4/26/2018 11:56 AM, Simon Albrecht wrote: On 26.04.2018 17:49, R wrote: Just one last question to pick your brain. Assuming I build an entire symphonic piece using global block as holder of tempo and markings. For a full score when I want to only show tempo markings above certain staves,

Re: Spacer Rests Global Confusion

2018-04-26 Thread Simon Albrecht
On 26.04.2018 18:02, R wrote: When the duration of the called variable is explicitly given, everything is correct. However, if you remove the duration and have it default to the normal quarter note, this causes a problem. If you don’t give an explicit duration to a note, its duration is going

Re: Spacer Rests Global Confusion

2018-04-26 Thread Helge Kruse
Am 26.04.2018 um 17:21 schrieb R: > Thank you but I have difficult understanding why Frescobaldi configured > the score like that if it's not prone to using the global block easily. > For instance, what is different about your code structurely and is there > a con to doing it your way? The

Re: Spacer Rests Global Confusion

2018-04-26 Thread Simon Albrecht
On 26.04.2018 17:49, R wrote: Just one last question to pick your brain. Assuming I build an entire symphonic piece using global block as holder of tempo and markings. For a full score when I want to only show tempo markings above certain staves, how is this easiest done? I understand they

Re: Spacer Rests Global Confusion

2018-04-26 Thread Simon Albrecht
On 26.04.2018 17:21, R wrote: Thank you but I have difficult understanding why Frescobaldi configured the score like that if it's not prone to using the global block easily. There are different ways of using a \global variable. One is to use it just for something like: global = {   \key as

Re: Spacer Rests Global Confusion

2018-04-26 Thread R
On 4/26/2018 11:41 AM, Kieren MacMillan wrote: Hi, I have difficult understanding why Frescobaldi configured the score like that if it's not prone to using the global block easily. I don’t know what you mean… The \global block is easy to use. Well I just meant that you had to manually

Re: Spacer Rests Global Confusion

2018-04-26 Thread R
On 4/26/2018 11:38 AM, Kieren MacMillan wrote: Hi, Also your code still gives me incorrect added measures. What duration are the cello notes supposed to be? The reason you have "incorrect added measures" is that you don't indicate what duration the cello notes are supposed to be, so they

Re: Spacer Rests Global Confusion

2018-04-26 Thread R
On 4/26/2018 11:38 AM, Kieren MacMillan wrote: Hi, Also your code still gives me incorrect added measures. What duration are the cello notes supposed to be? The reason you have "incorrect added measures" is that you don't indicate what duration the cello notes are supposed to be, so they

Re: Spacer Rests Global Confusion

2018-04-26 Thread Kieren MacMillan
Hi, > I have difficult understanding why Frescobaldi configured the score like that > if it's not prone to using the global block easily. I don’t know what you mean… The \global block is easy to use. > For instance, what is different about your code structurely and is there a > con to doing

Re: Spacer Rests Global Confusion

2018-04-26 Thread Kieren MacMillan
Hi, > Also your code still gives me incorrect added measures. What duration are the cello notes supposed to be? The reason you have "incorrect added measures" is that you don't indicate what duration the cello notes are supposed to be, so they implicitly adopt the last duration in the code

Re: Spacer Rests Global Confusion

2018-04-26 Thread R
On 4/26/2018 11:15 AM, Kieren MacMillan wrote: Hi, I am trying to understand spacer rests and global block. This is how I would organize your score: Also your code still gives me incorrect added measures. ? Look at the notes and then the empty measures. See?  Why is this better?

Re: Spacer Rests Global Confusion

2018-04-26 Thread R
On 4/26/2018 11:15 AM, Kieren MacMillan wrote: Hi, I am trying to understand spacer rests and global block. This is how I would organize your score: %%% SNIPPET BEGINS \version "2.19.81" global = { \key c \major \numericTimeSignature \time 4/4 \tempo "Fast!" s1*4 \tempo

Re: Spacer Rests Global Confusion

2018-04-26 Thread Kieren MacMillan
Hi, > I am trying to understand spacer rests and global block. This is how I would organize your score: %%% SNIPPET BEGINS \version "2.19.81" global = { \key c \major \numericTimeSignature \time 4/4 \tempo "Fast!" s1*4 \tempo "Largo" s1*3 \tempo "Allegro" } cello = \relative

Spacer Rests Global Confusion

2018-04-26 Thread Reggie
Hi list. I am new to the LilyPond. I am trying to understand spacer rests and global block. I know that you can use the global block to handle things like tempo and time throughout a piece however regardless of what I try it always seems to create an extra unnecessary staff. Of course I tried to