Search found 49 matches
- Thu Dec 19, 2019 6:13 pm
- Forum: ESP-ADF
- Topic: applying esp-dsp IIR biquad to pipeline or element ?
- Replies: 22
- Views: 6693
Re: applying esp-dsp IIR biquad to pipeline or element ?
Cool stuff - awesome you got it working! Wouldn't worry about float->int and int->float conversion - there's usually a fast fpu instruction for that. I did some early tests on the FPU as a feasibility study for my projects - and it seems fine for some lightweight DSP. A Biquad EQ is super stable and...
- Thu Dec 19, 2019 6:07 pm
- Forum: ESP-ADF
- Topic: MP3 Decoder cpu usage
- Replies: 6
- Views: 3110
Re: MP3 Decoder cpu usage
sweeeet - I hope that's correct!! I thought 50% of 1 core for mp3 decode - even with float precision would be a little heavy 
Thanks a lot for clearing that up!

Thanks a lot for clearing that up!
- Thu Dec 19, 2019 4:25 am
- Forum: ESP-ADF
- Topic: MP3 Decoder cpu usage
- Replies: 6
- Views: 3110
MP3 Decoder cpu usage
Hi folks I'm just playing around with vTaskGetRunTimeStats, and noticed the mp3 decoder is taking a fair chunk of the cpu usage. I'm assuming the percentage stats are for both cores combined? I'm running at 240mhz and I'm getting the following in a release build: Task Name,Count,Percentage. DisplayT...
- Wed Dec 18, 2019 6:26 pm
- Forum: ESP-ADF
- Topic: applying esp-dsp IIR biquad to pipeline or element ?
- Replies: 22
- Views: 6693
Re: applying esp-dsp IIR biquad to pipeline or element ?
Cool stuff!! Umm I'm using a A1S board at the moment - switching to a lyrat board later on (mainly because the A1S board the audio amps are close to the ESP32 Chip and cause audio noise when you turn on the wifi :) ) Don't know about the Lyrat drivers - but you can look at the driver code in adf/com...
- Tue Dec 17, 2019 4:30 pm
- Forum: ESP-ADF
- Topic: applying esp-dsp IIR biquad to pipeline or element ?
- Replies: 22
- Views: 6693
Re: applying esp-dsp IIR biquad to pipeline or element ?
Umm I just looked at the equalizer src code and copied what it did - it's for my own FX reverb,distortion - so it's all currently in my main.cpp until I'm happy with my code - it's mostly R&D dsp stuff at the moment. But that code does work - I followed the code path and realised: audio_element_inpu...
- Mon Dec 16, 2019 7:09 pm
- Forum: ESP-ADF
- Topic: I2S stream clk change problem
- Replies: 1
- Views: 984
Re: I2S stream clk change problem
Actually I was being really dumb there - there's a easy solution to stop the raw I2S rx/tx entanglement: audio_element_pause(i2s_writer); audio_element_pause(i2s_reader); i2s_stream_set_clk(i2s_writer, music_info.sample_rates, music_info.bits, music_info.channels); i2s_stream_set_clk(i2s_reader, mus...
- Mon Dec 16, 2019 6:43 pm
- Forum: ESP-ADF
- Topic: I2S stream clk change problem
- Replies: 1
- Views: 984
I2S stream clk change problem
Hi All I have a problem with i2s_stream_set_clk I have 2 I2S streams - one for playing audio, one for recording from the line-in/mic When I change the bitrate/samplerate on the play stream and then the rec stream to match - it hangs. i2s_stream_set_clk(i2s_writer, music_info.sample_rates, music_info...
- Mon Dec 16, 2019 6:35 pm
- Forum: ESP-ADF
- Topic: applying esp-dsp IIR biquad to pipeline or element ?
- Replies: 22
- Views: 6693
Re: applying esp-dsp IIR biquad to pipeline or element ?
Hey BenBiles I'm working on a similar part of my code for my ESP32 - I posted a few messages ago how to add a DSP function into the pipeline - yes it's based off the eq code example. https://esp32.com/viewtopic.php?f=20&t=13495 you'd pop ur biquad code in here somewhere: static audio_element_err_t D...
- Sat Dec 14, 2019 3:03 am
- Forum: ESP-IDF
- Topic: Link an external static object archive (.a)
- Replies: 2
- Views: 1191
Re: Link an external static object archive (.a)
Cool stuff dude - I had major problems linking in embedded binaries - so much so I gave up lol
Thanks for sharing the knowledge!
Thanks for sharing the knowledge!
- Sat Dec 14, 2019 1:47 am
- Forum: ESP-ADF
- Topic: RMS from "MP3" "I2S" pipeline
- Replies: 1
- Views: 1306
Re: RMS from "MP3" "I2S" pipeline
Ok I finally managed to do this and pass the knowledge on! I cannibalized what equilizer.c does, hopefully there's a easier way to put in a DSP process function and still have the audio pass onto the I2S output stream? short DspBuf[4096]; audio_element_info_t Dsp_info = { 0 }; static esp_err_t Dsp_o...