[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spacer Rests Global Confusion

From: R
Subject: Re: Spacer Rests Global Confusion
Date: Thu, 26 Apr 2018 12:20:34 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

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 explicit duration to a note, its duration is going to be the last duration previously encountered _in the input file_. This is done by the parser without any consideration about what’s eventually going to be used or how. The ‘default’ of a quarter note is therefore only effective for the very first note in a file.
It’s a bad idea to rely on that, anyway. You should really start each variable and likely even each line with an explicit pitch _and_ explicit duration. (In my own use I’m not so strict about _every_ line, but the first line in each variable is a must.)

Best, Simon

Right. I gave several examples but. But it's an uncalled variable. Why should it output anything or impact anything that's called? Is it only durations that can leak out of uncalled variables? What else can impact outside an uncalled variable data?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]