hey,
I see that the voice recordings are all in tmp and I need them in wav, anyone knows how to convert them?
I tried to convert it using python and some app, but it just turns the audio-file into static noise...
thanks.
edit: managed to convert it using the following code:
```
from pydub import AudioSegment
import glob
import os
folder=r'/content/sample'
if not os.path.exists('wav_files'):
os.makedirs('wav_files')
# Loop through the audio files
for file in os.listdir(folder):
try:
# Read the audio file
audio = AudioSegment.from_file(folder + '/' + file)
# Save the audio file as a WAV file in the 'wav_files' folder
wav_file = file[:-3] + 'wav' # Replace the '.tmp' extension with '.wav'
audio.export('wav_files/' + wav_file, format='wav')
except Exception as e:
print(f'Error converting {file}: {e}')
```