Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
Audio - ISCC - Software Development Kit
[go: Go Back, main page]

Skip to content

ISCC - Audio Processing#

Audio handling module.

audio_thumbnail(fp) #

Create a thumbnail from embedded cover art.

Parameters:

Name Type Description Default
fp

Filepath to audio file.

required

Returns:

Type Description

Thumbnail image as PIL Image object

audio_meta_extract(fp) #

Extract metadata from audio file.

Parameters:

Name Type Description Default
fp

Filepath to audio file.

required

Returns:

Type Description

Metadata mapped to IsccMeta schema

audio_meta_embed(fp, meta) #

Embed metadata into a copy of the audio file.

Parameters:

Name Type Description Default
fp

Filepath to source audio file

required
meta IsccMeta

Metadata to embed into audio file

required

Returns:

Type Description

Filepath to new audio file with updated metadata

audio_features_extract(fp) #

Exctracts chromprint fingerprint.

Parameters:

Name Type Description Default
fp

Filepath

required

Returns:

Type Description

A dict with duration in seconds and fingerprint 32-bit integers