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

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

 



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.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux