I have used the write function from scipy.io.wavfile to generate a .wav file. 

```
final_out = np.int16(stereo_out/np.max(np.abs(stereo_out)) * 32767)
write('final.wav', fs, final_out)

```

Is there any alternate function for write that allows more than 32767 samples?