From 41fff81f30e0c0aa208d89528ad5fce56cb8af2c Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Tue, 30 Jan 2024 10:00:09 +0100 Subject: [PATCH] DOC: fix supported signal shapes in write() (#147) --- audiofile/core/io.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/audiofile/core/io.py b/audiofile/core/io.py index 64956ec..36f6b60 100644 --- a/audiofile/core/io.py +++ b/audiofile/core/io.py @@ -450,8 +450,9 @@ def write( ): """Write (normalized) audio files. - Save audio data provided as an array of shape ``[channels, samples]`` - to a WAV, FLAC, MP3, or OGG file. + Save audio data provided as an array of shape ``(channels, samples)`` + or ``(samples,)`` + to a WAV, FLAC, NP3, or OGG file. ``channels`` can be up to 65535 for WAV, 255 for OGG, 2 for MP3,