Skip to content

Commit a2a5acb

Browse files
author
Bastian Bechtold
committed
increment version number
and adds changelog
1 parent f0648be commit a2a5acb

2 files changed

Lines changed: 19 additions & 9 deletions

File tree

README.rst

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -242,22 +242,22 @@ In the following example OGG is converted to WAV entirely in memory (without wri
242242
243243
Controlling bitrate mode and compression level
244244
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
245-
For some audio formats, you can control the bitrate and compression level.
245+
For some audio formats, you can control the bitrate and compression level.
246246

247-
`compression_level` is a float between 0 and 1, with 1 being the highest compression,
247+
`compression_level` is a float between 0 and 1, with 1 being the highest compression,
248248
and `bitrate_mode` is 'VARIABLE', 'CONSTANT', or 'AVERAGE'.
249249

250250
.. code:: python
251251
252252
import soundfile as sf
253-
253+
254254
# for example, this uncompressed 5 minute wav file with 32 kHz sample rate is 18 Mb
255-
data, samplerate = sf.read('5min_32kHz.wav')
256-
255+
data, samplerate = sf.read('5min_32kHz.wav')
256+
257257
# maximum mp3 compression results in 1.1 Mb file, with either CONSTANT or VARIABLE bit rate
258-
sf.write('max_compression_vbr.mp3', data, samplerate, bitrate_mode='VARIABLE', compression_level=.99)
258+
sf.write('max_compression_vbr.mp3', data, samplerate, bitrate_mode='VARIABLE', compression_level=.99)
259259
sf.write('max_compression_cbr.mp3', data, samplerate, bitrate_mode='CONSTANT', compression_level=.99)
260-
260+
261261
# minimum mp3 compression results in 3.5 Mb file
262262
sf.write('min_compression_vbr.mp3', data, samplerate, bitrate_mode='VARIABLE', compression_level=0)
263263
@@ -407,4 +407,14 @@ News
407407
2025-01-25 V0.13.1 Bastian Bechtold
408408
Thank you, Brian McFee and Guy Illes
409409

410-
- Fixed regression in blocks
410+
- Fixed regression in blocks
411+
412+
2026-06-06 V0.14.0 Bastian Bechtold
413+
Thank you GesonAnko, Trevor Gamblin, Andreas Karatzas, Harish RS, Hunter Hogan
414+
415+
- Added type annotations
416+
- Added Licensing note to wheel
417+
- Fixed race condition when opening files concurrently
418+
- Fixed regressions in test suite
419+
- Removed support for Python <= 3.9
420+
- Added ARM64 support for Windows

soundfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
For further information, see https://python-soundfile.readthedocs.io/.
99
1010
"""
11-
__version__ = "0.13.1"
11+
__version__ = "0.14.0"
1212

1313
import os as _os
1414
import sys as _sys

0 commit comments

Comments
 (0)