See RaylibAudioFlat.ExportWave.
bool ExportWave( Wave wave, MemoryPointer<RChar> fileName, ) => _module.ExportWave(wave, fileName);