Speech in makecode from python

Hello, has anyone been able to use the speech from python to work with makecode?
Speech — BBC micro:bit MicroPython 2 documentation (microbit-micropython.readthedocs.io)

Hi @Robot-rick ,

There are two different approaches to Python for the micro:bit. Those doc are from the MicroPython version, which is used in the Micro:bit Python editor (and other editors).

MakeCode doesn’t actually use MicroPython. It’s an entirely different version of Python, works in a very different way, and doesn’t support the speech library. You can read about the differences between MakeCode’s Python and MicroPython here: https://support.microbit.org/support/solutions/articles/19000111744-makecode-python-and-micropython

I don’t think MakeCode support speech yet (although I have started work on an extensions that supports speech…unfortunately I won’t be able to resume that work for a few months).

Thanks for the fast answer! I am enhancing/upgrading some old robots from the eighties. Would be nice to use both makecode and/or micropython. The micro:bit has most of the sensors/feature of these old robots and then some. The micropython version is very close to the speech of the eighties without old obsolete chips being needed. Keep me updated on your project and or everyone let me know if they hear of other solutions.Thanks for the links!

Hi @Robot-rick ,

It looks like someone has already created an extension for Speech Support! See: https://github.com/adamish/pxt-billy

I did this quick test (on a v2): https://makecode.microbit.org/_eCeH9U03DWyx

Thanks for the update, just tested it. Works great! I’m guessing it only works on v2 microbit… Will do some more digging, but it is Just like S.A.M. from the 80"s!

@Robot-rick If you get a chance, please post an update to share the results of updating the 80s bots. (I’m a fan of the 80s bots, like the Hero, Omnibot(s) and the other Tomy robots, Compurobot, etc.)