Hi Folks
I'm sure someone has done this already - whats the easiest way to get a RMS reading from a "MP3" "I2S" pipeline? (or flac)
thanks in advance
Shabby
Search found 49 matches
- Wed Dec 11, 2019 10:35 pm
- Forum: ESP-ADF
- Topic: RMS from "MP3" "I2S" pipeline
- Replies: 1
- Views: 3479
- Mon Dec 09, 2019 5:02 am
- Forum: ESP-IDF
- Topic: Class example C
- Replies: 6
- Views: 7404
Re: Class example C
How can I switch it to C++? rename your .c file to .cpp put : extern "C" { void app_main(void); } in your .cpp file near the top change cmakelists.txt to point at your new .cpp file instead of the old .c file set(COMPONENT_SRCS "./main.cpp" ) idf.py fullclean it should then build! That's Awesome, t...
- Mon Dec 09, 2019 3:58 am
- Forum: ESP-IDF
- Topic: Class example C
- Replies: 6
- Views: 7404
Re: Class example C
C doesn't (natively) support classes, you probably want C++. How can I switch it to C++? rename your .c file to .cpp put : extern "C" { void app_main(void); } in your .cpp file near the top change cmakelists.txt to point at your new .cpp file instead of the old .c file set(COMPONENT_SRCS "./main.cp...
A1S ADF
Hi Folks I managed to get some time to get the old A1S code working with the latest ADF version. Super handy because of the super quick cmake and all the extra audio decoders and whatnot! I don't know what I'm doing with github at all - so it could be a real mess - but it looks right so far. You sim...
- Wed Dec 04, 2019 10:36 pm
- Forum: ESP-ADF
- Topic: play_mp3:error coder init failed
- Replies: 2
- Views: 4148
Re: play_mp3:error coder init failed
shabtronic wrote: ↑Wed Dec 04, 2019 10:31 pmlooks like the HAL didn't init or the wrong board is selected.
Have you tried idf.py menuconfig to select the right board?
That looks like the LyratD-MSC board, but your logs are showing HAL for Lyrat-V4.3 board.
- Wed Dec 04, 2019 10:31 pm
- Forum: ESP-ADF
- Topic: play_mp3:error coder init failed
- Replies: 2
- Views: 4148
Re: play_mp3:error coder init failed
looks like the HAL didn't init or the wrong board is selected.
Have you tried idf.py menuconfig to select the right board?
Have you tried idf.py menuconfig to select the right board?
- Wed Dec 04, 2019 1:21 pm
- Forum: Hardware
- Topic: PS Ram Speed
- Replies: 8
- Views: 11733
Re: PS Ram Speed
Those results are more or less what I'd expect. For lower array sizes, the array is entirely kept in cache and the speed is however fast the CPU can write there; you can see that because 8-bit writes are less efficient than 32-bit writes. From 16K'ish, the array can't be contained in the cache anym...
- Tue Dec 03, 2019 10:28 pm
- Forum: Hardware
- Topic: PS Ram Speed
- Replies: 8
- Views: 11733
Re: PS Ram Speed
Hi Folks I put my mem speed test code and results on here - incase anyone else wants to try it - or spots any errors in my code :) I ran at 240mhz, spiram @ 80mhz Ram Speed Test! Read Speed 8bit ArraySize 1kb time: 0.0 22.6 mb/sec Read Speed 8bit ArraySize 2kb time: 0.0 22.8 mb/sec Read Speed 8bit A...
- Tue Dec 03, 2019 6:46 pm
- Forum: Hardware
- Topic: PS Ram Speed
- Replies: 8
- Views: 11733
Re: PS Ram Speed
There's a cache in front of the PSRAM (same as flash cache) so the numbers are a bit fuzzy, but in general the psram, if configured at 80MHz clock speed, should have some 40 MByte/sec throughput. Note that because a write goes through the cache, you probably will see half that: the cache line needs...
- Mon Dec 02, 2019 10:52 pm
- Forum: Hardware
- Topic: PS Ram Speed
- Replies: 8
- Views: 11733
PS Ram Speed
Hi Folks I'm just venturing into using the 4mb PSRam on my esp32 board( currently a A1S - soon to be a Lyrat). What read/write speeds should I be expecting? I've written a simple test read program and I'm getting about 9MB/secs - that's single byte reads. I'm just doing this so I can factor in any s...