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

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

Built distribution (wheel)

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

Total release size: 44.8 kB

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

Download URL pysaten-2.2.2.post3.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5bfc6e0c3e23e2858c80b38fdde112a8b47d1eca653a172a9f193c9c864a2b63
BLAKE2b-256 checksum
How to use checksums
99cd7edde5bf3a8eb20f0ab5d86d0360d29a9e7027690efd6f062293772099a7
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.post3-py3-none-any.whl

Download URL pysaten-2.2.2.post3-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89308e28ca6da45fe2b3533abcc916fe95f81c07af4e245a53bcc79a5438daf3
BLAKE2b-256 checksum
How to use checksums
0b11f22246dea1e47b025c092ee51947507b1e37b6f5ee4f89557aecebc54907
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.post3 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