Search found 9 matches

by psychoacoustic
Wed Dec 11, 2019 12:37 am
Forum: General Discussion
Topic: Realtime MP3 encoder 48kHz Stereo
Replies: 18
Views: 33308

Re: Realtime MP3 encoder 48kHz Stereo

Another thing to consider is the move to MP3s successor AAC. AAC is free to use without a license if you use an open source implementation. If you make your own VHDL and commit that to an ASIC you're up for license fees. So using widely available SoCs with some DSP instructions using open source AAC...
by psychoacoustic
Mon Dec 09, 2019 8:12 pm
Forum: General Discussion
Topic: Realtime MP3 encoder 48kHz Stereo
Replies: 18
Views: 33308

Re: Realtime MP3 encoder 48kHz Stereo

PaulNI, no comparison, if using a dedicated encoder ASIC is an option for your project then use that. Keep in mind that these chips seem to be retiring, from a quick search, they also cost more than an entire ESP32 dev board for just the chip. Can you find a reliable supply for these?
by psychoacoustic
Sun Dec 08, 2019 11:03 pm
Forum: General Discussion
Topic: Realtime MP3 encoder 48kHz Stereo
Replies: 18
Views: 33308

Re: Realtime MP3 encoder 48kHz Stereo

@all

Sorry for the delay, I've been extremely busy.

https://github.com/fknrdcls/mp3_shine_esp32

Be warned this code is:
8 Months Old.
Messy and half way to dual core implementation but currently works fine.
Unknown compatibility with the current IDF.

Let me know how you go.

Cheers!
by psychoacoustic
Tue Aug 13, 2019 9:25 am
Forum: General Discussion
Topic: Realtime MP3 encoder 48kHz Stereo
Replies: 18
Views: 33308

Re: Realtime MP3 encoder 48kHz Stereo

@allex1978, thanks mate, I can't take all the credit for the GUI as the knobs are available on one of those javascript sites, I can't remember where I'll look it up.. here I think this is it https://github.com/jhnsnc/precision-inputs . Little bit tough to get working but they really are worth the ef...
by psychoacoustic
Wed Jun 12, 2019 6:14 am
Forum: Hardware
Topic: ESP32 WROVER MP3/AAC/(IP Audio Stream) Decoding, digital Audio Filtering and SPI Colour Display control
Replies: 7
Views: 10641

Re: ESP32 WROVER MP3/AAC/(IP Audio Stream) Decoding, digital Audio Filtering and SPI Colour Display control

Pepe, due to the similarities of our projects it may be beneficial to collaborate, I'm currently working on a BLE based remote control for my device on top of everything else. If you're interested shoot me a PM, I can arrange a demo of my prototype. Here is a video from months back while testing the...
by psychoacoustic
Wed Jun 12, 2019 5:55 am
Forum: General Discussion
Topic: Realtime MP3 encoder 48kHz Stereo
Replies: 18
Views: 33308

Re: Realtime MP3 encoder 48kHz Stereo

Carlos, sorry for the incredibly late reply, as shine only implements MPEG1 Layer 3 the lowest supported bitrate is 32kbps and samplerate is 32kHz, and I haven't tested that. Generally the lower the bitrate, the poorer the performance of shine due to no psychoacoustic processing. The source is digit...
by psychoacoustic
Sun Jun 09, 2019 4:34 am
Forum: Hardware
Topic: ESP32 WROVER MP3/AAC/(IP Audio Stream) Decoding, digital Audio Filtering and SPI Colour Display control
Replies: 7
Views: 10641

Re: ESP32 WROVER MP3/AAC/(IP Audio Stream) Decoding, digital Audio Filtering and SPI Colour Display control

Should be fine, WROOM32 (no psram) will do stereo MP3 encode and http stream, stereo EQ via 2048 point FFT (so that's FFT and iFFT) and a constant Q spectrum output via websockets to http clients simultaneously. Note though,I believe the ADK expects psram. Screen Shot 2019-06-09 at 1.38.33 pm.png So...
by psychoacoustic
Wed Feb 13, 2019 3:04 am
Forum: General Discussion
Topic: Realtime MP3 encoder 48kHz Stereo
Replies: 18
Views: 33308

Re: Realtime MP3 encoder 48kHz Stereo

Yes of course, the encoder is called shine mp3 encoder. I started with the fixed point implementation but am abandoning that in favour of single precision floating point after some research and synthetic testing on ESP32 show that asm optimisation should be much faster using the FPU. The FPU instruc...
by psychoacoustic
Sun Feb 10, 2019 6:42 am
Forum: General Discussion
Topic: Realtime MP3 encoder 48kHz Stereo
Replies: 18
Views: 33308

Realtime MP3 encoder 48kHz Stereo

I have ported and optimised an MP3 compliant encoder to ESP32, just wondering if anyone is interested in the project. If so I will clean up the code and post it here. Current status: Encodes @48000Hz 16bit Stereo using between 37-43% on one core depending on where you choose to place buffers and tab...