Forums FAQForums FAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin 

Unison steps (3rd mix) are auto-generated: explanation
 
This topic is locked you cannot edit posts or make replies    DDR Freak Forum Index -> DDR Chit-Chat
View previous topic :: View next topic  
Author Message
SPUI
Trick Member
Trick Member


Joined: 18 Jul 2002
Location: Chile
0. PostPosted: Thu Jun 12, 2003 9:35 am    Post subject: Unison steps (3rd mix) are auto-generated: explanation Reply with quote

I'm working on a project to make DWIs of all obscure stepsets. So I got to unison on 3rd mix (PSX), and after coding a few I saw patterns. So I worked it out and this is what I found (and thus determined it's a waste of time to code unison steps):

Here, a measure includes the downbeat at the beginning but not the downbeat at the end (the start of the next measure). The first quarter of a measure is the downbeat at the beginning and all notes until, but not including, the next beat. The next beat starts the second quarter of the measure, and so on.

Measures are officially numbered (see edit or training mode for the numbers).

Now say we have a step S in the single steps, and we want to know what it will look like in the unison steps. This step is in quarter Q of measure M.

If M is 6 or less, both sides have S.
If S is the last step of the entire song (not the last quarter, only the last step), the left side gets S rotated right, and the right side gets S. This happens even if the last step is later in a different difficulty.
Divide M by 8 and call the remainder X. If X is between 3 and 6 (inclusive), both sides have S.

Otherwise, divide M by 32 and call the remainder R.
R=7 or 9 => S is on the left side only; the right side is blank
R=8 or 10 => S is on the right side only; the left side is blank
R=15 or 16 => If Q is 1 or 3, S is on the left; otherwise S is on the right; and the other side is blank
R=17 or 18 => If Q is 1 or 3, S is on the right; otherwise S is on the left; and the other side is blank
R=23 or 25 => S is on the left side and S rotated left is on the right side
R=24 or 26 => S is on the right side and S rotated right is on the left side

Otherwise, R is 31, 0, 1, or 2. In that case:
Q=1 => both sides have S
Q=2 => the left side has S rotated left and the right side has S rotated right
Q=3 => both sides have S mirrored
Q=4 => the left side has S rotated right and the right side has S rotated left

Now, Konami decided not to allow all three colors in one row (blue=left only, red=right only, yellow=both). In fact, I don't think yellow and another color are allowed together.
This means that diagonal jumps where R is from 15 to 18 (inclusive) are altered. The left side gets what it should, but the right side only gets the half of the transformed jump that does not coincide with what the left side gets. Thus the left side gets a jump and the right side gets only a step.


Last edited by SPUI on Fri Jun 13, 2003 11:12 am, edited 1 time in total
Back to top
View users profile Send private message AOL Instant Messenger
NinJiTSu OLOL!O!1!1
Trick Member
Trick Member


Joined: 11 Apr 2003
1. PostPosted: Fri Jun 13, 2003 7:00 am    Post subject: Reply with quote

Yeah!.... wha-
_________________
Back to top
View users profile Send private message
Big Matt: Training Mode
Trick Member
Trick Member


Joined: 24 Jan 2002
Location: NYDS, playing 10 footers til my toenails turn purple
2. PostPosted: Fri Jun 13, 2003 8:22 am    Post subject: Reply with quote

if i was smarter i'd understand that... but good job.
_________________

All of my accomplishments are on 1x Vivid. No, they don't really turn purple.
Back to top
View users profile Send private message Send email Visit posters website AOL Instant Messenger
SPUI
Trick Member
Trick Member


Joined: 18 Jul 2002
Location: Chile
3. PostPosted: Fri Jun 13, 2003 9:15 am    Post subject: Reply with quote

A simpler (incomplete) explanation:

The left side and the right side are copies of the single steps, with some transformations.

Every other set of 4 measures, both sides are exactly the single steps.

In the other sets of 4 measures, four patterns cycle; measure 7 is the first one to be transformed (with the first pattern).
The first pattern is to simply remove the first and third measures from the right side and the second and fourth measures from the left side.
The second pattern is to do something similar, but with separate quarters of measures. In the first two measures, the first and third quarters are on the left and the second and fourth are on the right. This is switched for the third and fourth measures.
The third pattern is to rotate the first and third measures left on the right side, and the second and fourth measures right on the left side.
The fourth pattern is really strange. On the left side, the first quarter of each measure is the single steps. The second quarter is rotated left, the third quarter is mirrored, and the fourth quarter is rotated right. The opposite happens on the right side (second quarter rotated right, etc).

The last step is always the single steps on the right side, and the single steps rotated right on the left side.

So, say we have a 21-measure long song. The measures are transformed as follows:
Code:

01--
02--
03--
04--
05--
06--
07-0
080-
09-0
100-
11--
12--
13--
14--
1512
1612
1721
1821
19--
20--
21--

Where - means the single steps, 0 means nothing, 1 means the first and third quarters, and 3 means the second and fourth quarters.
Back to top
View users profile Send private message AOL Instant Messenger
Catastrophe
Trick Member
Trick Member


Joined: 04 Mar 2002
Location: Worcester, MA
4. PostPosted: Fri Jun 13, 2003 7:23 pm    Post subject: Unison Steps Are Auto-generated Reply with quote

Wow! You were going to code all of the unison steps? You are the man! And doubly so for finding the pattern to auto-generate unison steps for any song.

Five Words: Jam Jam Reggae maniac unison! laugh.gif
( The AMD remix from 3rd mix of course )
Back to top
View users profile Send private message
Poochy
Trick Member
Trick Member


Joined: 25 Mar 2002
Location: It changes whenever I move.
5. PostPosted: Fri Jun 13, 2003 8:27 pm    Post subject: Reply with quote

Big Matt: Training Mode wrote:
if i was smarter i'd understand that... but good job.

OK, to simplify it, the pattern goes:
EEXXXXLRLRXXXXAABBXXXXCDCDXXXXEE (repeat)
where each letter is one measure, and the letter represents the effect on that measure:

L = P1 (left) side only
R = P2 (right) side only

A = Steps go on LRLR sides, each letter is one beat
B = Steps go RLRL, 1 letter = one beat
C = Rotated left on P2 side, kept the same on P1
D = Rotated right on P1 side, kept the same on P2

E = Depends on beats:
Beat 1 = No effect
Beat 2 = Rotated left on P1, rotated right on P2
Beat 3 = Mirrored on both sides
Beat 4 = Rotated left on P2, rotated right on P1

X = No effect

However, the 2nd measure is exempt and doesn't change. (1 is always blank, 3-6 aren't affected anyways)
_________________
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].

Don't make me mad, I know karate!
(Not to mention a bunch of other Japanese words.)
Back to top
View users profile Send private message
HoobyJooby
Trick Member
Trick Member


Joined: 12 Mar 2003
Location: Lake Oswego, OR
6. PostPosted: Sat Jun 14, 2003 12:03 am    Post subject: Reply with quote

2+2=4, now I feel smart again E1.gif
Back to top
View users profile Send private message
Display posts from previous:   
This topic is locked you cannot edit posts or make replies    DDR Freak Forum Index -> DDR Chit-Chat All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group