User:Dvw/Spider slow jitter

From MCEWiki
NB: The following has fast data with 10 samples-per-frame rather than the actual number of 20 just to make the table smaller.
The "lag slow data fix"

The following is an example of a unified dirfile made from two PCM framefiles, the first which runs from FASTSAMP 0 to 29 and the second starting from FASTSAMP 33, meaning there's three missing frames (FASTSAMP 30 to 32, green) which the dirfile unifier needs to insert to the unified dirfile to keep the sync word (FASTSAMPs) aligned. Both PCM framefiles start on Multiplex index (MX) = 0. Green cells indicate fake data; red cells indicate repeated data.

In addition to padding the fast data, some of the slow data (viz. those with multiplex indices 7, 8 and 9), also require padding. After the required padding, the location of the slow frame boundary relative to MX = 0 has changed. As a result fast[33] and slowMX=8[4] do not occur in the same slow frame, even though they would if you made a dirfile out of only the second framefile.

Slow data jitter in unified dirfiles.
SLOW FRAME BOUNDARY
fast[ 0] slowMX=0[0]                
fast[ 1] slowMX=1[0]
fast[ 2] slowMX=2[0]
fast[ 3] slowMX=3[0]
fast[ 4] slowMX=4[0]
fast[ 5] slowMX=5[0]
fast[ 6] slowMX=6[0]
fast[ 7] slowMX=7[0]
fast[ 8] slowMX=8[0]
fast[ 9] slowMX=9[0]
SLOW FRAME BOUNDARY
fast[10] slowMX=0[1]                
fast[11] slowMX=1[1]
fast[12] slowMX=2[1]
fast[13] slowMX=3[1]
fast[14] slowMX=4[1]
fast[15] slowMX=5[1]
fast[16] slowMX=6[1]
fast[17] slowMX=7[1]
fast[18] slowMX=8[1]
fast[19] slowMX=9[1]
SLOW FRAME BOUNDARY
fast[20] slowMX=0[2]                
fast[21] slowMX=1[2]
fast[22] slowMX=2[2]
fast[23] slowMX=3[2]
fast[24] slowMX=4[2]
fast[25] slowMX=5[2]
fast[26] slowMX=6[2]
fast[27] slowMX=7[2]
fast[28] slowMX=8[2]
fast[29] slowMX=9[2]
SLOW FRAME BOUNDARY
fast[30] PADDING FRAME #0 slowMX=7[2]    
fast[31] PADDING FRAME #1 slowMX=8[2]
fast[32] PADDING FRAME #2 slowMX=9[2]
fast[33] slowMX=0[3]                
fast[34] slowMX=1[3]
fast[35] slowMX=2[3]
fast[36] slowMX=3[3]
fast[37] slowMX=4[3]
fast[38] slowMX=5[3]
fast[39] slowMX=6[3]
SLOW FRAME BOUNDARY
fast[40]               slowMX=7[3]  
fast[41] slowMX=8[3]
fast[42] slowMX=9[3]
fast[43] slowMX=0[4]
fast[44] slowMX=1[4]
fast[45] slowMX=2[4]
fast[46] slowMX=3[4]
fast[47] slowMX=4[4]
fast[48] slowMX=5[4]
fast[49] slowMX=6[4]
SLOW FRAME BOUNDARY
fast[50]               slowMX=7[4]  
fast[51] slowMX=8[4]
fast[52] slowMX=9[4]
fast[53] slowMX=0[5]
fast[54] slowMX=1[5]
fast[55] slowMX=2[5]
fast[56] slowMX=3[5]
fast[57] slowMX=4[5]
fast[58] slowMX=5[5]
fast[59] slowMX=6[5]
[&c.]