Created
March 9, 2018 14:44
-
-
Save champierre/5c0b97544c20f473e259d4c9959bb9a9 to your computer and use it in GitHub Desktop.
合気道の審査技イメージトレーニングアプリ(Pythonista 3用)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import speech | |
import time | |
import random | |
def finish_speaking(): | |
# Block until speech synthesis has finished | |
while speech.is_speaking(): | |
time.sleep(0.1) | |
wazas = [ | |
"座ぎ、正面打ち第一教", | |
"座ぎ、正面打ち第二教", | |
"座ぎ、正面打ち第三教", | |
"座ぎ、正面打ち第四教", | |
"座ぎ、肩取り第二教", | |
"座ぎ、正面打ち第三教", | |
"たちわざ、正面打ち第四教", | |
"たちわざ、正面打ち入り身投げ", | |
"たちわざ、正面打ち小手返し", | |
"たちわざ、正面打ち外回転投げ", | |
"座ぎ、正面打ち入り身投げ", | |
"はんみはんだち、片手取り、四方投げ", | |
"たちわざ、片手取り、入り身投げ", | |
"たちわざ、片手取り、第二教", | |
"たちわざ、片手取り、うち回転投げ", | |
"たちわざ、片手取り、外回転投げ", | |
"たちわざ、突き小手返し", | |
"たちわざ、突き入り身投げ、三種", | |
"はんみはんだち、両手取り四方投げ", | |
"立ちわざ、両手取り天地投げ", | |
"横面打ち、四方投げ", | |
"横面打ち、三教", | |
"横面打ち、入り身投げ、三種", | |
"横面打ち、小手返し", | |
"横面打ち、五教", | |
"肩取り面打ち、二教", | |
"肩取り面打ち、四方投げ", | |
"もろ手取り、呼吸法", | |
"もろ手取り、二教", | |
"もろ手取り、三教", | |
"もろ手取り、入り身投げ、三種", | |
"うしろ両手取り、三教", | |
"うしろ両手取り、小手返し", | |
"うしろ両手取り、四方投げ", | |
"うしろ両手取り、外回転投げ" | |
] | |
random.shuffle(wazas) | |
for waza in wazas: | |
speech.say(waza, 'ja_JP') | |
finish_speaking() | |
time.sleep(15) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment