Page 1125 - 3-2
P. 1125
# 소리 낯추기
def down_vol():
global musicVol
if(musicVol>0):
musicVol-=1
else:
pass
player.set_volume(float(musicVol/10.0))
#pygame.mixer.music.set_volume(float(musicVol/10.0))
# 소리 높이기
def up_vol():
global musicVol
if(musicVol<10):
musicVol+=1
else:
pass
player.set_volume(float(musicVol/10.0))
#pygame.mixer.music.set_volume(float(musicVol/10.0))
# 특정 노래를 번호로 부르기
def number_play(receive_word):
global musicNum
global player
global swipe_play
swipe_play=1
try:
#100 의자리 스캔
#if re.search(u' 백', transcribe_streaming_module.word, re.I):
# if re.search(u' 백', transcribe_streaming_module.word, re.I):
# number+=100
# elif re.search(u' 이백', transcribe_streaming_module.word, re.I):
# number+=200
# elif re.search(u' 삼백', transcribe_streaming_module.word, re.I):
# number+=300
# elif re.search(u' 사백', transcribe_streaming_module.word, re.I):
# number+=400
# elif re.search(u' 오백', transcribe_streaming_module.word, re.I):
# elif re.search(u' 육백', transcribe_streaming_module.word, re.I):
# number+=600
# elif re.search(u' 칠백', transcribe_streaming_module.word, re.I):
# number+=700
# elif re.search(u' 팔백', transcribe_streaming_module.word, re.I):
# number+=800
- 1125 -