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

Kjetil Matheussen k.s.matheussen at gmail.com
Tue Nov 8 14:05:24 UTC 2016


>
> On 07.11.2016 11:32, J. C. wrote:
> > Hey hey,
> > I tried to record over long periods of time (7-9 hours), using jack_rec,
> which
> > apparently relies on libsndfile for writing audiofiles. I started out
> using
> > .wav, which broke off after 6:12:49 (2.1G). Next time, I tried using the
> file
> > extension .w64, which yielded the same result.
> >
> > So, which format, or extension, would work for such periods of time?
>
> Have you tried with jack_capture?
>
> It uses libsndfile, too for codecs, but can dump raw samples to disk if
> you tell
> it to.
>
> So, if libsndfile should be the limiting factor, try dumping the raw
> frames and
> later analyze those.
>
>
libsndfile is not the limiting factor. It's the wav format that doesn't
support large files.
(The "raw" format is also handled by libsndfile, but again, libsndfile is
not to blame here,
so that doesn't matter.)



>   jack_capture -f raw -b FLOAT snoring.bin
>
>
Besides this option (and -f w64 and -f CAF which has been suggested),
jack_capture continue writing to new files in case you try to write more
data than
is supported, so you can even use the default wav format for large files.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20161108/30524902/attachment.html>


More information about the Linux-audio-user mailing list