Hi,
Iam trying to add equalizer element to the pipeline of passthru example using ESP32-LyraTV4.3 board. I tried equalizer example separately it is working fine but it needs SD card to decode the wave file. But my application needs to process the aux input through equalizer and outputs the audio through headphone. I tried the following code, but the output is not processed through equalizer it seems. Even i changed the gain of equalizer but no success. Here is the code plz clarify me if anything wrong.
`/* Audio passthru
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
Hi, Iam trying to add equalizer element to the pipeline of passthru example using ESP32-LyraTV4.3 board. I tried equalizer example separately it is working fine but it needs SD card to decode the wave file. But my application needs to process the aux input through equalizer and outputs the audio through headphone. I tried the following code, but the output is not processed through equalizer it seems. Even i changed the gain of equalizer but no success. Here is the code plz clarify me if anything wrong. `/* Audio passthru
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
include
include "freertos/FreeRTOS.h"
include "freertos/task.h"
include "esp_log.h"
include "audio_pipeline.h"
include "i2s_stream.h"
include "board.h"
include "equalizer.h"
static const char *TAG = "PASSTHRU";
void app_main(void) { audio_pipeline_handle_t pipeline; audio_element_handle_t i2s_stream_writer, i2s_stream_reader, equalizer;
ifdef CONFIG_ESP32_S2_KALUGA_1_V1_2_BOARD
else
endif
}
Regards S.Vijayakumar