Skip to main content

pySATEN

PyPI - Version Downloads

About

This library detects silence segment from speech signal.

(alt: Image of Voice Start-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 🙏

Cite this

Library version 2.x (Non-peer-reviewed)

Japanese

俣野 文義,森勢 将雅,``音声コーパス構築のための仮定を追加した発話区間検出法の改良,'' 日本音響学会第 154 回 (2025 年秋季) 研究発表会, pp.1223--1224 (2025.09).

English

F. Matano, M. Morise, ``An improved method for voice activity detection with additional assumptions for speech corpus construction,'' Proceedings of the 2025 Autumn meeting of the Acoustical Society of Japan, pp.1223--1224 (2025.09) (in Japanese).

Metadata

Release files for pysaten 2.2.2.post2

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.post2
File Size Uploaded
pysaten-2.2.2.post2.tar.gz 21.7 kB Details

Built distribution (wheel)

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

Total release size: 44.8 kB

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

Download URL pysaten-2.2.2.post2.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0c89140fc00779463c760894ea28c128607e30f426995c7c49733e8aab538d7e
BLAKE2b-256 checksum
How to use checksums
29bf939b9bf2eca71958aa4e8e29fe505d3e6675ee8c90ede3945e41847d3335
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.15

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

Download URL pysaten-2.2.2.post2-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b92e59adeb21e46b7364923beefad40620b4754652adf27db55c1bfba455771b
BLAKE2b-256 checksum
How to use checksums
1ccb0a9e1257d25b69a8443e4bfc9aa8d8192fdaf29e55c3c1365c2a72994feb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

This release

2.2.2.post2 This release

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

3 release files

1.2.0

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.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