Skip to main content

MixSim

A Realistic Speech Mixture Simulator

Generic badge Documentation Status codecov PyPI version PyPI - Python Version

MixSim is an open-source multipurpose speech mixture simulator that covers speaker localization/tracking, dereverberation, enhancement, separation, and recognition tasks.

Documentation

See documentation for more details.

A Simple Example

First, install MixSim using:

pip install -U mixsim

mixsim --help

You can use the mixsim command to run the simulator:

mixsim \
--seed 1 \
--sample_rate 16000 \
--clean.fpath_file /path/to/clean.txt \
--noisy.fpath_file /path/to/noisy.txt
...

Use an additional configuration file to specify the parameters:

mixsim --config_file /path/to/config.toml

Use package reference to access the simulator:

from mixsim import Mixer, Writer

mixture_list = Mixer(clean_file_list, noise_file_list, snr_list, output_members=["n_mix_y_rvb", "s_y", "s_transcript"])

file_writer = Writer(output_list = mixture_list)
file_writer.write()

Contributing

For guidance on setting up a development environment and how to contribute to MixSim, see Contributing to MixSim.

License

MixSim is released under the MIT license.

Metadata

Release files for mixsim 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mixsim 0.3.0
File Size Uploaded
mixsim-0.3.0.tar.gz 1.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for mixsim 0.3.0
File Interpreter ABI Platform
mixsim-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 2.4 MB

Release files / mixsim-0.3.0.tar.gz

Download URL mixsim-0.3.0.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
f118956b54f92c432e702f4afbe7eb23199a430cdc277aff301fd084bc8eee5b
BLAKE2b-256 checksum
How to use checksums
744dd480558b76bc57e4086381eafde92665d8b782b1a2af4d2163453164baa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / mixsim-0.3.0-py3-none-any.whl

Download URL mixsim-0.3.0-py3-none-any.whl
Size 778.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2116e40d43dc7b49d1d3e38f27e24d611c82a12e67d2bb2d879043f11d95ea9c
BLAKE2b-256 checksum
How to use checksums
6b5fa6332b63250cbfe2316dfaf5128869c4a1082214ba3e9e000a5301ac85af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page