Re: [LAU] Using commandline app to mark/detect sounds above a threshold

From: Peter P. <peterparker@email-addr-hidden>
Date: Mon Nov 07 2016 - 14:32:04 EET

* J. C. <julien@email-addr-hidden> [2016-11-07 11:38]:
> Hey hey again,
> the next thing I'm looking for is a program to detect volume over a certain
> threshold, which can print out a marker there. This function should - at
> best - be able to ignore new peaks within a certain period of time, like a
> gate with very long release times.
>
> To elaborate the scenario: I'm recording myself sleeping, to a) find
> involuntary actions and b) do quick narrations of dreams, should I wake up
> and remember anything. So, I'd like to jump to the short moments of "action"
> within the relative silence.
I tried to record myself sleeping in order to find out what I was
uttering. In my case I recorded the entire night, an approach which you
should do as well, and then strip silent parts from the recording in an
extra step. This way you will not lose material in case your filter is
not configured optimally.
I must say that I was more in need of a snooring detector than any other
detectors though. ;)
SoX has two effects, silence and vad (voice activity detector) which can
possibly anaylze your recording.
One would have to put this inside a script that chops off segments of
your recording, and then repeats the same action with the remainder.
A research using ixquick gave the following as well:
https://github.com/amsehili/auditok

The aubio toolkit on Debian offers two binaries:
aubioquiet - a command line tool to extracts quiet and loud regions from a file
and
aubiocut - a command line tool to slice sound files at onset or beat timestamps
which sound promising as well.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Nov 7 16:15:04 2016

This archive was generated by hypermail 2.1.8 : Mon Nov 07 2016 - 16:15:04 EET