Re: [Rosegarden-user] timeOffset parameter

2020-12-05 Thread Yves Guillemot
Le  5 décembre 2020 à 05H30 (-0500)
"D. Michael McIntyre"  a écrit :

> Your post showed up. Let's see if you get my reply!
> 
> On 12/4/20 9:00 AM, Andrew S wrote:
> 
> > What is the timeOffset parameter for?  
> 
> I spent a little time poking around, and I'm not sure. The code is 
> supposed to set a timeOffset unless the time being compared is
> exactly equal to absoluteTime. 

It's the way the performance duration is stored in relation with the
exact notation duration after a quantification.

>  Nobody has
> touched the relevant code in a long, long time, and it probably works
> as designed. Whoever designed it probably forgot what this was for 10
> years ago.

Seems it's still working :-)

--
Yves


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] timeOffset parameter

2020-12-05 Thread D. Michael McIntyre

Your post showed up. Let's see if you get my reply!

On 12/4/20 9:00 AM, Andrew S wrote:


What is the timeOffset parameter for?


I spent a little time poking around, and I'm not sure. The code is 
supposed to set a timeOffset unless the time being compared is exactly 
equal to absoluteTime. I went down the rabbit hole a little way without 
finding any example of when or how this is actually invoked. I'm pretty 
rusty on the code.


There is more depth to this digging than I am willing to do unless you 
have a more pressing reason than simple curiosity. Nobody has touched 
the relevant code in a long, long time, and it probably works as 
designed. Whoever designed it probably forgot what this was for 10 years 
ago.

--
D. Michael McIntyre


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


[Rosegarden-user] timeOffset parameter

2020-12-04 Thread Andrew S
[duplicate message. Sending as plain text this time and also testing list 
subscription]

Greetings

What is the timeOffset parameter for?

In the XML you see it as an attribute of the note event:



My initial guess was that it is a temporal offset, such that a non-zero value 
would shift the start play time by that value (note is played early or late)

Experimenting with changing the value seems to indicate i guessed wrong.

Or perhaps it is only used in the absence of an "absoluteTime" value, with the 
latter overriding the former? (because without an explicit absoluteTime 
rosegarden dynamically computes the actual trigger time, and only then does it 
use the timeOffset value?)

thanks


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


[Rosegarden-user] timeOffset parameter

2020-12-04 Thread Andrew S


 
 
  
   Greetings
   
  
  
   
  
  
   What is the timeOffset parameter for? 
   
  
  
   
  
  
   In the XML you see it as an attribute of the note event:
   
  
  
   
  
  
   
   
  
  
   
  
  
   My initial guess was that it is a temporal offset, such that a non-zero value would shift the start play time by that value (note is played early or late)
   
  
  
   
  
  
   Experimenting with changing the value seems to indicate i guessed wrong.
   
  
  
   
  
  
   Or perhaps it is only used in the absence of an "absoluteTime" value, with the latter overriding the former? (because without an explicit absoluteTime rosegarden dynamically computes the actual trigger time, and only then does it use the timeOffset value?)
   
  
  
   
  
  
   thanks
   
  
  
   
  
 


___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user