independent recording from 6 mono inputs

Moderator: flatmax

Post Reply
darkopop
Posts: 1
Joined: Thu Sep 21, 2017 4:39 pm

independent recording from 6 mono inputs

Post by darkopop » Thu Sep 21, 2017 9:42 pm

Hy,

I am newbie to Raspberry Pi and linux , bought octo and install - audioinjector.octo.setup_0.3_all.deb.tar.gz
1.sudo dpkg -i Downloads/audioinjector.octo.setup_0.3_all.deb
2. sudo apt remove pulseaudio
3. sudo reboot

it and I'm trying to record 6 individual files from 6 inputs at same time , sample rate should be low 22050 or 11025 16 bit . Help is needed. Is my Config table correct

the content of asound.cnfg
pcm.!default {
# type hw
# card 0
type plug
slave.pcm "anyChannelCount"
}

ctl.!default {
type hw
card 0
}

pcm.anyChannelCount {
type route
slave.pcm "hw:0"
slave.channels 8;
ttable {
0.0 1
1.1 1
2.2 1
3.3 1
4.4 1
5.5 1
6.6 1
7.7 1
}
}

ctl.anyChannelCount {
type hw;
card 0;
}

----

the contest of .asoundrc

pcm.!default {
# type hw
# card 0
type plug
slave.pcm "anyChannelCount"
}

ctl.!default {
type hw
card 0
}

---

When i try to record from 3 input with comand

arecord -D hw:0,3 1.wav

get respond

arecord: main:788 audio open error : No such file or directory

QUESTION :

Do I need to change config files to get independent 6 audio inputs max 22050 sample rate and achieve to record 6 independent files at same time from different sources?

Best Regars,
Darko

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: independent recording from 6 mono inputs

Post by flatmax » Sun Oct 01, 2017 1:58 pm

ok - to record from 6 channels, you probably want to do the following :

Code: Select all

arecord -c 6 -r 22050 -f S32 /tmp/test.wav
That should record 6 channels to the file /tmp/test.wav
If that fails, try 8 channels for sanity testing :

Code: Select all

arecord -c 8 -r 22050 -f S32 /tmp/test.wav
thanks
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

tilimil
Posts: 9
Joined: Mon Nov 06, 2017 4:31 am

Re: independent recording from 6 mono inputs

Post by tilimil » Mon Nov 06, 2017 4:39 am

Thinking about buying one of these boards for a project. Any reason that I could not record each channel to a separate file with the right channel map in avconv or ffmpeg?

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: independent recording from 6 mono inputs

Post by flatmax » Tue Nov 07, 2017 7:58 pm

Check here for more information on how to split recording to individual files :
http://forum.audioinjector.net/viewtopic.php?f=9&t=2728

Also you can use the encorder software on each file if you like. There may be a way to do something similar directly with avconv ... not sure- let us know what you find out.

MAtt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

wira
Posts: 3
Joined: Wed Mar 27, 2019 8:20 pm

Re: independent recording from 6 mono inputs

Post by wira » Thu Mar 28, 2019 4:41 pm

Dear all,

Need your kind advice on how to get my 6 channel RCA inputs working for mic recording.
Hope to get step by step guidelines for it.
So far I did manage to get my 8 channel RCA outputs working for mono and stereo.
Below is the photo of my hardware setup. The asound.conf and asoundrc files are shown below as well.
Appreciate very much for your kind help.

1. Hardware setup
Image

2.asound.conf
Image

3..asoundrc
Image


Best Regards
Wira

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests