Skip to content

Commit

Permalink
Testing in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
Kumar-laxmi committed Feb 19, 2024
1 parent b440740 commit 0f94d35
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified app/__pycache__/views.cpython-311.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def start_bowel_thread(sound_name):
current_bowel_valve_sound = sound_name
audio_path = df_bowel.loc[(df_bowel['sound_name'] == sound_name), 'audio_file_path'].values[0]
bowelbeat = AudioSegment.from_file(audio_path, format="wav")
speed_multiplier = rr_show / 60.0 # Assuming 60 BPM as the baseline
speed_multiplier = 60 / 60.0 # Assuming 60 BPM as the baseline
adjusted_bowelbeat = bowelbeat.speedup(playback_speed=speed_multiplier)
exported_data = adjusted_bowelbeat.export(format="wav").read()
data, fs = sf.read(io.BytesIO(exported_data))
Expand Down

0 comments on commit 0f94d35

Please sign in to comment.