array np ke file wav

import soundfile as sf
sf.write('sound.wav', yourArray, 48000)
abdullah