@@ -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,
248248and `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
4074072025-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
0 commit comments