ESP32 DSP Arduino Library

Hi Everyone.

I have been searching for 2 days now for a Library that is able to.

1.Use ESP32 Wroom ADC input.
2.Use ESP32 Wroom DAC as output.
3.Clean up / Filter noise from HF Radio's audio.
4.Arduino.ino examples.

The Library's that I found is not Arduino compatible.
When it is Arduino compatible , gives compile errors.
Use external Codec's.
No documentation on the connections.

Thanks for any advice.

Maybe it is almost compatible and you could adapt it.

ADC and DAC are standard on most esp32's so any third party library that is compatible with the esp32 will work and will have sample code usually.
I don't understand your 3rd requirement. Can you say it in a way that is not solution specific (don't mention HF Radio)

Here are a couple of resources
ADC https://randomnerdtutorials.com/esp32-adc-analog-read-arduino-ide/
DAC https://docs.arduino.cc/libraries/dacesp32/
List of all kinds of libraries, searchable https://www.arduinolibraries.info

That would be trivial to add to your .ino file.

For automatic filter design and coding see http://t-filter.engineerjs.com/

That refers to the type of noise I want clean up.
Statics , white noise from a two way radio.

ADC I can do , DAC played with it.

Now between the ADC and the DAC I need a DSP NOISE FILTER.

Note that some variants like the popular S3 do not have a DAC.

https://docs.espressif.com/projects/esp-idf/en/v5.0.7/esp32s3/hw-reference/chip-series-comparison.html

Old Lazy Bones (me) prefer the plug and play option as first choice.

I did a Google search for [DSP noise filter esp32] and got lots of interesting results.

What type of signal are you listening to/for? SSB, CW, RTTY, etc.?

Pete

See post #6.

SSB , 40Meters.

I did look at the link , but how is this code implemented in hardware?

Where is AnalogRead?
Where is the "filtered" samples to send to the DAC and reproduce the audio?

Try to diy this.

Where is AnalogRead?

Elsewhere

Where is the "filtered" samples to send to the DAC and reproduce the audio?

Elsewhere.

The filter is a function that accepts one "raw" sample and returns a filtered sample.

Thanks, not user friendly.
What Analog pin is defined / used?
What output is used DAC1 or DAC2?

It is perfectly "user friendly". As with any filter library, the filter code makes no assumptions about where your input comes from and where the output goes.

If you are hoping for complete code that you can copy, paste and run, consider asking the moderator to move the thread to the Jobs & Paid Consultancy forum section.

It appears that you asked essentially the same question, but for a different processor, in this thread and got it working. You might be able to use the filter code on the new processor, although it might need different coefficients and/or sampling rate

Pete.

Thanks for Link , again.

I got the code to compile in 2021 and program the STM.

But I never got to test it in hardware.

To many cables , different voltages , made a big mistake with the power supply and blew up my PC'S USB port and ended with a dead PC.

I see in the Arduino Examples the same "Arduino Filter" folder as in the Link you provided and also the same Author.

Is this Filter Example part of the Arduino ide install or maybe what I installed in 2021?

Also may ask is "Pete" and " * Written by PieterP, 2019-11-12" the same Person?

I think you must have installed it yourself. I haven't found any filter examples in my install of the Arduino IDE.
The one in the link is written in C++ which I only vaguely understand.

Different people.

Pete