Code Monkey home page Code Monkey logo

Comments (8)

pschatzmann avatar pschatzmann commented on July 17, 2024

Hmm - the pins are the same like 5) ai_thinker (ES8388) 3478.
Did you try with that option ?

from arduino-audiokit.

perlix avatar perlix commented on July 17, 2024

Thanks again for the ultrasonic response!
You're right (of course), just tried option 5 and that works fine for my 2957, so please forget my first suggestion.

You'll probably come up with a better alternative for my second suggestion as well, but I was so pleased to have found it after days of tinkering that I wanted to share it, just in case...

Thanks for your flawless and well documented libraries!

from arduino-audiokit.

pschatzmann avatar pschatzmann commented on July 17, 2024

I will update the Readme and add the 2957 to option 5 as well.
For the issue with the volume I don't have an easy solution.

from arduino-audiokit.

pschatzmann avatar pschatzmann commented on July 17, 2024

For the volume I added an additional option in the AudioKitSettings.h. Can you help me to test this:
#define AI_THINKER_ES8388_VOLUME_HACK 1

from arduino-audiokit.

perlix avatar perlix commented on July 17, 2024

Just installed the newest version and tested a clean player-url_icy-audiokit example from the arduino-audio-tools library with these two lines added atop:

#define AUDIOKIT_BOARD 5 
#define AI_THINKER_ES8388_VOLUME_HACK 1

To my surprise, max volume is very low again. It appears that the unmodified es8388_set_voice_volume() was compiled, despite the new #if AI_THINKER_ES8388_VOLUME_HACK directive in es8388.c. Changing it to #ifdef AI_THINKER_ES8388_VOLUME_HACK makes everything work perfectly (on my kit). Beats me, but I'm on highly unfamiliar ground here.

(Hope I'm not bothering you too much with my strange version of this kit).

from arduino-audiokit.

pschatzmann avatar pschatzmann commented on July 17, 2024

I confirm adding this in the sketch is not good enough. You need to update the AudioKitSettings.h file

from arduino-audiokit.

perlix avatar perlix commented on July 17, 2024

Moved #define AI_THINKER_ES8388_VOLUME_HACK 1 from the sketch to AudioKitSettings.h and everything now works like the Swiss public transport! As I said: unfamiliar ground for me, so thanks for your patience.

from arduino-audiokit.

pschatzmann avatar pschatzmann commented on July 17, 2024

Cool

from arduino-audiokit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.