Four plus channels of audio recording with I2S
-
mattiesvzw
- 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.Yes, I was able to use both I2S interfaces on the ESP32, and was successful in simultaneously capturing four channels of audio. It did take some experimenting with bits to get both interfaces to work properly. I'm happy to share code if you'd like.
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.Yes please share your code, I am also very interested in the solution.I'm happy to share code if you'd like.
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.
-
DEEKSHITH D P
- 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 .Yes, I was able to use both I2S interfaces on the ESP32, and was successful in simultaneously capturing four channels of audio. It did take some experimenting with bits to get both interfaces to work properly. I'm happy to share code if you'd like.
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
Re: Four plus channels of audio recording with I2S
yes please, should be great....I'm happy to share code if you'd like.
I'm trying to read simultaneously from a microphone and a line in audio signal both I2S compatibles.....
Thank you in advance
Who is online
Users browsing this forum: Semrush [Bot] and 10 guests