pySATEN
About
This library detects silence segment from speech signal.
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 iny.
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 🙏
- tools/v1/marblenet: Apache License Version 2.0
- tools/v1/rvad: MIT License
- inaSpeechSegmenter
- Silero VAD
- SpeechBrain VAD
- WebRTC VAD
- WhisperX
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.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pysaten-3.0.0.post1.tar.gz | 21.8 kB | Without provenance | Details for pysaten-3.0.0.post1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pysaten-3.0.0.post1-py3-none-any.whl | Python 3 | none | any | Details for pysaten-3.0.0.post1-py3-none-any.whl |
Total release size: 45.3 kB
Release files / pysaten-3.0.0.post1.tar.gz
| Download URL | pysaten-3.0.0.post1.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
edeaceafa7e3308d6edbdf5909c695f2b43c2f18791e9e2235b8d9b2bda931e6
|
|
BLAKE2b-256 checksum How to use checksums |
99d37061d0ff1ae9e433d66f1ed1d489567c81474ca7f9c3915f3d0473cf8f19
|
| 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.post1-py3-none-any.whl
| Download URL | pysaten-3.0.0.post1-py3-none-any.whl |
|---|---|
| Size | 23.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a0a8166ba015c8518ea4bf7ba7db0477c268292d03a39c2ad0710d1ed426ee2
|
|
BLAKE2b-256 checksum How to use checksums |
096fb0e0648ba345690fefa13eb3fc0de9e0641bd6d240381b51ebc75d2dd14d
|
| 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.post1
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.