노현욱

debug : some little var names

......@@ -173,7 +173,12 @@ class Effector:
db, main_frequency, amplitude = self.get_decibel_freq_amplitude(active_sound)
print("touched, db {}, main_frequency {}, amplitude {}".format(db, main_frequency, amplitude))
param = self.get_distortion_rate(db, main_frequency, amplitude)
print("effect 정도 :", param)
if(self.effect == "echo"):
print("echo 정도 :", param)
if(self.effect == "pitch_shift"):
print("pitch_shift 정도 :", param*3-1,"옥타브 이동")
if(self.effect == "low_filter"):
print("low_filter 정도 :", param*RATE/8,"Hz 이하만 통과")
for i in range(0, len(self.sound), CHUNK):
temp_chunk = self.augumented_sound[self.effect][int(param*EFFECT_LEVEL)][i:i+CHUNK]
Q.put(temp_chunk)
......