14 lines
426 B
Python
14 lines
426 B
Python
from Speaker.speak_base import SpeakServer, beep
|
|
|
|
speaker = SpeakServer()
|
|
# beep(duration=500)
|
|
speaker.volume_control(50)
|
|
speaker.add_speak("系统启动成功,欢迎使用砺戍智能作训系统")
|
|
# speaker.add_speak("系统启动成功,欢迎使用砺戍智能作训系统")
|
|
# speaker.add_speak("系统启动成功,欢迎使用砺戍智能作训系统")
|
|
speaker.wait_4_speak()
|
|
# beep(duration=500)
|
|
# time.sleep(10)
|
|
|
|
|