These codes were given to me by a friend and asked if i could understand any of it. It links to a piece of music somehow(?). It is slightly mashed together but should link together in some way. I know this seems like an impossible task with little/no context. Thanks for any light you may be able to shed on this situation.
Code:
~0x000F
Code:
s1: 0xFFF0 s2: 0x000F
Code:
s1=s&0xFFF0;s2=s&0x000F<<12
Code:
double scaled = double(samples2[(i*ch2)%count2])/65535.0; mixSamples[i] = (samples1[(i%count1)*ch1]&0xFFF0) | (unsigned short)(scaled*15);
Comment