Olicorne
Olicorne
If you want a minimal version of @mario872 's answer: ``` from piper.voice import PiperVoice as piper import wave voice = piper.load("en_US-lessac-medium.onnx") with wave.open("test.wav", "wb") as wav_file: voice.synthesize("This is a...
Great to hear. Also is there a way currently via python to pass in multiple sentence? The readme says with a pipe it can be done using json format but...
Yeah I did pretty much the same code to fetch all articles too
Oh neat. Do you mind me updating the README.md to reflect this?
[Done](https://github.com/jeffmer/TTGO-T-watch-2020-Micropython-OS/pull/6/commits/d5433123d3d9cb9c45eeb7b5bd653a51bdcf4924)
> @thiswillbeyourgithub: If you open a separate issue regarding the microphone I will share my initial findings, but I don't think it will be easy because Micropython appears to be...
Thanks a lot! Really! WIth a bit of help from GPT-4 I apparently achieved a bit faster still : ``` from machine import Pin import micropython import array micropython.alloc_emergency_exception_buf(100) pdm_clk_pin...
I initially went with just adding a timer with `time.sleep_us(25)` but was not sure what would happen with difference with compiled code so I went with a proper timer instead:...
I can't add anything regarding those hardware stuff unfortunately. > I believe that, given the lack of available Micropython libraries for PDM conversion, the best solution would be to transfer...
Thank you as usual. Btw I also checked and the function play_audio is working perfectly well if given proper audio with the appropriate sample rate. I notice that the microphone...