pySATEN
About
This library detects silence segment from speech signal.
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 🙏
- tools/v1/marblenet: Apache License Version 2.0
- tools/v1/rvad: MIT License
- inaSpeechSegmenter
- Silero VAD
- SpeechBrain VAD
- WebRTC VAD
- WhisperX
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.post4
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-2.2.2.post4.tar.gz | 21.6 kB | Without provenance | Details for pysaten-2.2.2.post4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pysaten-2.2.2.post4-py3-none-any.whl | Python 3 | none | any | Details for pysaten-2.2.2.post4-py3-none-any.whl |
Total release size: 44.9 kB
Release files / pysaten-2.2.2.post4.tar.gz
| Download URL | pysaten-2.2.2.post4.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78e5df6c306c59d017daf056de7d24ec4d939693df76f0d1a29cb62f23dbc1c1
|
|
BLAKE2b-256 checksum How to use checksums |
7a1e4a86eaf04f57c94d6f70b89a1140bd4c382c54336c213e92a2b3a712f6f6
|
| 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.post4-py3-none-any.whl
| Download URL | pysaten-2.2.2.post4-py3-none-any.whl |
|---|---|
| Size | 23.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82252f95a201e33a0b3abdd9e9fb0b182c9f2dc55aa65639beb547d31a987592
|
|
BLAKE2b-256 checksum How to use checksums |
746d5108e04cbf7e4a396d196eab6ba6081ded39d3e0fa1b7cd38535ec188d14
|
| 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.post4
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.