Four plus channels of audio recording with I2S
-
- Posts: 1
- Joined: Sun Jan 17, 2021 11:36 am
Re: Four plus channels of audio recording with I2S
@cblondon I'm also trying to make a similar setup. It would be great if you could share your code with me too.
Thanks in advance!
Thanks in advance!
Re: Four plus channels of audio recording with I2S
@cblondon, I'd like to have your code as well if you don't mind. I'm also trying to have a mic array and use a ESP32 will save me some money.
Re: Four plus channels of audio recording with I2S
Did anyone manage to capture more than 4 audio channels using the parallel camera mode?
Re: Four plus channels of audio recording with I2S
I am also interested, I also want to see.
Tea better than coffee!
Re: Four plus channels of audio recording with I2S
I'm also interested in this code is you are happy to share it. Thanks.
-
- Posts: 1
- Joined: Thu Jul 15, 2021 1:28 pm
Re: Four plus channels of audio recording with I2S
Please Share your code. It will be a grate help. I am also trying to read multiple channel ADC .
Re: Four plus channels of audio recording with I2S
Dear Cblondon,
I'd love too see your code, too, I'm struggling with the exact same objective of creating a 4 mics array for DOA
Thanks in advance!
I'd love too see your code, too, I'm struggling with the exact same objective of creating a 4 mics array for DOA
Thanks in advance!
Re: Four plus channels of audio recording with I2S
Hi,
I am also very interested in the code since I'm struggling a lot with sampling of multiple channels
Thanks in advance!
I am also very interested in the code since I'm struggling a lot with sampling of multiple channels
Thanks in advance!
Re: Four plus channels of audio recording with I2S
The only way to record four (4) channels is using the two (2) peripherals and left and right of both peripherals.
This involves hardware that is able to drive only the left or right channel like a digital microphone.
Otherwise you have to build some additional hardware.
To capture four microphones, make one peripheral master, the other slave.
The slave can use the same clock (CLK) and fsk (LRCLK) pins of the master due to the io-matrix of the esp32.
This involves hardware that is able to drive only the left or right channel like a digital microphone.
Otherwise you have to build some additional hardware.
To capture four microphones, make one peripheral master, the other slave.
The slave can use the same clock (CLK) and fsk (LRCLK) pins of the master due to the io-matrix of the esp32.
Code: Select all
// SPI SOUND
#define I2SDI_1_PIN (21) // DIN --> From external device(s)
#define I2SDI_2_PIN (22) // DIN --> From external device(s)
#define I2SDO_PIN (-1) // NA
#define I2SCLK_PIN (26) // BCLK
#define LRCLK_PIN (25) // LRCLK
master.begin( HSPI, I2SCLK_PIN, I2SDO_PIN, I2SDI_1_PIN, LRCLK_PIN ); // default SPI is HSPI
slave.begin( VSPI, I2SCLK_PIN, I2SDO_PIN, I2SDI_2_PIN, LRCLK_PIN ); // default SPI is VSPI
Who is online
Users browsing this forum: demayn and 28 guests