[Tasker Tips & Tricks] CrashOverride93:
Glad to write you a new thread XDA Tasker's!

This time I bring you some task(s) for speaking clock.

As the original (complete) developed task was "Talking Clock 1", I decided to "break it down" into other tasks for you to choose the one that best suits your likes or needs. And also include the formal and informal ways.

TASKS (x5)

Formal

[COLOR="Blue"]Talking Clock 1 (12h)[/COLOR]
[U]A1[/U]: Variable Set [ Name:%time To:%TIME Do Maths : Off Append : Off ]
[U]A2[/U]: Variable Split [ Name:%time Splitter:. Delete Base : Off ]
[U]A3[/U]: Variable Set [ Name:%time1 To:%time1/1 Do Maths : On Append : Off ]
[U]A4[/U]: Variable Set [ Name:%time2 To:%time2/1 Do Maths : On Append : Off ]
[U]A5[/U]: Variable Set [ Name:%zzz To:in the early morning Do Maths : Off Append : Off ] If [ %time1 < 5 ]
[U]A6[/U]: Variable Set [ Name:%zzz To:in the morning Do Maths : Off Append : Off ] If [ %time1 > 4 & %time1 < 13 ]
[U]A7[/U]: Variable Set [ Name:%zzz To:in the afternoon Do Maths : Off Append : Off ] If [ %time1 > 12 & %time1 < 21 ]
[U]A8[/U]: Variable Set [ Name:%zzz To:at night Do Maths : Off Append : Off ] If [ %time1 > 20 ]
[U]A9[/U]: Variable Set [ Name:%time1 To:%time1-12 Do Maths : On Append : Off ] If [ %time1 > 12 ]
[U]A10[/U]: If [ %time2 = 0 ]
[U]A11[/U]: Say [ Text:It's %time1 sharp %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A12[/U]: Stop [ With Error : Off Task: ]
[U]A13[/U]: End If
[U]A14[/U]: If [ %time2 < 30 ]
[U]A15[/U]: Variable Set [ Name:%time1 To:12 Do Maths : Off Append : Off ] If [ %time1 = 0 ]
[U]A16[/U]: Variable Set [ Name:%time2 To:quarter Do Maths : Off Append : Off ] If [ %time2 = 15 ]
[U]A17[/U]: Say [ Text:It's %time2 past %time1 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A18[/U]: Stop [ With Error : Off Task: ]
[U]A19[/U]: End If
[U]A20[/U]: Say [ Text:It's half past %time1 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ] If [ %time2 = 30 ]
[U]A21[/U]: If [ %time2 > 30 ]
[U]A22[/U]: Variable Set [ Name:%time1 To:%time1+1 Do Maths : On Append :eek:ff ]
[U]A23[/U]: Variable Set [ Name:%time2 To:60-%time2 Do Maths : On Append : Off ] If [ %time2 != 45 ]
[U]A24[/U]: Variable Set [ Name:%time2 To:quarter Do Maths : Off Append : Off ] If [ %time2 = 45 ]
[U]A25[/U]: Say [ Text:It's %time2 to %time1 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A26[/U]: Stop [ With Error: Off Task: ]
[U]A27[/U]: End If

[COLOR="Blue"]Talking Clock 2 (24h)[/COLOR]
[U]A1[/U]: Variable Set [ Name:%time To:%TIME Do Maths : Off Append : Off ]
[U]A2[/U]: Variable Split [ Name:%time Splitter:. Delete Base : Off ]
[U]A3[/U]: Variable Set [ Name:%time1 To:%time1/1 Do Maths : On Append : Off ]
[U]A4[/U]: Variable Set [ Name:%time2 To:%time2/1 Do Maths : On Append : Off ]
[U]A5[/U]: Variable Set [ Name:%zzz To:am Do Maths : Off Append : Off ] If [ %time1 < 12 ]
[U]A6[/U]: Variable Set [ Name:%zzz To:pm Do Maths : Off Append : Off ] If [ %time1 > 11 ]
[U]A7[/U]: Variable Set [ Name:%time1 To:%time1-12 Do Maths : On Append : Off ] If [ %time1 > 12 ]
[U]A8[/U]: If [ %time2 = 0 ]
[U]A9[/U]: Say [ Text:It's %time1 sharp %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A10[/U]: Stop [ With Error : Off Task: ]
[U]A11[/U]: End If
[U]A12[/U]: If [ %time2 < 30 ]
[U]A13[/U]: Variable Set [ Name:%time1 To:12 Do Maths : Off Append : Off ] If [ %time1 = 0 ]
[U]A14[/U]: Variable Set [ Name:%time2 To:quarter Do Maths :eek:ff Append: : Off ] If [ %time2 = 15 ]
[U]A15[/U]: Say [ Text:It's %time2 past %time1 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A16[/U]: Stop [ With Error : Off Task: ]
[U]A17[/U]: End If
[U]A18[/U]: Say [ Text:It's half past %time1 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ] If [ %time2 = 30 ]
[U]A19[/U]: If [ %time2 > 30 ]
[U]A20[/U]: Variable Set [ Name:%time1 To:%time1+1 Do Maths : On Append : Off ]
[U]A21[/U]: Variable Set [ Name:%time2 To:60-%time2 Do Maths : On Append : Off ] If [ %time2 != 45 ]
[U]A22[/U]: Variable Set [ Name:%time2 To:quarter Do Maths : Off Append : Off ] If [ %time2 = 45 ]
[U]A23[/U]: Say [ Text:It's %time2 to %time1 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A24[/U]: Stop [ With Error : Off Task: ]
[U]A25[/U]: End If

[COLOR="Blue"]Talking Clock 3 (24h)[/COLOR]
[U]A1[/U]: Variable Set [ Name:%time To:%TIME Do Maths : Off Append : Off ]
[U]A2[/U]: Variable Split [ Name:%time Splitter:. Delete Base : Off ]
[U]A3[/U]: Variable Set [ Name:%time1 To:%time1/1 Do Maths : On Append : Off ]
[U]A4[/U]: Variable Set [ Name:%time2 To:%time2/1 Do Maths : On Append : Off ]
[U]A5[/U]: If [ %time2 = 0 ]
[U]A6[/U]: Say [ Text:It's %time1 sharp Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A7[/U]: Stop [ With Error : Off Task: ]
[U]A8[/U]: End If
[U]A9[/U]: If [ %time2 < 30 ]
[U]A10[/U]: Variable Set [ Name:%time1 To:12 Do Maths : Off Append : Off ] If [ %time1 = 0 ]
[U]A11[/U]: Variable Set [ Name:%time2 To:quarter Do Maths : Off Append : Off ] If [ %time2 = 15 ]
[U]A12[/U]: Say [ Text:It's %time2 past %time1 Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A13[/U]: Stop [ With Error : Off Task: ]
[U]A14[/U]: End If
[U]A15[/U]: Say [ Text:It's half past %time1 Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ] If [ %time2 = 30 ]
[U]A16[/U]: If [ %time2 > 30 ]
[U]A17[/U]: Variable Set [ Name:%time1 To:%time1+1 Do Maths : On Append : Off ]
[U]A18[/U]: Variable Set [ Name:%time2 To:60-%time2 Do Maths : On Append : Off ] If [ %time2 != 45 ]
[U]A19[/U]: Variable Set [ Name:%time2 To:quarter Do Maths : Off Append : Off ] If [ %time2 = 45 ]
[U]A20[/U]: Say [ Text:It's %time2 to %time1 Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]
[U]A21[/U]: Stop [ With Error : Off Task: ]
[U]A22[/U]: End If

Informal

[COLOR="Blue"]Talking Clock 4 (12h)[/COLOR]
[U]A1[/U]: Variable Set [ Name:%time To:%TIME Do Maths : Off Append : Off ]
[U]A2[/U]: Variable Split [ Name:%time Splitter:. Delete Base : Off ]
[U]A3[/U]: Variable Set [ Name:%time1 To:%time1/1 Do Maths : On Append : Off ]
[U]A4[/U]: Variable Set [ Name:%time2 To:%time2/1 Do Maths : On Append : Off ]
[U]A5[/U]: Variable Set [ Name:%zzz To:in the early morning Do Maths : Off Append : Off ] If [ %time1 < 5 ]
[U]A6[/U]: Variable Set [ Name:%zzz To:in the morning Do Maths : Off Append : Off ] If [ %time1 > 4 & %time1 < 13 ]
[U]A7[/U]: Variable Set [ Name:%zzz To:in the afternoon Do Maths : Off Append : Off ] If [ %time1 > 12 & %time1 < 21 ]
[U]A8[/U]: Variable Set [ Name:%zzz To:at night Do Maths : Off Append : Off ] If [ %time1 > 20 ]
[U]A9[/U]: Variable Set [ Name:%time1 To:%time1-12 Do Maths : On Append : Off ] If [ %time1 > 12 ]
[U]A10[/U]: Say [ Text:It's %time1 o'clock %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ] If [ %time2 = 0 ]
[U]A11[/U]: Say [ Text:It's %time1:%time2 %zzz Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]

[COLOR="Blue"]Talking Clock 5 (24h)[/COLOR]
[U]A1[/U]: Variable Set [ Name:%time To:%TIME Do Maths: Off Append : Off ]
[U]A2[/U]: Variable Split [ Name:%time Splitter:. Delete Base : Off ]
[U]A3[/U]: Variable Set [ Name:%time1 To:%time1/1 Do Maths : On Append : Off ]
[U]A4[/U]: Variable Set [ Name:%time2 To:%time2/1 Do Maths : On Append : Off ]
[U]A5[/U]: Say [ Text:It's %time1 o'clock Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ] If [ %time2 = 0 ]
[U]A6[/U]: Say [ Text:It's %time1:%time2 Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus : On Network : Off Continue Task Immediately : Off ]

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _​

ABOUT THE TASK

Â· There are available two ways by you can import the task(s). One is by just importing it using the file on "projects" folder, it will import the whole task(s) at once; the other, by importing it "part-by-part". The 'Files' folder (if included) have to be ALWAYS copied to Tasker directory.

Â· I recommend to everyone to install a diferent TTS engine than the original build-in one like: IVONA TTS, Vocalizer. . .

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _​

My Tasker PROJECTS & TASKS

--> [PROJECT] Android TTS Assistant (interactive & multilingual)

--> [PROJECT] Anti-Theft System

--> [PROJECT] Automate all your backup tasks

--> [PROJECT] Call Recorder

--> [PROJECT] High temperature warning device

--> [TASK] Auto-Switch Keyboard(s)

Tasker Chat Groups

--> Tasker on WhatsApp

--> Tasker on Telegram

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

If you liked the task. . .

. . . and you decide to invite me to a coffee, I would be very greatful to you ;P

Account

: ceedcv@outlook.com