From f167ebd6cb7cbd88ca1d2bf55f6ad8e57620ae0c Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Fri, 26 Jan 2024 14:06:02 +0100 Subject: [PATCH] DOC: fix supported signal shapes in write() --- audiofile/core/io.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/audiofile/core/io.py b/audiofile/core/io.py index 64cdc92..fd2c7c1 100644 --- a/audiofile/core/io.py +++ b/audiofile/core/io.py @@ -450,7 +450,8 @@ def write( ): """Write (normalized) audio files. - Save audio data provided as an array of shape ``[channels, samples]`` + Save audio data provided as an array of shape ``(channels, samples)`` + or ``(samples,)`` to a WAV, FLAC, or OGG file. ``channels`` can be up to 65535 for WAV, 255 for OGG,