In the I2SCONF register bits 12-15 signify the number of extra bits shifted out after each 16 bits. Using 4 bits however, I cannot set this to 16, which would be required for 24-bit audio data within a 32-bit sample. The Rx FIFO mode in bits 16-18 of the I2S_FIFO_CONF register is set to 2 (= 24 bits per channel full data discontinue). Looking at the data being received from the ADC, it seems that the most significant bit is lost when I set I2S_BITS_MOD to 15.
How do I setup the I2S registers to receive 24-bit audio data in a 32-bit word?
Which register map file are you referring to when programming the I2S registers? Can you please attach that?
2. 2.15 kbit/s - minimum bitrate available through the open-source Speex codec
3. 8 kbit/s - telephone quality (using speech codecs)
4. 32-500 kbit/s - lossy audio as used in Ogg Vorbis
5. 256 kbit/s - Digital Audio Broadcasting (DAB) MP2 bit rate required to achieve a high quality signal
6. 400 kbit/s-1,411kbit/s - lossless audio as used in formats such as Free Lossless Audio Codec, WavPack or Monkey's Audio to compress CD audio
7. 1,411.2 kbit/s - Linear PCM sound format of Compact Disc Digital Audio
8. 5,644.8 kbit/s - DSD sound format of Super Audio CD
Above is the reference to the bit rate. Hope it helps! And the mp3 to aac converter can help you change the video/audio bit rate at will.
Who is online
Users browsing this forum: No registered users and 2 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!