Is is possible to convert an Audioclip into an array of float

Is is possible to convert an Audioclip into an array of float (float audiostuffs) ?

Thanks for your attention.

Phil

I think you are looking for AudioClip.GetData. The example on the reference page is pretty clear - you pass GetData a properly sized array and it will fill the array with the audio data in float form (ranging from -1.0f to 1.0f).

Also note: the audio clip must either be uncompressed, or set to “Decompress on Load”, for this function to work correctly. If you’re using a compressed in memory clip, I don’t know of a way to get the float audio data.