1 typedef unsigned char u8
;
3 u8 notes
[] = "Qj}6jQ6%BY}6YB6%";
5 u8
g(int i
, u8 x
, u8 t
, u8 o
){
6 return((3&x
&(i
*(notes
[t
%8 + 8*!!(3&i
>>16)]+51)>>o
))<<4);
8 void main(int i
, u8 n
, u8 s
){
11 sample
= g(i
,1,n
=i
>>14,12);
12 sample
+= g(i
,s
=i
>>17,n
^i
>>13,10);
13 sample
+= g(i
,s
/3,n
+((i
>>11)%3),10);
14 sample
+= g(i
,s
/5,8+n
-((i
>>10)%3),9);