Yo. Thicko here again.
I need to get a WAV off disk and into a float array. AudioFormatReader gives me int arrays (int**) but I need floats.
I’m mighty confused. If the WAVs fixed point (32 bit signed ints) how do I convert the samples to floats (in -1 to 1 range)
And whats the story with WAVs anyway? I didn’t realise they came in both fixed or floating format. Anyone know a link that’ll explain all this wav crap?
And the “zero-terminated” thing for the arrays? I take it I just make them 1 bigger than the number of channels I need and plonck a 0 in the last element?
Any help appreciated.