唱消息

唱消息的说明

[唱消息拼]的图例

../../../_images/speech.sing.png

功能:唱出输入的消息。

参数:
  • 第一个参数为想要唱出的消息。

[唱消息拼]的动画

../../../_images/speech.sing1.gif

唱消息例程

唱出自己的心声

DIY制作一个播放器。播放器唱出出自己想说话。

拼插源码

../../../_images/speech.sings.png

实例源码:

import speech

while True:
        speech.sing('I love Beijing tiananmen, the sun rose on the door')