Search found 6 matches

by peterburk
Fri Aug 16, 2024 4:04 am
Forum: ESP-IDF
Topic: ES8388 with a2dp_sink
Replies: 4
Views: 3306

Re: ES8388 with a2dp_sink

bt_app_av.h:

/*
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/

#ifndef __BT_APP_AV_H__
#define __BT_APP_AV_H__

#include <stdint.h>
#include "esp_a2dp_api.h"
#include "esp_avrc_api.h"

/* log tags */
#define BT_AV ...
by peterburk
Fri Aug 16, 2024 4:04 am
Forum: ESP-IDF
Topic: ES8388 with a2dp_sink
Replies: 4
Views: 3306

Re: ES8388 with a2dp_sink

I finished making an iPod UART remote to Bluetooth A2DP adaptor using the YourCee AI Thinker ESP32-A1S dev kit!

Here's the final contents of my project files:

main.c:

/*
* SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0 ...
by peterburk
Tue Aug 13, 2024 4:07 am
Forum: ESP-IDF
Topic: ES8388 with a2dp_sink
Replies: 4
Views: 3306

Re: ES8388 with a2dp_sink

Thanks to espgtxs, I solved the volume clipping problem!

The file that needed changing was:

C:\Espressif\frameworks\esp-idf-v5.2.2\components\bt\host\bluedroid\external\sbc\decoder\srce\synthesis-8-generated.c

#define MUL_16S_16S(_x, _y) ((_x)/16 * (_y))

I also remembered that I didn't comment ...
by peterburk
Mon Aug 12, 2024 9:42 am
Forum: ESP-IDF
Topic: ES8388 with a2dp_sink
Replies: 4
Views: 3306

Re: ES8388 with a2dp_sink

Progress! I was able to get the DAC to produce sound.

Here's the contents of main.c:

/*
* SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h ...
by peterburk
Sun Aug 11, 2024 11:06 am
Forum: ESP-IDF
Topic: ES8388 with a2dp_sink
Replies: 4
Views: 3306

ES8388 with a2dp_sink

Hi!
I recently bought an ESP32 Audio Kit V2.2 A417 with an ESP32-A1S module FCC ID:2AHMR-ESP32A1S from YourCee.

I was successfully able to install squeezelite, and set it up as a Bluetooth sink to the ES8388 DAC.

Now I'm trying to use the ESP-IDF SDK examples, starting with a2dp_sink. Longer ...
by peterburk
Sun Aug 11, 2024 10:41 am
Forum: ESP-ADF
Topic: ES8388 A2DP audio only noise
Replies: 2
Views: 14808

ES8388 A2DP audio only noise

Hi! I recently bought an ESP32 Audio Kit v2.2 A 417 from YourCee.
It has an ESP32-A1S chip, FCC ID:2AHMR-ESP32A1S.

I was successfully able to get the pipeline_passthru example to work :)
I also successfully set up squeezelite as a Bluetooth A2DP sink, with audio coming out of the ES8388 DAC ...

Go to advanced search