Unable to run AudioKitStream kit #75
-
Since some days I tried to run https://www.pschatzmann.ch/home/2021/12/29/the-audiokit-and-the-sam-tts-engine/ with unmodified ESP32 Audio Kit V2.2 load:0x40078000,len:10944 and then a couple of Error: ->Wire.endTransmission: 2 and then Error: codec init failed! and BluetoothA2DPSink seems to be ok. Maybe, there is some initialization problem with // setup output ??? The example https://blog.squix.org/2019/08/esp32-esp-eye-browser-based-spectrum-analyzer.html is running with that board. Any hints would be great. I'm stucked. And I feel, pschatzmann's Libs for ESP32 Audio Kit V2.2 are really great, because it's Arduino and has the funktionallity of esp-adf. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments
-
I noticed that the AudioKit using ESP32 >= 2.0.0 is not working. |
Beta Was this translation helpful? Give feedback.
-
@pschatzmann
The monitor says "Error: ->Wire.endTransmission: 2". Obviously some problems with Wire connection. I've no real knowledge about that stuff, just speculation. https://github.com/pschatzmann/arduino-audiokit/releases says there are two releases, it's second (and newest) release has been changed to "Wire Library as default setting" with arduino-audiokit-02.0.zip. Thanks for your time to read my stuff. |
Beta Was this translation helpful? Give feedback.
-
Which AudioKit board are you using ? The settings can be found in the AudioKitSettings.h file where you define which board you are using. (see #define AUDIOKIT_BOARD) |
Beta Was this translation helpful? Give feedback.
-
@pschatzmann I use this board (The "old" version with ES8388 audio chip). I will take over the initial values from running example to AudioKitSettings.h and will report later on here the result. Best regards and many thanks again! |
Beta Was this translation helpful? Give feedback.
-
I was testing it with the version 2.2 3478 which uses the ES8388. Please note that I do not support old boards which use the AC101 audio chip. |
Beta Was this translation helpful? Give feedback.
-
Just a update: I have added some DRAFT support for the AC101 chip to the https://github.com/pschatzmann/arduino-audiokit project |
Beta Was this translation helpful? Give feedback.
-
I need a simple media server that can play the messages my Home Assistant sends to the media player, can I do this with your code and how thanks in advance |
Beta Was this translation helpful? Give feedback.
-
My software is intended to build audio solutions easily. So you would need to do the programming yourself. You could send text messages from Home Assistant via your chosen protocol (e.g. udp) and on the ESP you just translate the received text into audio with one of my TTS projects. You find links of the supported TTS libraries in the readme.md |
Beta Was this translation helpful? Give feedback.
-
I was thinking of audio message from the media player in HA like sending
audio to a chromcast device, but the idea with TTS can bring me some way,
but not play radio controled by HA
Tanks for the fast response
Den søn. 6. mar. 2022 kl. 12.38 skrev Phil Schatzmann <
***@***.***>:
… My software is intended to build audio solutions easily. So you would need
to do the programming yourself. You could send text messages from Home
Assistant via your chosen protocol (e.g. udp) and on the ESP you just
translate the received text into audio with one of my TTS projects. You
find links of the supported TTS libraries in the readme.md
—
Reply to this email directly, view it on GitHub
<#75 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADOCKK2UVFNEOI7C5XDYMILU6SKMNANCNFSM5LQZYJJA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
<pschatzmann/arduino-audio-tools/repo-discussions/75/comments/2302993@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
If you manage to figure out to send audio data from Media Player via a protocol that the ESP32 supports (e.g. via TCP ip) that would work as well.
Or you could use the ESP32 just as Bluetooth Speaker…
… On 6 Mar 2022, at 12:43, Svenn-Erik K. Thomsen ***@***.***> wrote:
I was thinking of audio message from the media player in HA like sending
audio to a chromcast device, but the idea with TTS can bring me some way,
but not play radio controled by HA
Tanks for the fast response
Den søn. 6. mar. 2022 kl. 12.38 skrev Phil Schatzmann <
***@***.***>:
> My software is intended to build audio solutions easily. So you would need
> to do the programming yourself. You could send text messages from Home
> Assistant via your chosen protocol (e.g. udp) and on the ESP you just
> translate the received text into audio with one of my TTS projects. You
> find links of the supported TTS libraries in the readme.md
>
> —
> Reply to this email directly, view it on GitHub
> <#75 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ADOCKK2UVFNEOI7C5XDYMILU6SKMNANCNFSM5LQZYJJA>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you commented.Message ID:
> <pschatzmann/arduino-audio-tools/repo-discussions/75/comments/2302993@
> github.com>
>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip!
Den søn. 6. mar. 2022 kl. 12.51 skrev Phil Schatzmann <
***@***.***>:
… If you manage to figure out to send audio data from Media Player via a
protocol that the ESP32 supports (e.g. via TCP ip) that would work as well.
Or you could use the ESP32 just as Bluetooth Speaker…
> On 6 Mar 2022, at 12:43, Svenn-Erik K. Thomsen ***@***.***> wrote:
>
>
> I was thinking of audio message from the media player in HA like sending
> audio to a chromcast device, but the idea with TTS can bring me some way,
> but not play radio controled by HA
>
> Tanks for the fast response
>
>
> Den søn. 6. mar. 2022 kl. 12.38 skrev Phil Schatzmann <
> ***@***.***>:
>
> > My software is intended to build audio solutions easily. So you would
need
> > to do the programming yourself. You could send text messages from Home
> > Assistant via your chosen protocol (e.g. udp) and on the ESP you just
> > translate the received text into audio with one of my TTS projects. You
> > find links of the supported TTS libraries in the readme.md
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
#75 (comment)
>,
> > or unsubscribe
> > <
https://github.com/notifications/unsubscribe-auth/ADOCKK2UVFNEOI7C5XDYMILU6SKMNANCNFSM5LQZYJJA
>
> > .
> > Triage notifications on the go with GitHub Mobile for iOS
> > <
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
>
> > or Android
> > <
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
>.
> >
> > You are receiving this because you commented.Message ID:
> > <pschatzmann/arduino-audio-tools/repo-discussions/75/comments/2302993@
> > github.com>
> >
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> Triage notifications on the go with GitHub Mobile for iOS or Android.
> You are receiving this because you were mentioned.
—
Reply to this email directly, view it on GitHub
<#75 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADOCKK6RYXOC3ZQTKO5NYY3U6SL25ANCNFSM5LQZYJJA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
<pschatzmann/arduino-audio-tools/repo-discussions/75/comments/2303017@
github.com>
|
Beta Was this translation helpful? Give feedback.
Just a update: I have added some DRAFT support for the AC101 chip to the https://github.com/pschatzmann/arduino-audiokit project