meganetaaan / m5stack-avatar

An M5Stack library for rendering avatar faces
MIT License
171 stars 29 forks source link

audio example does not compile #71

Open PaulskPt opened 2 years ago

PaulskPt commented 2 years ago

Using a M5Stack Core2 device

See the combined screenshot

audio ino_loop_

. The scetch audio.ino generates the following error:

class_AudioOutputI2S_has_no_member_getLevel_

According to the instructions in the top of audio.ino I installed the following libraries: git clone https://github.com/earlephilhower/ESP8266Audio git clone https://github.com/Gianbacchio/ESP8266_Spiram

Class AudioOutputI2S:

2022-03-27_meganetaaan_m5stack-avatar_issue_class_AudioOutputI2S_public_AudioOutput_does_not_have_attribute_getLevel

The only class that has a member getLevel() is AquestTalkTTS. See screenshot below:

AquesTalkTTS h_getLevel