1 typedef unsigned char u8
;
6 0x84, 0x9d, 0xb0, 0x69, 0x9d, 0x84, 0x69, 0x58,
7 0x75, 0x8c, 0xb0, 0x69, 0x8c, 0x75, 0x69, 0x58
10 u8
g(u8 x
, u8 t
, u8 o
){
11 u8 notes_ix
= t
& 0x7;
14 u8 result
= ((i1
<<8|i0
)*notes
[notes_ix
])>>8; // keep hi byte
37 tmp2
= (i2
<<5|i1
>>3)%3;
39 sample
+= g(tmp1
,tmp2
,2);
44 { u8 tmp3
= (i2
<<6|i1
>>2)%3;
48 sample
+= g(tmp1
,tmp2
,1);