Encore - Swing playback

Specifically about Encore music notation software

Moderators: Hotch, Denkster, John Miller

Re: Encore - Swing playback

Postby Doug Kerr » Wed Sep 30, 2009 1:47 am

I said,
Doug Kerr wrote:The algorithm I suggest (it may well be that what we have no is a broken version of this) would do essentially the following:

• Imagine a "face value" cell within which each note lives (ending at its current play duration).
• Apply the basic swing definition to the boundary between the cells, giving new "face value cells"
• In each cell, make the note duration the same fraction of the cell length that the pre-swing duration was of the face length (which was the "pre-swing "cell").

So if before the swing, the duration of note 1 was 80% of its face value, and the duration of note 2 was 90% of its face value, then after the swing the duration of note 1 will be 80% the length of its "adjusted cell" and the duration of note 2 would be 90% the duration of its "adjusted cell".


In fact, the current Encore algorithm does exactly this except that, for the second notes, if the initial duration of the second note was less than 100%, the duration of the second note (as adjusted) is greater than would be called for by the red clause in my algorithm.

The "error" is systematic, and I can probably characterize the "error" in the math. It seems to be an error in the algorithm calculating the length of the second note's "cell" based on the swing point (the so-called "amout of swing" parameter) for use in determining teh adjusted note's actual duration.

My guess is that Gvox's original plan was to use exactly the algorithm I now recommend, but that (for second notes, when the original duration of the second note is less than 100% of face), the calculation was (or is now) bungled.

Doug
Doug Kerr
 
Posts: 4407
Joined: Sat Sep 15, 2007 10:38 pm
Location: Alamogordo, New Mexico, USA

Re: Encore - Swing playback

Postby Denkster » Wed Sep 30, 2009 1:16 pm

Doug Kerr wrote:My guess is that Gvox's original plan was to use exactly the algorithm I now recommend, but that (for second notes, when the original duration of the second note is less than 100% of face), the calculation was (or is now) bungled.

I agree.

Maybe a concise bug report, with just this statement and a link to the post with the algorithm, directly to Matt, might trigger him to find and fix that bug?

kind regards
Eveline
Denkster denkt door
PC (AsusM2N, AMD 64X2 6000+, 2GB; Matrox Parhelia AVP); W2K SP5; HP LJ6MP; Canon Pixma iP4200.
Laptop: Toshiba Portégé R600, 4 GB; Vista BU.
Denkster
 
Posts: 3357
Joined: Fri Sep 14, 2007 1:28 pm
Location: The Netherlands, 's-Gravenhage

Re: Encore - Swing playback

Postby polarbreeze » Wed Sep 30, 2009 2:13 pm

Denkster wrote:
polarbreeze wrote:Encore does indeed understand the term "on the beat" and in fact it uses that concept when it makes decisions for the "beam on beat" function.

Beam on beat does not work as you apparently assume.
In a 4/4 measure, it does Beam-on-pulse, assuming two pulses in the 4/4 measure.
It seems to me that it follows standard beaming rules. You would agree that there's a difference between the "beam group" operation and the "beam on beat" operation? In order to do the latter, Encore needs to know where the beat is - and it does that correctly as far as I can see. It works as per the manual: "Beam on Beat uses the time signature and beat location for the selected notes to determine a default beaming combination".
.
It's my contention that the logic for determining how to pair notes for swinging is similar and probably identical.
.
As I said before, I don't think the term "pulse" has any technical meaning and in particular I'm not sure why you consider that a 4/4 measure has two pulses...?
polarbreeze
 
Posts: 3494
Joined: Fri Sep 14, 2007 6:56 pm

Re: Encore - Swing playback

Postby Denkster » Wed Sep 30, 2009 2:49 pm

polarbreeze wrote:It seems to me that it follows standard beaming rules.
Describe your 'standard beaming rules'.
My 'standard beaming rules' for 4/4 measures are different of those Encore applies.
polarbreeze wrote:You would agree that there's a difference between the "beam group" operation and the "beam on beat" operation?
Yes.
polarbreeze wrote:In order to do the latter, Encore needs to know where the beat is
Yes.
polarbreeze wrote: - and it does that correctly as far as I can see.
I Disagree.
polarbreeze wrote:It works as per the manual: "Beam on Beat uses the time signature and beat location for the selected notes to determine a default beaming combination".
Apparently that sentence is ambiguous.
  • uses the time signature and beat location - how?
  • a default beaming combination - a = any? which default?

polarbreeze wrote:. It's my contention that the logic for determining how to pair notes for swinging is similar and probably identical.
I Disagree. Anyway, 'similar and probably identical' are totally useless terms in a design, no, worse: dangerous, misleading, a waste of time.
polarbreeze wrote:. As I said before, I don't think the term "pulse" has any technical meaning
You would be helpful if you could confirm this term is free then, to define as proposed: 'the beat(s) which have the emphasis'.
polarbreeze wrote:and in particular I'm not sure why you consider that a 4/4 measure has two pulses...?
I consider that a 4/4 measure can have two pulses, the first and the third, because these two often have considerably more emphasis then the second and fourth beat.

Eveline
Denkster denkt door
PC (AsusM2N, AMD 64X2 6000+, 2GB; Matrox Parhelia AVP); W2K SP5; HP LJ6MP; Canon Pixma iP4200.
Laptop: Toshiba Portégé R600, 4 GB; Vista BU.
Denkster
 
Posts: 3357
Joined: Fri Sep 14, 2007 1:28 pm
Location: The Netherlands, 's-Gravenhage

Re: Encore - Swing playback

Postby polarbreeze » Wed Sep 30, 2009 2:59 pm

Denkster wrote:My 'standard beaming rules' for 4/4 measures are different of those Encore applies.
Could you please give an example of that?
Denkster wrote: 'similar and probably identical' are totally useless terms in a design, no, worse: dangerous, misleading, a waste of time.
I was not trying to formulate a definition - just observing the potential similarity in the algorithms
Denkster wrote: You would be helpful if you could confirm this term is free then, to define as proposed: 'the beat(s) which have the emphasis'.
I don't think I'm the arbiter of that. But Wikipedia has a description of "pulse" too if that helps.
polarbreeze
 
Posts: 3494
Joined: Fri Sep 14, 2007 6:56 pm

Re: Encore - Swing playback

Postby q » Wed Sep 30, 2009 4:16 pm

Denkster wrote:
Doug Kerr wrote:My guess is that Gvox's original plan was to use exactly the algorithm I now recommend, but that (for second notes, when the original duration of the second note is less than 100% of face), the calculation was (or is now) bungled.

I agree.

Maybe a concise bug report, with just this statement and a link to the post with the algorithm, directly to Matt, might trigger him to find and fix that bug?

Yes. A consolidated report may prove helpful and may help expedite a result.

q
Life is good with Encore 5 Mac OS 10.6.x — MacBook Pro /core i7 / Mac OS 10.4.11 — Mac G5 Dual 2.0 GHz
q
 
Posts: 3525
Joined: Thu Sep 13, 2007 7:24 pm
Location: San Francisco, East Bay Area

Re: Encore - Swing playback

Postby Doug Kerr » Wed Sep 30, 2009 4:42 pm

Hi, q,
q wrote:Yes. A consolidated report may prove helpful and may help expedite a result.

Done (in you-know-where).

Doug
Doug Kerr
 
Posts: 4407
Joined: Sat Sep 15, 2007 10:38 pm
Location: Alamogordo, New Mexico, USA

Previous

Return to Encore

Who is online

Users browsing this forum: No registered users and 1 guest