Skip to main content

A Python toolkit for sound source separation.

Project description

ssspy

Documentation Status codecov Open in Spaces

A Python toolkit for sound source separation.

Build Status

Python Ubuntu MacOS (x86_64) MacOS (arm64) Windows
3.9 ubuntu-latest/3.9 macos-13/3.9 macos-latest/3.9 windows-latest/3.9
3.10 ubuntu-latest/3.10 macos-13/3.10 macos-latest/3.10 windows-latest/3.10
3.11 ubuntu-latest/3.11 macos-13/3.11 macos-latest/3.11 windows-latest/3.11
3.12 ubuntu-latest/3.12 macos-13/3.12 macos-latest/3.12 windows-latest/3.12

Installation

You can install by pip.

pip install ssspy

To install latest version,

pip install git+https://github.com/tky823/ssspy.git

Instead, you can build package from source.

git clone https://github.com/tky823/ssspy.git
cd ssspy
pip install .

If you cannot install ssspy due to failure in building wheel for numpy, please install numpy in advance.

Build Documentation Locally (optional)

To build the documentation locally, you have to include docs and notebooks when installing ssspy.

pip install -e ".[docs,notebooks]"

You need to convert some notebooks by the following command:

# in ssspy/
. ./docs/pre_build.sh

When you build the documentation, run the following command.

cd docs/
make html

Or, you can build the documentation automatically using sphinx-autobuild.

# in ssspy/
sphinx-autobuild docs docs/_build/html

Blind Source Separation Methods

Method Notebooks
Independent Component Analysis (ICA) [1-3] Gradient-descent-based ICA: Open in Colab
Natural-gradient-descent-based ICA: Open in Colab
Fast ICA: Open in Colab
Frequency-Domain Independent Component Analysis (FDICA) [4-6] Gradient-descent-based FDICA: Open in Colab
Natural-gradient-descent-based FDICA: Open in Colab
Auxiliary-function-based FDICA (IP1): Open in Colab
Auxiliary-function-based FDICA (IP2): Open in Colab
Gradient-descent-based Laplace-FDICA: Open in Colab
Natural-gradient-descent-based Laplace-FDICA: Open in Colab
Auxiliary-function-based Laplace-FDICA (IP1): Open in Colab
Auxiliary-function-based Laplace-FDICA (IP2): Open in Colab
Independent Vector Analysis (IVA) [7-14] Gradient-descent-based IVA: Open in Colab
Natural-gradient-descent-based IVA: Open in Colab
Fast IVA: Open in Colab
Faster IVA: Open in Colab
Auxiliary-function-based IVA (IP1): Open in Colab
Auxiliary-function-based IVA (IP2): Open in Colab
Auxiliary-function-based IVA (ISS1): Open in Colab
Auxiliary-function-based IVA (ISS2): Open in Colab
Auxiliary-function-based IVA (IPA): Open in Colab
Gradient-descent-based Laplace-IVA: Open in Colab
Natural-gradient-descent-based Laplace-IVA: Open in Colab
Auxiliary-function-based Laplace-IVA (IP1): Open in Colab
Auxiliary-function-based Laplace-IVA (IP2): Open in Colab
Auxiliary-function-based Laplace-IVA (ISS1): Open in Colab
Auxiliary-function-based Laplace-IVA (ISS2): Open in Colab
Auxiliary-function-based Laplace-IVA (IPA): Open in Colab
Gradient-descent-based Gauss-IVA: Open in Colab
Natural-gradient-descent-based Gauss-IVA: Open in Colab
Auxiliary-function-based Gauss-IVA (IP1): Open in Colab
Auxiliary-function-based Gauss-IVA (IP2): Open in Colab
Auxiliary-function-based Gauss-IVA (ISS1): Open in Colab
Auxiliary-function-based Gauss-IVA (ISS2): Open in Colab
Auxiliary-function-based Gauss-IVA (IPA): Open in Colab
Independent Low-Rank Matrix Analysis (ILRMA) [15-18] Gauss-ILRMA (IP1/MM): Open in Colab
Gauss-ILRMA (IP1/ME): Open in Colab
Gauss-ILRMA (IP2/MM): Open in Colab
Gauss-ILRMA (IP2/ME): Open in Colab
Gauss-ILRMA (ISS1/MM): Open in Colab
Gauss-ILRMA (ISS1/ME): Open in Colab
Gauss-ILRMA (ISS2/MM): Open in Colab
Gauss-ILRMA (ISS2/ME): Open in Colab
Gauss-ILRMA (IPA/MM): Open in Colab
Gauss-ILRMA (IPA/ME): Open in Colab
t-ILRMA (IP1/MM): Open in Colab
t-ILRMA (IP1/ME): Open in Colab
t-ILRMA (IP2/MM): Open in Colab
t-ILRMA (IP2/ME): Open in Colab
t-ILRMA (ISS1/MM): Open in Colab
t-ILRMA (ISS1/ME): Open in Colab
t-ILRMA (ISS2/MM): Open in Colab
t-ILRMA (ISS2/ME): Open in Colab
GGD-ILRMA (IP1/MM): Open in Colab
GGD-ILRMA (IP2/MM): Open in Colab
GGD-ILRMA (ISS1/MM): Open in Colab
GGD-ILRMA (ISS2/MM): Open in Colab
Independent Positive Semidefinite Tensor Analysis (IPSDTA) [19, 20] Gauss-IPSDTA (VCD): Open in Colab
t-IPSDTA (VCD): Open in Colab
Multichannel Nonnegative Matrix Factorization (MNMF) [21-24] Gauss-MNMF: Open in Colab
t-MNMF: soon
Fast Gauss-MNMF (IP1): Open in Colab
Fast Gauss-MNMF (IP2): Open in Colab
Blind Source Separation via Primal-Dual Splitting Algorithm (PDS-BSS) [25,26] PDS-BSS: Open in Colab
PDS-BSS-multiPenalty: Open in Colab
PDS-BSS-masking: Open in Colab
Blind Source Separation via Alternating Direction Method of Multipliers (ADMM-BSS) ADMM-BSS: Open in Colab
Harmonic Vector Analysis (HVA) [27] HVA: Open in Colab
Complex Angular Central Gaussian Mixture Model (cACGMM) [28] cACGMM: Open in Colab

LICENSE

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssspy-0.2.0.tar.gz (107.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ssspy-0.2.0-py3-none-any.whl (124.4 kB view details)

Uploaded Python 3

File details

Details for the file ssspy-0.2.0.tar.gz.

File metadata

  • Download URL: ssspy-0.2.0.tar.gz
  • Upload date:
  • Size: 107.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for ssspy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cac73e4bb453c33fd6d6565dace5e6b2f10bbf2f3556a5f25e2922b75ef41f78
MD5 7ffa24d331152a0c3262488f4835aa48
BLAKE2b-256 6e6fc8a9f7d81ae23b799c094cb1a5fbd803c74252ca2e85df8d170f6f183fcd

See more details on using hashes here.

File details

Details for the file ssspy-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ssspy-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 124.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for ssspy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 934464ae588606ea5c21f475cd622d42eff654cc2510709d9017f3e5160ea56d
MD5 80fe271fa438e503111246e71db355b7
BLAKE2b-256 85479c511b64f73eca8348520a10d748b247de23f0b8f8d212bf9396f7ea4e6a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page