Page 1113 - 3-2
P. 1113
try:
screen.blit(face2, (0,0))
play()
except AttributeError:
screen.blit(face3, (0,0))
elif action == "stop":
try:
screen.blit(face1, (0,0))
stop()
except AttributeError:
screen.blit(face3, (0,0))
elif action == "pause":
try:
pause()
except AttributeError:
screen.blit(face3, (0,0))
elif action == "voice":
screen.blit(face5, (0,0))
pygame.display.flip()
TTS_Play(' 음성인식을 시작합니다.')
voice_insert()
elif action == "close":
pygame.quit()
sys.exit()
soc.join()
elif action == "up":
try:
screen.blit(face2, (0,0))
up_vol()
except AttributeError:
screen.blit(face3, (0,0))
elif action == "down":
try:
screen.blit(face2, (0,0))
down_vol()
except AttributeError:
screen.blit(face3, (0,0))
elif action == "next":
try:
- 1113 -