|
From: | R |
Subject: | Re: Spacer Rests Global Confusion |
Date: | Thu, 26 Apr 2018 12:02:44 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 4/26/2018 11:56 AM, Simon Albrecht wrote:On 26.04.2018 17:49, R wrote: Simon thank you for helpful explanations worked. But I must say that there is still a problem with the idea of the global block somehow being different than other variables of any name. Let me show you please. First look at this correct code % half note correct \version "2.19.81" global = { \tempo "Very Fast" s16*2 \tempo "New Tempo" } calledvariable = { c2 d } \new Staff { \calledvariable } % 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 broken and wrong \version "2.19.81" global = { \tempo "Very Fast" s16*2 \tempo "New Tempo" } calledvariable = { c d } \new Staff { \calledvariable } % 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 this snippet makes things worse. % This snippet with an uncalled variable somehow makes the duration whole notes but it shouldnt the variable has not been called why is this happening it's just a definition of a variable % and yet it overrides called variables? So basically durations must be explicitly given if you use uncalled variables? So lost. \version "2.19.81" global = { \tempo "Very Fast" s16*2 \tempo "New Tempo" } junk = { c1 } calledvariable = { c d } \new Staff { \calledvariable } |
[Prev in Thread] | Current Thread | [Next in Thread] |