Skip to main content

pySATEN

PyPI - Version Downloads

About

This library detects silence segment from speech signal.

(alt: Image of Voice Start and End Detection)

Installation

pip install pysaten

Usage

Command line

Output is saved as 48 kHz, 24-bit PCM.

pysaten_trim input.wav trimmed.wav

Python

The Python API may change incompatibly between major versions. Its design is inspired by librosa.effects.trim.

import pysaten

y_trimmed, index = pysaten.trim(y, sr)

Parameters:

  • y : numpy.ndarray - Mono audio signal.
  • sr : float - Sampling rate in Hz.

Returns:

  • y_trimmed : numpy.ndarray - Trimmed audio signal.
  • index : tuple[int, int] - Start and end sample indices in y.

License

Copyright 2024 Fumiyoshi MATANO

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Acknowledgements 🙏

Citation (version 2.0 or later)

F. Matano, M. Morise, ``SATEN, A Speech Trimming Method for Speech Corpus Construction in Text-to-Speech," IEICE Transactions on Information and Systems, Advance online publication, Article 2026EDP7101, Nov. 2026. 【DOI】

Metadata

Release files for pysaten 3.0.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 pysaten 3.0.0
File Size Uploaded Provenance Actions
pysaten-3.0.0.tar.gz 21.8 kB Without provenance Details for pysaten-3.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 45.2 kB

Release files / pysaten-3.0.0.tar.gz

Download URL pysaten-3.0.0.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bbe1df0b30cb56abb21d7b5c267d0d1fe4385b1f70980fcaadfadcb43f6cd254
BLAKE2b-256 checksum
How to use checksums
5693b2f9b5019f9c9164337dd995e61a2ff3a4c4f3b2ea4a0a0416a5f9edcb10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / pysaten-3.0.0-py3-none-any.whl

Download URL pysaten-3.0.0-py3-none-any.whl
Size 23.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbde4cd7186aaa8c6bba1c8c1740a9aad9e4a7c27453f34688a0ef39dad10911
BLAKE2b-256 checksum
How to use checksums
ef85479e7cd3cf496d807bd1cc06c398ab404bdb4f141699bcce55d6166809cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.15.2

Security for pysaten 3.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files No provenance

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