Create a .WAV file from Unity AudioClip
问题 So the problem is i want to create a .wav file from an Audioclip but i can't figure out how to do it. I've been looking for how a .wav file structure is but i'm not able to understand it as well as i want (Also i don't get how to get all the data from an Audioclip and convert it into bytes and set it to the file). Here's what i've been trying so far: public static bool ToWAV(this AudioClip audio, string path) { try { int samples = audio.samples; int channels = audio.channels; int sampleRate =