Scratch会说时间的闹钟

使用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/

延伸:

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

发布了352 篇原创文章 · 获赞 275 · 访问量 62万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章