Microbit/speech.py

Sun, 25 Aug 2019 19:25:37 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 25 Aug 2019 19:25:37 +0200
changeset 2
2c3f30af031d
parent 0
b3daa2ebea2f
child 11
c8198736bff3
permissions
-rw-r--r--

Started to add the stubs for MicroPython.

# -*- coding: utf-8 -*-

# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module containing stubs for API generation of the 'speech' module.
"""

def translate(words):
    pass

def pronounce(phonemes, *, pitch=64, speed=72, mouth=128, throat=128):
    pass

def say(words, *, pitch=64, speed=72, mouth=128, throat=128):
    pass

def sing(phonemes, *, pitch=64, speed=72, mouth=128, throat=128):
    pass

eric ide

mercurial