earlephilhower / ESP8266SAM

Speech synthesis for ESP8266 using S.A.M. port
315 stars 41 forks source link

SAM only, no DAC #25

Closed KDMcMullan closed 5 months ago

KDMcMullan commented 6 months ago

Hi.

I have a very specific use case. I hope to implement SAM, and put the output into the mic input of a walkie talkie. As such, I don't believe I need a DAC: I think the digital output and a capacitor will do the job. I'm not entirely sure which pin to use. The optical example in ESP8266Audio just says "GPIO pin" but I'm not sure ow to select this (if it can be selected).

The other thing is: I don't see how to use the SAM library. The instructions say I need https://github.com/earlephilhower/ESP8266Audio. Do I require to install ESP8266SAM as a library as well as ESP8266Audio?

Hope you can help, then (as requested) I believe I have a VERY interesting application for your wrapper!

Thanks.

KDMcMullan commented 5 months ago

Having digested an example use from ESP8266Audio, and realised I ought to use use the Rx pin, this issue is closed for me. I now also fully understand why I must use the Rx pin, due to the blatant (but impressive) abuse of the serial port! My "VERY interesting application" now uses SAM. Thank you.