I have created a new application in gtkIOStream. It is a command line application which splits captured channels to individual audio files.
The code is here :
https://github.com/flatmax/gtkiostream/blob/master/applications/ALSACaptureSplitter.C
You can use it like so :
ALSACaptureSplitter -c 8 -r 48000 -t 5.1 /tmp/test wav
This command will split 8 channels to individual audio files in
/tmp/test*.wav. It will record at a rate of 48 kHz and record for
5.1 seconds. To see all options, run ALSACaptureSplitter -h
You will need to do a full compile of gtkiostream to get the application to work.
Do you know how to copmile gtkiostream ?
Matt
p.s. this doesn't do Octo channel swapping fixes ... I can add
that later once you get this running.
Hey Coby,
Can you split them off line or do you need to record them to file in real time ?
Matt
On 26/3/20 3:08 am, Coby Levy via People wrote:
hi
i want to record a single channel to a single file, using sox.
the purpose of the recording is sound detection,
so if someone is speaking - I would like to record it to a file, without the long pauses.
nowadays im using 6 usb<>audio devices with the command:
sox -t alsa hw:0,0 file1.wav silence 1 0.2 5% 1 5.0 5% #silence command only passes detected audio
sox -t alsa hw:1,0 file2.wav silence 1 0.2 5% 1 5.0 5%
sox -t alsa hw:2,0 file3.wav silence 1 0.2 5% 1 5.0 5%
etc...
but i couldn't find anyway achieving the same using the Octo.
could someone please point me in the right direction?
tnx,
Coby.
-- Our latest product launching now on Kickstarter : https://bit.ly/2Qr1557 Checkout the community email list : https://lists.audioinjector.net/mailman/listinfo/people
-- Our latest product launching now on Kickstarter : https://bit.ly/2Qr1557 Checkout the community email list : https://lists.audioinjector.net/mailman/listinfo/people