GithubHelp home page GithubHelp logo

audio_divider's Introduction

Audio File Divider

Python

A Python script that allows you to divide an audio file into 10-minute pieces.

Prerequisites

  • Python 3.6 or above
  • pydub library

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/audio-file-divider.git
  2. Install the required dependencies:

    pip install pydub

Usage

Run the script from the command line with the audio file path as an argument:

python audio_divider.py path/to/audio/file.mp3

The audio file will be divided into 10-minute pieces, and the resulting pieces will be saved in the same directory as the script.

Example

Let's say you have an audio file named audio.mp3 located in the audio_files directory. You can run the script as follows:

python audio_divider.py audio_files/audio.mp3

The script will divide the audio.mp3 file into 10-minute pieces and save them as audio_0_600000.mp3, audio_600000_1200000.mp3, and so on, representing the start and end times of each segment in milliseconds.

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please create a new issue or submit a pull request.

License

This project is licensed under the MIT License.

audio_divider's People

Contributors

boby7777 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.