Microbit/speech.py

changeset 11
c8198736bff3
parent 0
b3daa2ebea2f
--- a/Microbit/speech.py	Wed Apr 29 18:26:18 2020 +0200
+++ b/Microbit/speech.py	Sun Apr 04 16:54:03 2021 +0200
@@ -7,14 +7,17 @@
 Module containing stubs for API generation of the 'speech' module.
 """
 
+from microbit import pin0
+
 def translate(words):
     pass
 
-def pronounce(phonemes, *, pitch=64, speed=72, mouth=128, throat=128):
+def pronounce(phonemes, *, pitch=64, speed=72, mouth=128, throat=128,
+              pin=pin0):
     pass
 
-def say(words, *, pitch=64, speed=72, mouth=128, throat=128):
+def say(words, *, pitch=64, speed=72, mouth=128, throat=128, pin=pin0):
     pass
 
-def sing(phonemes, *, pitch=64, speed=72, mouth=128, throat=128):
+def sing(phonemes, *, pitch=64, speed=72, mouth=128, throat=128, pin=pin0):
     pass

eric ide

mercurial