Esp32-A1S with ES8388 #33
-
I have an audio kit board with ES8388 and the version information says v2.2 A404 I installed both audio tools: But I did not install any board on the board manager. The board is referred here: However I sitll do not see which board I should select on Arduino IDE. Can anyone guide me ? |
Beta Was this translation helpful? Give feedback.
Replies: 21 comments 34 replies
-
Just select the generic ESP32 Dev Module |
Beta Was this translation helpful? Give feedback.
-
tried with dev module now but it goes into boot loop:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Flash size should be 4mb |
Beta Was this translation helpful? Give feedback.
-
ok. setting the flash size to 4mb solved it. No loops now. |
Beta Was this translation helpful? Give feedback.
-
I tried the following code:
but it fails:
|
Beta Was this translation helpful? Give feedback.
-
Use this sketch to test and replace the driver with one of vaild alternatives. If you have an AudioKit: its AudioKitEs8388V1, AudioKitEs8388V2 or AudioKitAC101 |
Beta Was this translation helpful? Give feedback.
-
great ! I modify the driver as described. I only get a garbage sound. |
Beta Was this translation helpful? Give feedback.
-
I suggest to use the AudioTools project instead: You have to write much more code in ADF to achieve the same thing! If you want to use ADF you can find further information here. |
Beta Was this translation helpful? Give feedback.
-
thanks but I really need parallel processing and efficient use of the esp32. |
Beta Was this translation helpful? Give feedback.
-
ok. I'll try to give Arduino a chance. But I could not find an example of recording through the mic. |
Beta Was this translation helpful? Give feedback.
-
found a recording example here: where can I find documentation of all methods in the API (driver and tools) |
Beta Was this translation helpful? Give feedback.
-
You can also directly copy from the source to the destination as in this example. The Readme of the AudioTools contains links to all the documentation! |
Beta Was this translation helpful? Give feedback.
-
thank you |
Beta Was this translation helpful? Give feedback.
-
I found an example to write to a file on SD. I was able to write and read. But when I open the file with FILE_WRITE attribute, it can not overwrite the previous file. Is there a way to overwrite ? Also, all encoding examples use streams. How can I copy from file to file encoding with a codec ? |
Beta Was this translation helpful? Give feedback.
-
Close and delete the file or just move the file position to the beginning. |
Beta Was this translation helpful? Give feedback.
-
I close the file and reopen and move to the beginning with this sequence:
but it can not overwrite. About encoding question; I tried the following code to encode but file size was 0 :
what am I missing ? |
Beta Was this translation helpful? Give feedback.
-
ok. I solved the issue about overwriting. Now I am trying to do the encoding. is there a way to understand when copier has finished copying ? (input file end) |
Beta Was this translation helpful? Give feedback.
-
ok. done that and now I am able to close the file at correct time.
I have added the libraries and included header files:
|
Beta Was this translation helpful? Give feedback.
-
In your case, just wrap the input object and read from the meter instead... |
Beta Was this translation helpful? Give feedback.
-
I don't quite understand: it's still working like you find in the documentation. The old AudioKit project is not supported any more, so please use the new functionality via the AudioBoardStream. |
Beta Was this translation helpful? Give feedback.
Just select the generic ESP32 Dev Module