};
int scale[]={
0,2,4,5,7,9,11,12,14,16,17,19,21,23,24,26,28,29,31,33,35,36,38,40,41,43,45,47,48,50,52,53,55,57,59,60,62,64
};
those are your whole/half steps. whole-whole-half-whole-whole-whole-half (standard scale progression). your base note i guess must be a C# (guessing that's the '0''s freq.)
so, if you wanted to change it to, for instance, all half steps: 0,1,2,3,4,5,6,7,8,9,10,...,n
unless you start messing with quartertones or strange things, you shouldn't need to mess with the other values. this should change your scale you are in.
changing the base note, c#, i'm not sure about just glancing at it. and i could be entirely wrong about everything i just said too