Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
NEW/py313: audio/py-standard-aifc, etc
To:
ports <ports@openbsd.org>
Date:
Mon, 3 Nov 2025 08:45:40 +0000

Download raw body.

Thread
python 3.13 removed some pieces of the standard library. This brings
back 'chunk', 'audioop', and 'aifc' as external modules. Needed for at
least py-speechrecognition.

They cannot be hooked up to the build until we switch. OK to import
unhooked for now?

$ head -99 */pkg/DESCR
==> py-audioop-lts/pkg/DESCR <==
The audioop module contains some useful operations on sound fragments.
It operates on sound fragments consisting of signed integer samples 8,
16, 24 or 32 bits wide, stored in bytes-like objects. All scalar items
are integers, unless specified otherwise.

This module provides support for a-LAW, u-LAW and Intel/DVI ADPCM
encodings.

This is a replacement for 'audioop', removed from the standard library
in Python 3.13.

==> py-standard-aifc/pkg/DESCR <==
This module provides support for reading and writing AIFF and AIFF-C
files. AIFF is Audio Interchange File Format, a format for storing
digital audio samples in a file, and is widely used in film production,
amongst others. AIFF-C is a newer version of the format that includes
the ability to compress the audio data.

This is a replacement for 'aifc', removed from the standard library in
Python 3.13.

==> py-standard-chunk/pkg/DESCR <==
This module provides an interface for reading files that use EA IFF 85
chunks. These are used in Audio Interchange File Format (AIFF/AIFF-C)
and some others. The WAVE audio file format is closely related and can
also be read using this module.

This is a replacement for 'chunk', removed from the standard library in
Python 3.13.