removing audio

This commit is contained in:
parth aranke 2024-06-01 11:11:58 +05:30
parent 41ec940ac8
commit 99da3441cf

View File

@ -4,9 +4,6 @@ from scipy.io.wavfile import write
import time
# Ensure the audio is stereo
if audio.channels != 2:
raise ValueError("The audio file must be stereo.")
# Function to convert audio samples from int16 to float32
def int16_to_float32(samples):