Hi everyone! I'm still struggling to get access to the user file on his phone / sdcard in order to read the audio file but that's not the point. Let's say I can access to a user audio file (kinda like the winamp app on Google Play), is there anyway I can convert the *.mp3 to a *.wav in order to make some preprocess on it? I'm not talking about live processing (like a audio visualizer would) I find Mp3Sharp on this topic, but I can't see how I can use it. Thank you !
In this topic it is said that WWW.GetAudioClip() is finaly fix in Unity 4. Does that means I can WWW(url) a .mp3 file and then get the raw WAV data using Unity 4?
If you can get it into an AudioClip object, then yes you can convert it to a WAV at run time by reading sample and writing out a simple PCM wav file of whatever particular flavor you want as AudioClip will give you a giant float[].
Hey, Resurrecting some posts, I actually have the same issue and it seems that my giant float[] is full of 0s when I'm using the clip.GetData(). Any clues ? Thanks