最新消息:

Scratch会说时间的闹钟

Scratch 少儿编程 3506浏览 0评论

友情提示:视频教程观看时请手动设置清晰度。

使用Scratch3做出会说时间的闹钟。

Scratch3的特色之一就是文字转语音,今天就来做一个说时间的闹钟。

1.点上面连结,进入Scratch3 在线版(网络版)

https://scratch.mit.edu/

2.点左下角[扩充功能]

 

Scratch会说时间的闹钟

3.[文字转语音]

 

Scratch会说时间的闹钟

4.多了3[文字转语音]积木

 

Scratch会说时间的闹钟

一、时钟

 

Scratch会说时间的闹钟

Scratch会说时间的闹钟

Scratch会说时间的闹钟

https://scratch.mit.edu/projects/300679425/

延伸:

1.星期7转换成星期日

2.用脚色图片来显示时钟,让时钟更像时钟

二、会说时间的时钟

使用scratch3[文字转语音]积木将时钟的数字转换为声音,让时钟念出时间。

 

Scratch会说时间的闹钟

Scratch会说时间的闹钟

Scratch会说时间的闹钟

https://scratch.mit.edu/projects/300679518/

三、会说时间的时钟(按了才说)

增加判断是否按下[空格键],才说时间的判断式。

其他程序同上。

 

Scratch会说时间的闹钟

https://scratch.mit.edu/projects/300679583/

四、会说时间的闹钟

开始先设定闹钟响的时间。

时间到,就说出现在的时间并播音乐。

使用列表来储存设定的时间数据。

 

Scratch会说时间的闹钟

Scratch会说时间的闹钟

https://scratch.mit.edu/projects/300679671/

延伸:

和说话时钟结合,按[空格键]可以说时间

转自公众号:
易心Microbit编程

您必须 登录 才能发表评论!