Browse Source

Libraries

pull/10/head
Jure Šorn 5 years ago
parent
commit
068e097b36
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -1560,7 +1560,7 @@ Audio
```python
import wave, struct
samples = [struct.pack('<h', int(a * 30000)) for a in <list>]
wf = wave.open('test.wav', 'wb')
wf = wave.open('out.wav', 'wb')
wf.setnchannels(1)
wf.setsampwidth(2)
wf.setframerate(44100)

Loading…
Cancel
Save