If you want to work with audio files in Python, here are some helpful libraries.

#Pydub allows you to play, slice, concatenate and edit audio files effortlessly.

#SoundDevice allows you to play and record audio files.

#SoundFile allows you to read and write audio files in various formats.

#Librosa allpwsbyou to #analysis music and audio files.

#TorchAudio allows you to #process audio #signals with #PyTorch

Tengo un repo con #conda y ya dejo de funcionar para colmo lo uso un montón #torchaudio no anda :(

#python

Наконец я победил torchaudio!

Пришлось поправить 2 файла в torch (AccumulateType.h, ScalarType.h) - добавить в макросы генерацию шаблонов для типа long double. И в libtorch_cpu.so появились необходимые сигнатуры для torchaudio.

Теперь импорт модуля torchaudio в питоне проходит успешно и я могу сохранять в аудиофайл произнесённый текст.

В целом, мне понадобилось около недели, чтоб собрать из исходников работающую версию
pytorch для своей 32-битной opensuse.

#torch #pytorch #torchaudio #opensuse #32bit