Initial commit

This commit is contained in:
Kasiaaaaaa committed 2026-09-22 11:52:03 +02:00
commit d89b82be4a
103 files changed
+23110

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import soundfile as sf
from playsound import playsound
import numpy as np
import sys
from threading import Thread
z, fs = sf.read('./calibration_emotion_cut.wav')
# options.attenuation_dB = 36;
z = z * np.power(10.0, (-21.0 / 20))
sf.write("calibration_e.wav", z, fs)
try:
Thread(target=playsound, args=("calibration_e.wav", )).start()
except KeyboardInterrupt:
sys.exit()