Open TorutheRedFox opened 4 years ago
This would be one easy way to get a wave file:
byte[] adxFile; AudioData audio = new AdxReader().Read(adxFile); byte[] waveFile = new WaveWriter().GetFile(audio);
Or to get the PCM data:
var pcm16 = audio.GetFormat<Pcm16Format>(); short[][] channels = pcm16.Channels;
thx
although, I'm using this in Unity, and Unity requires it to be as one byte array (even when data is stereo)
just saying, it comes out waay too loud
This would be one easy way to get a wave file:
Or to get the PCM data: