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

pysaten_trim input.wav trimmed.wav

Python

import pysaten

# y: Target signal(numpy.ndarray), obtained using libraries such as librosa or soundfile.
# sr: Sampling rate.

# Get trimmed signal for the speech segment only.
y_trimmed: numpy.ndarray = pysaten.trim(y, sr)

# If you trim manually or want to get start/end time...
start_sec, end_sec = pysaten.vsed(y, sr)
y_trimmed = y[int(start_sec * sr) : int(end_sec * sr)]

For development

git clone https://gitlab.com/f-matano44/pysaten.git
uv sync

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

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

Metadata

Release files for pysaten 2.2.2.post5

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 2.2.2.post5
File Size Uploaded Provenance Actions
pysaten-2.2.2.post5.tar.gz 21.6 kB Without provenance Details for pysaten-2.2.2.post5.tar.gz

Built distribution (wheel)

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

Total release size: 44.9 kB

Release files / pysaten-2.2.2.post5.tar.gz

Download URL pysaten-2.2.2.post5.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
53473e38002f2df4b2b39009768e4f571ff69671e844e6a854718dfc3b0ab477
BLAKE2b-256 checksum
How to use checksums
198ccebb1194fd85bbc5e3d4848c6275a58d41fd62831d5545aaa5821758f151
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / pysaten-2.2.2.post5-py3-none-any.whl

Download URL pysaten-2.2.2.post5-py3-none-any.whl
Size 23.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b4d58c5043d6417a5b7e2bc361efe37b740180d82f031625e6ea70e4988451e
BLAKE2b-256 checksum
How to use checksums
562a24e060339deba8c9de2bd702d832d210c413fc5d1346e5f287f494f8d9e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.18

Security for pysaten 2.2.2.post5

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

2.2.2.post5 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