Questions tagged [pydub]

Pydub is a Python library for audio manipulation.

Pydub is a Python library for manipulating audio.

Quick links:

427 questions
-1
votes
1 answer

How to merge multiple mp3 files with silence on between?

When I try to merge multiple .mp3 files from a folder using pydub and glob to iterate over the files I get the following error. from pydub import AudioSegment from os import getcwd import glob cwd = (getcwd()).replace(chr(92), '/') export_path =…
Y4RD13
  • 937
  • 1
  • 16
  • 42
-1
votes
2 answers

How to convert asf file to wav or mp3 in python?

I have an asf file and i want to edit this file using pydub library but its not support asf file Is it possible to convert asf file to wav or mp3 in python? What library that i need to use?
-1
votes
1 answer

Convert an audio file from mp3 to flac by Flask, and save at Google Cloud Storage

I'm trying to create a Flask app that transcribes mp3 files using GCP's speech-to-text and saves the results to Cloud Storage (GCS). (Upload the mp3 file from Vue.js to Flask) In the process, I want to convert the mp3 file selected by the user to a…
-2
votes
1 answer

How to find where the silence begins from an audio starting from certain timestamp?

I'm trying to index an audio file at a certain non-silent timestamp, say 20 seconds from the beginning (0:20:00), and find the closest timestamp from there that silence begins, say 21 seconds from the beginning (0:21:00). I'm aware that pydub has…
ytrewq
  • 3,670
  • 9
  • 42
  • 71
-2
votes
1 answer

How to record voice on amazon-ec2?

I have set up a flask application that records voice using python(sounddevice and pydub) libraries and converts it into text. Application is running well on localhost but when I deployed the application on Amazon-ec2 instance it records blank file…
-3
votes
1 answer

is there any solution of the below problem

This is code and I'm getting the following issue filename is "ply_audio.py" from pydub import AudioSegment ># read/write data > data = AudioSegment.from_file(file="one.wav",format="wav") >data.export("new_test.wav") > python…
Sonu
  • 1
  • 1
-3
votes
1 answer

How to use pydub?

I just started using pydub. I am confused that should we download the music to find the path or we need to do something else? Because the example below seems like it already have the file in his terminal or IDE. But I don't see how can I import a…
Molly
  • 25
  • 7
1 2 3
28
29