Provides simple decoding and encoding of audio codecs by NAudio for Unity.
- Low load to the main thread of Unity
- Runs decoding of data on a thread pool using UniTask and set data to AudioClip on the main thread.
- Low memory allocation
- Decodes WAV file for each block of frames with array buffers.
{
"dependencies": {
"com.mochineko.simple-audio-codec-unity": "https://github.com/mochi-neko/simple-audio-codec-unity.git?path=/Assets/Mochineko/SimpleAudioCodec#0.2.0",
"com.naudio.core": "https://github.com/mochi-neko/simple-audio-codec-unity.git?path=/Assets/NAudio/NAudio.Core#0.2.0",
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask",
...
}
}
- WAV
- Decoding
- Encoding
- MP3
- Decoding
- Encoding
See CHANGELOG.
See NOTICE.