Microbit/speech.py

Wed, 29 Apr 2020 18:26:18 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 29 Apr 2020 18:26:18 +0200
changeset 10
f34fe5abe069
parent 0
b3daa2ebea2f
child 11
c8198736bff3
permissions
-rw-r--r--

Added API stubs for Calliope mini.

# -*- 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