[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUDITORY] Cut silence in beginning and end of speech recordings automatically?



Dear Tamar,

You can try the Librosa package in Python. There is a function librosa.effects.trim() that trims out the beginning and ending. You can set the db threshold if you have some noise in the recording. It works on a single signal but it’s very easy to automate with a for loop.

All the best,
Chris
--
Krzysztof Basiński, PhD
Assistant Professor
Department of Psychology
Medical University of Gdańsk, Poland
http://mug.edu.pl | http://kbas.gumed.edu.pl

On 3 Mar 2021, at 16:09, Tamar Regev <tamaregev@xxxxxxxxx> wrote:

Hi all,

Does anyone know of a good way to automatically trim silent parts (which may contain some minor background noise) at the beginning and end of speech recordings?

Preferentially using Matlab but any other automatic way would work (we want to run this on many sound files).

Thanks a lot!
Tamar