python numpy to wav file code example Example: np array to wav file import soundfile as sf sf.write('sound.wav', yourArray, 48000)