Microbit/speech.py

changeset 0
b3daa2ebea2f
child 11
c8198736bff3
diff -r 000000000000 -r b3daa2ebea2f Microbit/speech.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Microbit/speech.py	Sat Aug 24 17:04:25 2019 +0200
@@ -0,0 +1,20 @@
+# -*- 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